Modules§
Structs§
Traits§
- LinearOp is a trait for linear operators (i.e. they only depend linearly on the input
x
), see NonLinearOp for a non-linear op. An example of a linear operator is a matrix-vector producty = A(t) * x
, whereA(t)
is a matrix. It extends the Op trait with methods for calling the operator via a GEMV-like operation (i.e.y = t * A * x + beta * y
), and for computing the matrix representation of the operator. - Op is a trait for operators that, given a paramter vector
p
, operates on an input vectorx
to produce an output vectory
. It defines the number of states (i.e. length ofx
), the number of outputs (i.e. length ofy
), and number of parameters (i.e. length ofp
) of the operator. It also defines the type of the scalar, vector, and matrices used in the operator.