Skip to content

Commit d4f3eb6

Browse files
committed
Add reverse functionality
1 parent 20a14b3 commit d4f3eb6

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

src/DataDrivenDiffEq.jl

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ export DMDc, gDMDc
5353
include("./koopman/extended_dmd.jl")
5454
export EDMD, gEDMD
5555

56-
5756
include("./sindy/results.jl")
5857
export SparseIdentificationResult
5958
export print_equations
@@ -63,6 +62,18 @@ include("./sindy/sindy.jl")
6362
export SINDy
6463
export sparse_regression, sparse_regression!
6564

65+
function SInDy(Y, X, basis; opt = STRRidge(), kwargs...)
66+
@warn("SInDy has been deprecated. Use SINDy to recover the same functionality.")
67+
SINDy(Y, X, basis, opt; kwargs...)
68+
end
69+
70+
function ISInDy(Y, X, basis; opt = ADM(), kwargs...)
71+
@warn("ISInDy has been deprecated. Use ISINDy to recover the same functionality.")
72+
ISINDy(Y, X, basis, opt; kwargs...)
73+
end
74+
75+
export SInDy, ISInDy
76+
6677
include("./sindy/isindy.jl")
6778
export ISINDy
6879

0 commit comments

Comments
 (0)