NDEVR
API Documentation
Solver

Generic interface for a sparse solver operating on a graph which solves one iteration of the linearized objective function. More...

Inheritance diagram for Solver:
[legend]
Collaboration diagram for Solver:
[legend]

Public Member Functions

 Solver ()
 Default constructor.
 ~Solver ()
 Destructor.
g_type * b ()
 return b, the right hand side of the system
uint04 vectorSize () const
 return the size of the solution vector (x) and b
g_type * x ()
 return x, the solution vector

Protected Member Functions

void resizeVector (uint04 sx)
 Resizes the solution and right-hand side vectors.

Protected Attributes

Buffer< g_type > _b
 The right-hand side vector.
Buffer< g_type > _x
 The solution vector.

Detailed Description

Generic interface for a sparse solver operating on a graph which solves one iteration of the linearized objective function.

Base solver class holding solution vector x and right-hand side b.

Definition at line 15 of file solver.h.

Member Function Documentation

◆ resizeVector()

void Solver::resizeVector ( uint04 sx)
inlineprotected

Resizes the solution and right-hand side vectors.

Parameters
[in]sxThe new vector size.

Definition at line 45 of file solver.h.

References _b, and _x.

Referenced by BlockSolver< Traits >::resize(), and BlockSolver< Traits >::updateStructure().


The documentation for this class was generated from the following file: