Class SUNLinSolBand¶
Defined in File sundials_linsol_wrapper.h
Inheritance Relationships¶
Base Type¶
public amici::SUNLinSolWrapper(Class SUNLinSolWrapper)
Class Documentation¶
-
class
amici::SUNLinSolBand: public amici::SUNLinSolWrapper¶ SUNDIALS band direct solver.
Public Functions
-
SUNLinSolBand(N_Vector x, SUNMatrix A)¶ Create solver using existing matrix A without taking ownership of A.
- Parameters
x: A template for cloning vectors needed within the solver.A: square matrix
-
SUNLinSolBand(AmiVector const &x, int ubw, int lbw)¶ Create new band solver and matrix A.
- Parameters
x: A template for cloning vectors needed within the solver.ubw: upper bandwidth of band matrix Albw: lower bandwidth of band matrix A
-
SUNMatrix
getMatrix() const override¶ Get the matrix A (matrix solvers only).
- Return
A
-