Fleet  0.0.9
Inference in the LOT
Public Member Functions | Public Attributes | List of all members
Vector3D< T > Class Template Reference

Like Vector2D, but one dimension bigger. TODO: Replace this and Vector2D with a template please. More...

#include <Vector3D.h>

Public Member Functions

 Vector3D ()
 
 Vector3D (int x, int y, int z)
 
 Vector3D (int x, int y, int z, T b)
 
void fill (T x)
 
void resize (const int x, const int y, const int z)
 
void reserve (const int x, const int y, const int z)
 
T & at (const int x, const int y, const int z)
 
T & operator() (const int x, const int y, const int z)
 
template<typename X >
void operator[] (X x)
 

Public Attributes

int xsize = 0
 
int ysize = 0
 
int zsize = 0
 
std::vector< T > value
 

Detailed Description

template<typename T>
class Vector3D< T >

Like Vector2D, but one dimension bigger. TODO: Replace this and Vector2D with a template please.

Author
Steven Piantadosi
Date
09/08/20

Constructor & Destructor Documentation

◆ Vector3D() [1/3]

template<typename T>
Vector3D< T >::Vector3D ( )
inline

◆ Vector3D() [2/3]

template<typename T>
Vector3D< T >::Vector3D ( int  x,
int  y,
int  z 
)
inline

◆ Vector3D() [3/3]

template<typename T>
Vector3D< T >::Vector3D ( int  x,
int  y,
int  z,
b 
)
inline

Member Function Documentation

◆ at()

template<typename T>
T& Vector3D< T >::at ( const int  x,
const int  y,
const int  z 
)
inline

◆ fill()

template<typename T>
void Vector3D< T >::fill ( x)
inline

◆ operator()()

template<typename T>
T& Vector3D< T >::operator() ( const int  x,
const int  y,
const int  z 
)
inline

◆ operator[]()

template<typename T>
template<typename X >
void Vector3D< T >::operator[] ( X  x)
inline

◆ reserve()

template<typename T>
void Vector3D< T >::reserve ( const int  x,
const int  y,
const int  z 
)
inline

◆ resize()

template<typename T>
void Vector3D< T >::resize ( const int  x,
const int  y,
const int  z 
)
inline

Member Data Documentation

◆ value

template<typename T>
std::vector<T> Vector3D< T >::value

◆ xsize

template<typename T>
int Vector3D< T >::xsize = 0

◆ ysize

template<typename T>
int Vector3D< T >::ysize = 0

◆ zsize

template<typename T>
int Vector3D< T >::zsize = 0

The documentation for this class was generated from the following file: