11"""
2+ ```julia
23calculate_tgrad(sys::AbstractSystem)
4+ ```
35
46Calculate the time gradient of a system.
57
@@ -9,7 +11,9 @@ call will be cached in the system object.
911function calculate_tgrad end
1012
1113"""
14+ ```julia
1215calculate_gradient(sys::AbstractSystem)
16+ ```
1317
1418Calculate the gradient of a scalar system.
1519
@@ -19,7 +23,9 @@ call will be cached in the system object.
1923function calculate_gradient end
2024
2125"""
26+ ```julia
2227calculate_jacobian(sys::AbstractSystem)
28+ ```
2329
2430Calculate the jacobian matrix of a system.
2531
@@ -29,7 +35,9 @@ call will be cached in the system object.
2935function calculate_jacobian end
3036
3137"""
38+ ```julia
3239calculate_factorized_W(sys::AbstractSystem)
40+ ```
3341
3442Calculate the factorized W-matrix of a system.
3543
@@ -39,7 +47,9 @@ call will be cached in the system object.
3947function calculate_factorized_W end
4048
4149"""
50+ ```julia
4251calculate_hessian(sys::AbstractSystem)
52+ ```
4353
4454Calculate the hessian matrix of a scalar system.
4555
@@ -49,47 +59,59 @@ call will be cached in the system object.
4959function calculate_hessian end
5060
5161"""
62+ ```julia
5263generate_tgrad(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; kwargs...)
64+ ```
5365
5466Generates a function for the time gradient of a system. Extra arguments control
5567the arguments to the internal [`build_function`](@ref) call.
5668"""
5769function generate_tgrad end
5870
5971"""
72+ ```julia
6073generate_gradient(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; kwargs...)
74+ ```
6175
6276Generates a function for the gradient of a system. Extra arguments control
6377the arguments to the internal [`build_function`](@ref) call.
6478"""
6579function generate_gradient end
6680
6781"""
82+ ```julia
6883generate_jacobian(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; sparse = false, kwargs...)
84+ ```
6985
7086Generates a function for the jacobian matrix matrix of a system. Extra arguments control
7187the arguments to the internal [`build_function`](@ref) call.
7288"""
7389function generate_jacobian end
7490
7591"""
92+ ```julia
7693generate_factorized_W(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; sparse = false, kwargs...)
94+ ```
7795
7896Generates a function for the factorized W-matrix matrix of a system. Extra arguments control
7997the arguments to the internal [`build_function`](@ref) call.
8098"""
8199function generate_factorized_W end
82100
83101"""
102+ ```julia
84103generate_hessian(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; sparse = false, kwargs...)
104+ ```
85105
86106Generates a function for the hessian matrix matrix of a system. Extra arguments control
87107the arguments to the internal [`build_function`](@ref) call.
88108"""
89109function generate_hessian end
90110
91111"""
112+ ```julia
92113generate_function(sys::AbstractSystem, dvs = states(sys), ps = parameters(sys), expression = Val{true}; kwargs...)
114+ ```
93115
94116Generate a function to evaluate the system's equations.
95117"""
0 commit comments