Class SUNLinSolBand

Inheritance Relationships

Base Type

Class Documentation

class 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

virtual SUNMatrix getMatrix() const override

Get the matrix A (matrix solvers only).

Returns:

A