Class SUNLinSolBand

Inheritance Relationships

Base Type

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 A

  • lbw: lower bandwidth of band matrix A

SUNMatrix getMatrix() const override

Get the matrix A (matrix solvers only).

Return

A