Public Member Functions | List of all members
LinAlg Class Reference

A wrapper for interfacing with 3rd party linear algebra packages. More...

#include <LinAlgWrapper.h>

Public Member Functions

void solve (double *A, int n, double *b)
 interface function for solving $ Ax = b $ Calculates $ Ax = b $ where A is of dimension n-by-n, b is n-by-1, result is store in b, therefore b is overwritten. More...
 

Detailed Description

A wrapper for interfacing with 3rd party linear algebra packages.

Member Function Documentation

void LinAlg::solve ( double *  A,
int  n,
double *  b 
)

interface function for solving $ Ax = b $ Calculates $ Ax = b $ where A is of dimension n-by-n, b is n-by-1, result is store in b, therefore b is overwritten.

The actual solve stage for $ Ax = b $. The stage utilizes a 3rd-party solve call Eigen and involves three steps: (1) transfer data to Eigen readable form, (2) call the Eigen API to solve and (3) transfer data back to the original container.


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