oILAB
Loading...
Searching...
No Matches
RationalReciprocalLatticeDirection.h
Go to the documentation of this file.
1/* This file is part of gbLAB.
2 *
3 * gbLAB is distributed without any warranty under the MIT License.
4 */
5
6
7#ifndef gbLAB_RationalReciprocalLatticeDirection_h_
8#define gbLAB_RationalReciprocalLatticeDirection_h_
9
10#include <LatticeVector.h>
12#include <Rational.h>
14
15namespace gbLAB
16{
17 template <int dim>
19 {
25
28
29 public:
30
31
37 VectorDimD cartesian() const;
45 double squaredNorm() const;
46
47 };
48
49 template<int dim>
51
52} // end namespace
53#endif
LatticeVector class.
LatticeVector< dim > operator*(const typename LatticeVector< dim >::IntScalarType &scalar, const LatticeVector< dim > &L)
Eigen::Matrix< double, dim, dim > MatrixDimD
Definition LatticeCore.h:25
Eigen::Matrix< IntScalarType, dim, dim > MatrixDimI
Definition LatticeCore.h:28
Eigen::Matrix< double, dim, 1 > VectorDimD
Definition LatticeCore.h:24
long long int IntScalarType
Definition LatticeCore.h:26
Eigen::Matrix< IntScalarType, dim, 1 > VectorDimI
Definition LatticeCore.h:27
RationalReciprocalLatticeDirection< dim > operator/(const IntScalarType &scalar) const
RationalReciprocalLatticeDirection(const RationalReciprocalLatticeDirection< dim > &other)=default
RationalReciprocalLatticeDirection< dim > operator*(const IntScalarType &scalar) const
Rational< IntScalarType > dot(const LatticeVector< dim > &other) const
RationalReciprocalLatticeDirection< dim > operator-(const RationalReciprocalLatticeDirection< dim > &other) const
RationalReciprocalLatticeDirection< dim > operator+(const RationalReciprocalLatticeDirection< dim > &other) const
RationalReciprocalLatticeDirection(RationalReciprocalLatticeDirection< dim > &&other)=default