Cached sparse Jacobian evaluator with fixed structural ordering.
More...
#include <Sparsity.hpp>
Cached sparse Jacobian evaluator with fixed structural ordering.
Values are returned in the CCS ordering from sparsity().get_triplet().
- See also
- sparse_jacobian, SparsityPattern
◆ SparseJacobianEvaluator() [1/3]
| janus::SparseJacobianEvaluator::SparseJacobianEvaluator |
( |
const SymbolicArg & | expression, |
|
|
const SymbolicArg & | variables, |
|
|
const std::string & | name = "" ) |
|
inline |
◆ SparseJacobianEvaluator() [2/3]
| janus::SparseJacobianEvaluator::SparseJacobianEvaluator |
( |
const std::vector< SymbolicArg > & | expressions, |
|
|
const std::vector< SymbolicArg > & | variables, |
|
|
const std::string & | name = "" ) |
|
inline |
Construct from multiple symbolic expressions and variables.
- Parameters
-
| expressions | Output expressions |
| variables | Input variables |
| name | Optional function name |
◆ SparseJacobianEvaluator() [3/3]
| janus::SparseJacobianEvaluator::SparseJacobianEvaluator |
( |
const Function & | fn, |
|
|
int | output_idx = 0, |
|
|
int | input_idx = 0, |
|
|
const std::string & | name = "" ) |
|
inline |
Construct from a janus::Function.
- Parameters
-
| fn | Function to differentiate |
| output_idx | Output index |
| input_idx | Input index |
| name | Optional function name |
◆ forward_coloring()
| const GraphColoring & janus::SparseJacobianEvaluator::forward_coloring |
( |
| ) |
const |
|
inline |
◆ nnz()
| int janus::SparseJacobianEvaluator::nnz |
( |
| ) |
const |
|
inline |
◆ operator()()
template<typename... Args>
| auto janus::SparseJacobianEvaluator::operator() |
( |
Args &&... | args | ) |
const |
|
inline |
◆ preferred_coloring()
| const GraphColoring & janus::SparseJacobianEvaluator::preferred_coloring |
( |
| ) |
const |
|
inline |
◆ preferred_mode()
◆ reverse_coloring()
| const GraphColoring & janus::SparseJacobianEvaluator::reverse_coloring |
( |
| ) |
const |
|
inline |
◆ sparsity()
◆ values()
template<typename... Args>
| auto janus::SparseJacobianEvaluator::values |
( |
Args &&... | args | ) |
const |
|
inline |
◆ values_function()
| const Function & janus::SparseJacobianEvaluator::values_function |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: