opatIO-cpp 0.3.0a
Open Parametrized Array Table
|
Namespace for table lattice interpolation of OPAT files. More...
Classes | |
struct | Simplex |
Represents a simplex containing a point, along with barycentric weights. More... | |
class | TableLattice |
Represents a lattice structure for interpolating data from an OPAT object. More... | |
Typedefs | |
typedef boost::numeric::ublas::matrix< double > | bmat |
Typedef for a Boost uBLAS matrix of doubles. | |
typedef boost::numeric::ublas::vector< double > | bvec |
Typedef for a Boost uBLAS vector of doubles. | |
Enumerations | |
enum class | InterpolationType { Linear , Quadratic , Cubic } |
Defines the type of interpolation to be used. More... | |
Functions | |
bvec | solveLinearSystem (bmat A, bvec b) |
Solves a linear system of equations Ax = b. | |
Namespace for table lattice interpolation of OPAT files.
typedef boost::numeric::ublas::matrix<double> opat::lattice::bmat |
Typedef for a Boost uBLAS matrix of doubles.
typedef boost::numeric::ublas::vector<double> opat::lattice::bvec |
Typedef for a Boost uBLAS vector of doubles.
|
strong |
Solves a linear system of equations Ax = b.
Uses LU decomposition to solve the system.
A | The matrix A. |
b | The vector b. |
std::runtime_error | if matrix dimensions are mismatched or LU factorization fails. |
Example: