NetDEM v1.0
Loading...
Searching...
No Matches
netdem::EigenWrapper Class Reference

The EigenWrapper class provides a wrapper for various Eigen matrix operations. More...

#include <eigen_wrapper.hpp>

Static Public Member Functions

static Mat3d GetEigenVector (const Mat3d &mat)
 Calculates the eigenvectors of a 3x3 matrix.
 
static VecXT< double > SolveLinearEqn (const VecXT< VecXT< double > > &a, const VecXT< double > &b)
 Solves a system of linear equations using Eigen decomposition.
 
static Vec3d SolveLinearEqn (Mat3d const &a, const Vec3d &b)
 Solves a system of linear equations using Eigen decomposition for a 3x3 matrix.
 

Detailed Description

The EigenWrapper class provides a wrapper for various Eigen matrix operations.

Member Function Documentation

◆ GetEigenVector()

Mat3d netdem::EigenWrapper::GetEigenVector ( const Mat3d & mat)
static

Calculates the eigenvectors of a 3x3 matrix.

Parameters
matThe input matrix for which eigenvectors are to be calculated.
Returns
The eigenvectors of the input matrix.

◆ SolveLinearEqn() [1/2]

VecXT< double > netdem::EigenWrapper::SolveLinearEqn ( const VecXT< VecXT< double > > & a,
const VecXT< double > & b )
static

Solves a system of linear equations using Eigen decomposition.

Parameters
aThe coefficient matrix as a vector of vectors.
bThe constant vector.
Returns
The solution vector to the system of linear equations.

◆ SolveLinearEqn() [2/2]

Vec3d netdem::EigenWrapper::SolveLinearEqn ( Mat3d const & a,
const Vec3d & b )
static

Solves a system of linear equations using Eigen decomposition for a 3x3 matrix.

Parameters
aThe coefficient matrix as a 3x3 matrix.
bThe constant vector.
Returns
The solution vector to the system of linear equations.

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