Wrapper class for Sundials SUNDenseMatrix
objects.
More...
#include <sundialsUtils.h>
|
| sdMatrix (unsigned int n, unsigned int m, SundialsContext &context) |
| Create a new matrix with n rows and m columns.
|
|
| sdMatrix (SUNMatrix other) |
| Create a wrapper for an existing DensMat object.
|
|
| sdMatrix () |
|
| ~sdMatrix () |
|
template<class T > |
realtype & | operator() (T i, T j) |
|
template<class T > |
realtype & | operator() (T i, T j) const |
|
realtype * | forSundials () |
| Return a pointer to the underlying data, needed by Sundials functions.
|
|
Wrapper class for Sundials SUNDenseMatrix
objects.
◆ sdMatrix() [1/3]
sdMatrix::sdMatrix |
( |
unsigned int |
n, |
|
|
unsigned int |
m, |
|
|
SundialsContext & |
context |
|
) |
| |
Create a new matrix with n
rows and m
columns.
◆ sdMatrix() [2/3]
sdMatrix::sdMatrix |
( |
SUNMatrix |
other | ) |
|
Create a wrapper for an existing DensMat
object.
◆ sdMatrix() [3/3]
◆ ~sdMatrix()
◆ operator()() [1/2]
template<class T >
realtype & sdMatrix::operator() |
( |
T |
i, |
|
|
T |
j |
|
) |
| |
|
inline |
◆ operator()() [2/2]
template<class T >
realtype & sdMatrix::operator() |
( |
T |
i, |
|
|
T |
j |
|
) |
| const |
|
inline |
◆ forSundials()
realtype * sdMatrix::forSundials |
( |
| ) |
|
|
inline |
Return a pointer to the underlying data, needed by Sundials functions.
◆ alloc
The documentation for this class was generated from the following files: