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 ![]() ![]() | |
A wrapper for interfacing with 3rd party linear algebra packages.
void LinAlg::solve | ( | double * | A, |
int | n, | ||
double * | b | ||
) |
interface function for solving Calculates
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 . 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.