Skip to content

Commit b177aec

Browse files
committed
rm todos
1 parent 4786cab commit b177aec

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/func.jl

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,6 @@ function FunctionOperator(op,
8686
FunctionOperator(op, input, output; kwargs...)
8787
end
8888

89-
# TODO: document constructor and revisit design as needed (e.g. for "accepted_kwargs")
9089
"""
9190
$(SIGNATURES)
9291
@@ -127,7 +126,6 @@ uniform across `op`, `op_adjoint`, `op_inverse`, `op_adjoint_inverse`.
127126
* `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.
128127
* `t` - Protype of scalar time variable passed to the operator during evaluation. `t` is set to `zero(T)` if no value is provided.
129128
* `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-
131129
* `T` - `eltype` of the operator. If no value is provided, the constructor inferrs the value from types of `input`, and `output`
132130
* `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.
133131
* `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.
@@ -440,8 +438,6 @@ has_mul!(::FunctionOperator{iip}) where{iip} = iip
440438
has_ldiv(L::FunctionOperator{iip}) where{iip} = !(L.op_inverse isa Nothing)
441439
has_ldiv!(L::FunctionOperator{iip}) where{iip} = iip & !(L.op_inverse isa Nothing)
442440

443-
# TODO - FunctionOperator, Base.conj, transpose
444-
445441
# operator application
446442
function Base.:*(L::FunctionOperator{iip,true}, u::AbstractVecOrMat) where{iip}
447443
L.op(u, L.p, L.t; L.traits.kwargs...)

0 commit comments

Comments
 (0)