You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/func.jl
-4Lines changed: 0 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -86,7 +86,6 @@ function FunctionOperator(op,
86
86
FunctionOperator(op, input, output; kwargs...)
87
87
end
88
88
89
-
#TODO: document constructor and revisit design as needed (e.g. for "accepted_kwargs")
90
89
"""
91
90
$(SIGNATURES)
92
91
@@ -127,7 +126,6 @@ uniform across `op`, `op_adjoint`, `op_inverse`, `op_adjoint_inverse`.
127
126
* `p` - Prototype of parameter struct passed to the operator during evaluation, i.e. `L(u, p, t)`. `p` is set to `nothing` if no value is provided.
128
127
* `t` - Protype of scalar time variable passed to the operator during evaluation. `t` is set to `zero(T)` if no value is provided.
129
128
* `accepted_kwargs` - `Tuple` of `Symbol`s corresponding to the keyword arguments accepted by `op*`, and `update_coefficients[!]`. For example, if `op` accepts kwarg `scale`, as in `op(u, p, t; scale)`, then `accepted_kwargs = (:scale,)`.
130
-
131
129
* `T` - `eltype` of the operator. If no value is provided, the constructor inferrs the value from types of `input`, and `output`
132
130
* `isinplace` - `true` if the operator can be used is a mutating way with in-place allocations. This trait is inferred if no value is provided.
133
131
* `outofplace` - `true` if the operator can be used is a non-mutating way with in-place allocations. This trait is inferred if no value is provided.
0 commit comments