Skip to content

Add MIT License - #5

Merged
ViralBShah merged 1 commit into
masterfrom
add-license-1
Oct 13, 2020
Merged

ViralBShah merged 1 commit into
masterfrom
add-license-1

Conversation

@ChrisRackauckas

Copy link
Copy Markdown
Member

No description provided.

@ViralBShah
ViralBShah merged commit cd00b8e into master Oct 13, 2020
@delete-merged-branch
delete-merged-branch Bot deleted the add-license-1 branch October 13, 2020 17:34
avik-pal pushed a commit that referenced this pull request Nov 1, 2024
Dramatically reduce dependencies
topolarity added a commit to topolarity/NonlinearSolve.jl that referenced this pull request Aug 22, 2025
Compare `axpy!` in:
```julia
julia> descend(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```

versus:
```julia
julia> code_typed(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```
topolarity added a commit to topolarity/NonlinearSolve.jl that referenced this pull request Aug 22, 2025
Compare `axpy!` in:
```julia
julia> descend(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```

versus:
```julia
julia> code_typed(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```
topolarity added a commit to topolarity/NonlinearSolve.jl that referenced this pull request Aug 22, 2025
Compare `axpy!` in:
```julia
julia> descend(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```

versus:
```julia
julia> code_typed(NonlinearSolveFirstOrder.var"#step!SciML#5", (Nothing, typeof(NonlinearSolveBase.InternalAPI.step!), NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithmCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, Vector{Float64}, Matrix{Float64}, NonlinearSolveFirstOrder.GeneralizedFirstOrderAlgorithm{Missing, Missing, NonlinearSolveBase.NewtonDescent{Nothing}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, Val{false}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}, Val{:None}, NonlinearSolveBase.JacobianCache{Matrix{Float64}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, Vector{Float64}, Vector{Float64}, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, ADTypes.AutoFiniteDiff{Val{:forward}, Val{:forward}, Val{:hcentral}, Nothing, Nothing, Bool}, DifferentiationInterfaceFiniteDiffExt.FiniteDiffTwoArgJacobianPrep{Nothing, FiniteDiff.JacobianCache{Vector{Float64}, Vector{Float64}, Vector{Float64}, Vector{Float64}, UnitRange{Int64}, Nothing, Val{:forward}(), Float64}, Float64, Float64, Bool}}, NonlinearSolveBase.NewtonDescentCache{Vector{Float64}, Nothing, NonlinearSolveBase.LinearSolveJLCache{LinearSolve.LinearCache{Matrix{Float64}, Vector{Float64}, Vector{Float64}, SciMLBase.NullParameters, LinearSolve.DefaultLinearSolver, LinearSolve.DefaultLinearSolverInit{LU{Float64, Matrix{Float64}, Vector{Int64}}, LinearAlgebra.QRCompactWY{Float64, Matrix{Float64}, Matrix{Float64}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Vector{Int64}}, Nothing, Nothing, Nothing, SVD{Float64, Float64, Matrix{Float64}, Vector{Float64}}, Cholesky{Float64, Matrix{Float64}}, Cholesky{Float64, Matrix{Float64}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int32}}, Base.RefValue{Int32}}, Tuple{LU{Float64, Matrix{Float64}, Vector{Int64}}, Base.RefValue{Int64}}, QRPivoted{Float64, Matrix{Float64}, Vector{Float64}, Vector{Int64}}, Nothing, Nothing, Nothing, Nothing, Nothing}, SciMLOperators.IdentityOperator, SciMLOperators.IdentityOperator, Float64, Bool, LinearSolve.LinearSolveAdjoint{Missing}}, Nothing}, Nothing, Nothing, Nothing, Val{false}, Val{false}}, Nothing, Nothing, Nothing, Nothing, NonlinearSolveBase.NonlinearTerminationModeCache{Vector{Float64}, Float64, NonlinearSolveBase.AbsNormSafeBestTerminationMode{typeof(NonlinearSolveBase.Linf_NORM), Nothing, Int64, Float64, Int64}, Float64, Vector{Float64}, Nothing, Nothing, Vector{Float64}, Int64}, NonlinearSolveBase.NonlinearSolveTrace{Val{false}, Val{false}, Nothing, NonlinearSolveBase.NonlinearSolveTracing{Val{:minimal}}, SciMLBase.NonlinearProblem{Vector{Float64}, true, Tuple{Vector{Float64}, Vector{Float64}, Float64, Float64, Float64, Vector{Float64}, Float64, OrdinaryDiffEqCore.MethodType, SciMLBase.NullParameters, Float64, SciMLBase.ODEFunction{true, SciMLBase.FullSpecialize, typeof(Main.MyModule.TestModuleTrimmable.lorenz), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED), Nothing, Nothing, Nothing, Nothing}}, SciMLBase.NonlinearFunction{true, SciMLBase.FullSpecialize, typeof(OrdinaryDiffEqNonlinearSolve.odenlf), UniformScaling{Bool}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, typeof(SciMLBase.DEFAULT_OBSERVED_NO_TIME), Nothing, Nothing, Nothing, Nothing}, @kwargs{}, SciMLBase.StandardNonlinearProblem}}, @kwargs{}, NonlinearSolveBase.NonlinearSolveDefaultInit}))
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants