TMB Documentation
v1.9.11
|
Matrix exponential multiplied by vector. More...
#include <sparse_matrix_exponential.hpp>
Public Member Functions | |
vec | operator() (vec x) |
Evaluate x^T*exp(A) | |
void | update (Eigen::SparseMatrix< T > &A) |
Public Attributes | |
vec | A_values |
config< T > | cfg |
TMBad::ADFun_packed | F |
TMBad::global::Complete< SpAxOp< T > > | multiply |
T | N |
Friends | |
class | TMBad::PackWrap< expm_series > |
Matrix exponential multiplied by vector.
This shared atomic operator can be used in cases where x^T*exp(A)
needs to be calculated many times for same sparsity pattern. The number of terms (N) in series can be variable and retaping is triggered if (and only if) N changes compared to previous evaluation.
x^T * exp(A)
Definition at line 135 of file sparse_matrix_exponential.hpp.
|
inline |
Helper to update generator
Definition at line 148 of file sparse_matrix_exponential.hpp.
vec sparse_matrix_exponential::expm_series< T >::A_values |
Vector of sparse matrix non zeros
Definition at line 140 of file sparse_matrix_exponential.hpp.
config<T> sparse_matrix_exponential::expm_series< T >::cfg |
Configuration
Definition at line 146 of file sparse_matrix_exponential.hpp.
Referenced by sparse_matrix_exponential::expm_generator< T >::operator()().
TMBad::ADFun_packed sparse_matrix_exponential::expm_series< T >::F |
ADFun object that holds the entire matexp tape
Definition at line 144 of file sparse_matrix_exponential.hpp.
TMBad::global::Complete<SpAxOp<T> > sparse_matrix_exponential::expm_series< T >::multiply |
Operator that multiplies sparse matrix with vector
Definition at line 142 of file sparse_matrix_exponential.hpp.
T sparse_matrix_exponential::expm_series< T >::N |
Number of terms
Definition at line 138 of file sparse_matrix_exponential.hpp.