mat_vec_types.h File Reference
#include <cstddef>
#include <limits>
#include <cmath>
#include <array>

Go to the source code of this file.

Data Structures

class  vector3
 
class  arr3_view< t_scalar, brr3 >
 
struct  upper_triangular_matrix4
 

Namespaces

 ffea_const
 

Typedefs

typedef double scalar
 
typedef double geoscalar
 
typedef scalar arr3[3]
 
typedef geoscalar grr3[3]
 
typedef scalar arr4[4]
 
typedef geoscalar grr4[4]
 
typedef scalar vector12[12]
 
typedef scalar matrix12[12][12]
 
typedef scalar matrix3[3][3]
 
typedef scalar matrix4[4][4]
 

Variables

const scalar ffea_const::threeErr = 3.0*std::numeric_limits<scalar>::epsilon()
 
const scalar ffea_const::threeGeoErr = 3.0*std::numeric_limits<geoscalar>::epsilon()
 
const scalar ffea_const::pi = 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148
 
const scalar ffea_const::mOne = -1.0
 
const scalar ffea_const::zero = 0.0
 
const scalar ffea_const::half = 0.5
 
const scalar ffea_const::one = 1.0
 
const scalar ffea_const::two = 2.0
 
const scalar ffea_const::eight = 8.0
 
const geoscalar ffea_const::ten = 10.0
 
const scalar ffea_const::twentyfour = 24.0
 
const scalar ffea_const::oneOverThree = 0.33333333333333333
 
const scalar ffea_const::oneOverSix = 0.166666666666666667
 
const scalar ffea_const::oneOverEight = 0.12500000000000000
 
const scalar ffea_const::sphereFactor = 4.0 * 3.141592653589793238462643383279502884197169399375105820974944592307816406286208998628034825342117067982148 / 3.0
 

Typedef Documentation

◆ arr3

typedef scalar arr3[3]

arr3 will hopefully substitute vector3 one day

◆ arr4

typedef scalar arr4[4]

◆ geoscalar

typedef double geoscalar

◆ grr3

typedef geoscalar grr3[3]

◆ grr4

typedef geoscalar grr4[4]

◆ matrix12

typedef scalar matrix12[12][12]

Defines a 12x12 matrix

◆ matrix3

typedef scalar matrix3[3][3]

Defines a 3x3 matrix

◆ matrix4

typedef scalar matrix4[4][4]

Defines a 4x4 matrix

◆ scalar

typedef double scalar

◆ vector12

typedef scalar vector12[12]

Defines a 12 vector (just for ease of use, clarity and compiler type checking)