![]() |
Project
|
#include <SymMatrixSolver.h>
Public Member Functions | |
SymMatrixSolver (int32_t N, int32_t M) | |
double & | A (int32_t i, int32_t j) |
access to A elements | |
double & | B (int32_t i, int32_t j) |
access to B elements | |
void | solve () |
void | print () |
Static Public Member Functions | |
static int32_t | test (bool prn=0) |
Test the class functionality. Returns 1 when ok, 0 when not ok. | |
Linear Equation Solver for a symmetric positive-definite matrix A[n x n].
A[n x n] * X [n x m] = B[n x m]
A elements are stored in the upper triangle of A. Thus A(i,j) and A(j,i) access the same element.
Definition at line 38 of file SymMatrixSolver.h.
|
inline |
Definition at line 41 of file SymMatrixSolver.h.
|
inline |
access to A elements
Definition at line 48 of file SymMatrixSolver.h.
|
inline |
access to B elements
Definition at line 56 of file SymMatrixSolver.h.
void SymMatrixSolver::print | ( | ) |
Definition at line 66 of file SymMatrixSolver.cxx.
void SymMatrixSolver::solve | ( | ) |
Definition at line 30 of file SymMatrixSolver.cxx.
|
static |
Test the class functionality. Returns 1 when ok, 0 when not ok.
Definition at line 81 of file SymMatrixSolver.cxx.