Project
Loading...
Searching...
No Matches
o2::gpu::SymMatrixSolver Class Reference

#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.
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SymMatrixSolver()

o2::gpu::SymMatrixSolver::SymMatrixSolver ( int32_t  N,
int32_t  M 
)
inline

Definition at line 41 of file SymMatrixSolver.h.

Member Function Documentation

◆ A()

double & o2::gpu::SymMatrixSolver::A ( int32_t  i,
int32_t  j 
)
inline

access to A elements

Definition at line 48 of file SymMatrixSolver.h.

◆ B()

double & o2::gpu::SymMatrixSolver::B ( int32_t  i,
int32_t  j 
)
inline

access to B elements

Definition at line 56 of file SymMatrixSolver.h.

◆ print()

void SymMatrixSolver::print ( )

Definition at line 66 of file SymMatrixSolver.cxx.

◆ solve()

void SymMatrixSolver::solve ( )

Definition at line 30 of file SymMatrixSolver.cxx.

◆ test()

int32_t SymMatrixSolver::test ( bool  prn = 0)
static

Test the class functionality. Returns 1 when ok, 0 when not ok.

Definition at line 81 of file SymMatrixSolver.cxx.


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