name: LinearAlgebra


g++ [flags ...] file ... -l /isip/tools/lib/$ISIP_BINARY/lib_algo.a

#include <LinearAlgebra.h>

LinearAlgebra(const LinearAlgebra& arg);
static boolean linearSolve(VectorFloat& x, const MatrixFloat& A,
                           const VectorFloat& b);
static boolean linearSolve(VectorDouble& x, const MatrixDouble& A,
                           const VectorDouble& b);
quick start:

MatrixFloat A_fl(3, 3, L"1, 2, 1, 2, 2, 3, 1, 1, 1");
VectorFloat b_fl(L"2, 1, 3");
VectorFloat x_fl;
LinearAlgebra::linearSolve(x_fl, A_fl, b_fl);

The LinearAlgebra class is used as a container for linear algebra operations that require a mixture of data types, such as vectors and matrices, and don't lend themselves to the templatized approach taken in the Math classes. The methods in this class often involve complex linear algebra algorithms that can use a mixture of vector and matrix functions, and multiple data types.

This class is currently designed such that the main computational methods are declared static and hence can be called without instantiating the class.


public constants:

error codes:

protected data:

required public methods:

class-specific public methods:

private methods: