#include <SundialsAlgebra.h>
Definition at line 19 of file SundialsAlgebra.h.
Public Member Functions | |
SundialsAlgebra () | |
~SundialsAlgebra () | |
Static Public Member Functions | |
static bool | IsSundialsVector (std::type_info const &obj) |
Is a boost::any an N_Vector type? More... | |
static unsigned int | Size (boost::any const &vec) |
The size of an N_Vector. More... | |
static boost::any | AccessElement (N_Vector const &obj, unsigned int const i) |
Access an element of a Sundials vector. More... | |
SundialsAlgebra::SundialsAlgebra | ( | ) |
Definition at line 5 of file SundialsAlgebra.cpp.
SundialsAlgebra::~SundialsAlgebra | ( | ) |
Definition at line 7 of file SundialsAlgebra.cpp.
|
static |
Access an element of a Sundials vector.
[in] | vec | The vector whose data we want to access |
[in] | i | We want to access the \(i^{th}\) element of the vector |
Definition at line 24 of file SundialsAlgebra.cpp.
Referenced by muq::Modeling::AnyAlgebra::AccessElement().
|
static |
Is a boost::any an N_Vector type?
[in] | obj_type | We want to know if this object type is a N_Vector type |
Definition at line 10 of file SundialsAlgebra.cpp.
Referenced by muq::Modeling::AnyAlgebra::AccessElement(), and muq::Modeling::AnyAlgebra::Size().
|
static |
The size of an N_Vector.
[in] | vec | We will get the size of this vector |
Definition at line 16 of file SundialsAlgebra.cpp.
Referenced by muq::Modeling::AnyAlgebra::Size().