oILAB
|
#include <LatticeCore.h>
Public Types | |
typedef Eigen::Matrix< double, dim, 1 > | VectorDimD |
typedef Eigen::Matrix< double, dim, dim > | MatrixDimD |
typedef long long int | IntScalarType |
typedef Eigen::Matrix< IntScalarType, dim, 1 > | VectorDimI |
typedef Eigen::Matrix< IntScalarType, dim, dim > | MatrixDimI |
Static Public Member Functions | |
static VectorDimI | rationalApproximation (VectorDimD v) |
Approximates a direction in terms of integer coordinates. | |
static VectorDimI | integerCoordinates (const VectorDimD &d, const MatrixDimD &invA) |
Returns the integer coordinates of a vector \(d\) with respect to a lattices with structure matrix \(\textbf A\). | |
Static Public Attributes | |
static constexpr double | roundTol =FLT_EPSILON |
Definition at line 19 of file LatticeCore.h.
typedef long long int gbLAB::LatticeCore< dim >::IntScalarType |
Definition at line 26 of file LatticeCore.h.
typedef Eigen::Matrix<double,dim,dim> gbLAB::LatticeCore< dim >::MatrixDimD |
Definition at line 25 of file LatticeCore.h.
typedef Eigen::Matrix<IntScalarType,dim,dim> gbLAB::LatticeCore< dim >::MatrixDimI |
Definition at line 28 of file LatticeCore.h.
typedef Eigen::Matrix< double,dim,1> gbLAB::LatticeCore< dim >::VectorDimD |
Definition at line 24 of file LatticeCore.h.
typedef Eigen::Matrix<IntScalarType,dim,1> gbLAB::LatticeCore< dim >::VectorDimI |
Definition at line 27 of file LatticeCore.h.
|
static |
Returns the integer coordinates of a vector \(d\) with respect to a lattices with structure matrix \(\textbf A\).
v | input direction |
invA | \(\textbf A^{-1}\) |
Definition at line 55 of file LatticeCore.cpp.
|
static |
Approximates a direction in terms of integer coordinates.
v | input direction |
Definition at line 20 of file LatticeCore.cpp.
|
staticconstexpr |
Definition at line 22 of file LatticeCore.h.