|
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 16 of file LatticeCore.h.
| typedef long long int oILAB::LatticeCore< dim >::IntScalarType |
Definition at line 22 of file LatticeCore.h.
| typedef Eigen::Matrix<double, dim, dim> oILAB::LatticeCore< dim >::MatrixDimD |
Definition at line 21 of file LatticeCore.h.
| typedef Eigen::Matrix<IntScalarType, dim, dim> oILAB::LatticeCore< dim >::MatrixDimI |
Definition at line 24 of file LatticeCore.h.
| typedef Eigen::Matrix<double, dim, 1> oILAB::LatticeCore< dim >::VectorDimD |
Definition at line 20 of file LatticeCore.h.
| typedef Eigen::Matrix<IntScalarType, dim, 1> oILAB::LatticeCore< dim >::VectorDimI |
Definition at line 23 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 52 of file LatticeCore.cpp.
|
static |
Approximates a direction in terms of integer coordinates.
| v | input direction |
Definition at line 17 of file LatticeCore.cpp.
|
staticconstexpr |
Definition at line 18 of file LatticeCore.h.