0.3.0
Loading...
Searching...
No Matches
Eigen Namespace Reference

Typedefs

using AngleAxisld
 Long double Eigen::AngleAxis.
 
using Array3ld
 Long double 3x1 Eigen::Array.
 
using Array5d
 Double 5x1 Eigen::Array.
 
using Array6d
 Double 6x1 Eigen::Array.
 
using Matrix3ld
 Long double 3x3 Eigen::Matrix.
 
using Matrix4ld
 Long double 4x4 Eigen::Matrix.
 
using Matrix5d
 Double 5x5 Eigen::Matrix.
 
using Matrix6d
 Double 6x6 Eigen::Matrix.
 
using Matrix7d
 Double 7x7 Eigen::Matrix.
 
using Matrix8d
 Double 8x8 Eigen::Matrix.
 
using Matrix9d
 Double 9x9 Eigen::Matrix.
 
using Quaternionld
 Long double Eigen::Quaternion.
 
using Vector3ld
 Long double 3x1 Eigen::Vector.
 
using Vector4ld
 Long double 3x1 Eigen::Vector.
 
using Vector5d
 Double 5x1 Eigen::Vector.
 
using Vector6d
 Double 6x1 Eigen::Vector.
 
using Vector7d
 Double 7x1 Eigen::Vector.
 
using Vector8d
 Double 8x1 Eigen::Vector.
 
using Vector9d
 Double 9x1 Eigen::Vector.
 

Functions

template<typename _Scalar, int _Rows, int _Cols>
void from_json (const json &j, Matrix< _Scalar, _Rows, _Cols > &matrix)
 Converts the provided json object into a matrix.
 
template<typename _Scalar>
void from_json (const json &j, Quaternion< _Scalar > &quat)
 Converts the provided json object into a quaternion.
 
template<typename _Scalar, int _Rows, int _Cols>
void to_json (json &j, const Matrix< _Scalar, _Rows, _Cols > &matrix)
 Converts the provided matrix into a json object.
 
template<typename _Scalar>
void to_json (json &j, const Quaternion< _Scalar > &quat)
 Converts the provided quaternion into a json object.
 

Typedef Documentation

◆ AngleAxisld

Long double Eigen::AngleAxis.

Definition at line 52 of file Eigen.hpp.

◆ Array3ld

Long double 3x1 Eigen::Array.

Definition at line 42 of file Eigen.hpp.

◆ Array5d

Double 5x1 Eigen::Array.

Definition at line 29 of file Eigen.hpp.

◆ Array6d

Double 6x1 Eigen::Array.

Definition at line 30 of file Eigen.hpp.

◆ Matrix3ld

Long double 3x3 Eigen::Matrix.

Definition at line 47 of file Eigen.hpp.

◆ Matrix4ld

Long double 4x4 Eigen::Matrix.

Definition at line 48 of file Eigen.hpp.

◆ Matrix5d

Double 5x5 Eigen::Matrix.

Definition at line 36 of file Eigen.hpp.

◆ Matrix6d

Double 6x6 Eigen::Matrix.

Definition at line 37 of file Eigen.hpp.

◆ Matrix7d

Double 7x7 Eigen::Matrix.

Definition at line 38 of file Eigen.hpp.

◆ Matrix8d

Double 8x8 Eigen::Matrix.

Definition at line 39 of file Eigen.hpp.

◆ Matrix9d

Double 9x9 Eigen::Matrix.

Definition at line 40 of file Eigen.hpp.

◆ Quaternionld

Long double Eigen::Quaternion.

Definition at line 50 of file Eigen.hpp.

◆ Vector3ld

Long double 3x1 Eigen::Vector.

Definition at line 44 of file Eigen.hpp.

◆ Vector4ld

Long double 3x1 Eigen::Vector.

Definition at line 45 of file Eigen.hpp.

◆ Vector5d

Double 5x1 Eigen::Vector.

Definition at line 31 of file Eigen.hpp.

◆ Vector6d

Double 6x1 Eigen::Vector.

Definition at line 32 of file Eigen.hpp.

◆ Vector7d

Double 7x1 Eigen::Vector.

Definition at line 33 of file Eigen.hpp.

◆ Vector8d

Double 8x1 Eigen::Vector.

Definition at line 34 of file Eigen.hpp.

◆ Vector9d

Double 9x1 Eigen::Vector.

Definition at line 35 of file Eigen.hpp.

Function Documentation

◆ from_json() [1/2]

template<typename _Scalar, int _Rows, int _Cols>
void Eigen::from_json ( const json & j,
Matrix< _Scalar, _Rows, _Cols > & matrix )

Converts the provided json object into a matrix.

Template Parameters
_ScalarData Type of the matrix
_RowsAmount of rows of the matrix
_ColsAmount of cols of the matrix
Parameters
[in]jJson object to read the coefficients from
[out]matrixMatrix object to fill

Definition at line 80 of file Eigen.hpp.

◆ from_json() [2/2]

template<typename _Scalar>
void Eigen::from_json ( const json & j,
Quaternion< _Scalar > & quat )

Converts the provided json object into a quaternion.

Template Parameters
_ScalarData Type of the quaternion
Parameters
[in]jJson object to read the coefficients from
[out]quatQuaternion object to fill

Definition at line 134 of file Eigen.hpp.

◆ to_json() [1/2]

template<typename _Scalar, int _Rows, int _Cols>
void Eigen::to_json ( json & j,
const Matrix< _Scalar, _Rows, _Cols > & matrix )

Converts the provided matrix into a json object.

Template Parameters
_ScalarData Type of the matrix
_RowsAmount of rows of the matrix
_ColsAmount of cols of the matrix
Parameters
[out]jJson object to fill with
[in]matrixMatrix to convert into json

Definition at line 61 of file Eigen.hpp.

◆ to_json() [2/2]

template<typename _Scalar>
void Eigen::to_json ( json & j,
const Quaternion< _Scalar > & quat )

Converts the provided quaternion into a json object.

Template Parameters
_ScalarData Type of the quaternion
Parameters
[out]jJson object to fill with
[in]quatQuaternion to convert into json

Definition at line 124 of file Eigen.hpp.