Simulacrum  1.2
Public Types | Public Member Functions | List of all members
Simulacrum::SVector Class Reference

#include <sprimitives.h>

Collaboration diagram for Simulacrum::SVector:
Collaboration graph

Public Types

typedef BaseFP Precision
 

Public Member Functions

 SVector ()
 
 SVector (unsigned)
 
 SVector (const SVector &)
 
 SVector (SCoordinate &)
 
 SVector (const SCoordinate &)
 
 SVector (std::initializer_list< SVector::Precision >)
 
virtual ~SVector ()
 
void reset ()
 
unsigned getDim () const
 
void setDim (unsigned)
 
SVector::Precisionoperator[] (unsigned)
 
const SVector::Precisionoperator[] (unsigned) const
 
SVectoroperator= (const SVector &)
 
SVectoroperator+= (const SVector &)
 
SVectoroperator-= (const SVector &)
 
SVector operator+ (const SVector &) const
 
SVector operator- (const SVector &) const
 
bool operator== (const SVector &) const
 
bool operator!= (const SVector &) const
 
bool operator< (const SVector &) const
 
SVectoroperator*= (const SVector::Precision)
 
SVector operator* (const SVector::Precision) const
 
SVectoroperator*= (const SVector &)
 
SVector operator* (const SVector &) const
 
SVectoroperator/= (const SVector::Precision)
 
SVector operator/ (const SVector::Precision) const
 
SVectoroperator/= (const SVector &)
 
SVector operator/ (const SVector &) const
 
SVectoroperator+= (const SVector::Precision)
 
SVector operator+ (const SVector::Precision) const
 
SVector operator! () const
 
SVector::Precision dot (const SVector &) const
 
SVector cross (const SVector &) const
 
SVector unit () const
 
SVector::Precision mag () const
 
SVector::Precision sum () const
 
double volume () const
 
SVector fabs () const
 
SVector::Precision x () const
 
SVector::Precision y () const
 
SVector::Precision z () const
 
SVectorx (const SVector::Precision)
 
SVectory (const SVector::Precision)
 
SVectorz (const SVector::Precision)
 
SVectorxy (const SVector::Precision, const SVector::Precision)
 
SVectorxyz (const SVector::Precision, const SVector::Precision, const SVector::Precision)
 
std::string toString () const
 
bool withinSpace (const SVector &) const
 
bool isOrtho () const
 
void promote ()
 
void append (const SVector &)
 

Member Typedef Documentation

◆ Precision

Constructor & Destructor Documentation

◆ SVector() [1/6]

SVector::SVector ( )

◆ SVector() [2/6]

SVector::SVector ( unsigned  dims)

◆ SVector() [3/6]

SVector::SVector ( const SVector that)

◆ SVector() [4/6]

SVector::SVector ( SCoordinate scoord)

◆ SVector() [5/6]

SVector::SVector ( const SCoordinate scoord)

◆ SVector() [6/6]

SVector::SVector ( std::initializer_list< SVector::Precision initlist)

◆ ~SVector()

SVector::~SVector ( )
virtual

Member Function Documentation

◆ append()

void SVector::append ( const SVector newvec)

◆ cross()

SVector SVector::cross ( const SVector s2) const

◆ dot()

SVector::Precision SVector::dot ( const SVector targ) const

◆ fabs()

SVector SVector::fabs ( ) const

◆ getDim()

unsigned int SVector::getDim ( ) const

◆ isOrtho()

bool SVector::isOrtho ( ) const

◆ mag()

SVector::Precision SVector::mag ( ) const

◆ operator!()

SVector SVector::operator! ( ) const

◆ operator!=()

bool SVector::operator!= ( const SVector rhs) const

◆ operator*() [1/2]

SVector SVector::operator* ( const SVector source) const

◆ operator*() [2/2]

SVector SVector::operator* ( const SVector::Precision  scale) const

◆ operator*=() [1/2]

SVector & SVector::operator*= ( const SVector source)

◆ operator*=() [2/2]

SVector & SVector::operator*= ( const SVector::Precision  scale)

◆ operator+() [1/2]

SVector SVector::operator+ ( const SVector rhs) const

◆ operator+() [2/2]

SVector SVector::operator+ ( const SVector::Precision  addt) const

◆ operator+=() [1/2]

SVector & SVector::operator+= ( const SVector rhs)

◆ operator+=() [2/2]

SVector & SVector::operator+= ( const SVector::Precision  addt)

◆ operator-()

SVector SVector::operator- ( const SVector rhs) const

◆ operator-=()

SVector & SVector::operator-= ( const SVector rhs)

◆ operator/() [1/2]

SVector SVector::operator/ ( const SVector source) const

◆ operator/() [2/2]

SVector SVector::operator/ ( const SVector::Precision  scale) const

◆ operator/=() [1/2]

SVector & SVector::operator/= ( const SVector source)

◆ operator/=() [2/2]

SVector & SVector::operator/= ( const SVector::Precision  scale)

◆ operator<()

bool SVector::operator< ( const SVector targ) const

◆ operator=()

SVector & SVector::operator= ( const SVector rhs)

◆ operator==()

bool SVector::operator== ( const SVector rhs) const

◆ operator[]() [1/2]

SVector::Precision& Simulacrum::SVector::operator[] ( unsigned  )

◆ operator[]() [2/2]

const SVector::Precision& Simulacrum::SVector::operator[] ( unsigned  ) const

◆ promote()

void SVector::promote ( )

◆ reset()

void SVector::reset ( )

◆ setDim()

void SVector::setDim ( unsigned  )

◆ sum()

SVector::Precision SVector::sum ( ) const

◆ toString()

std::string SVector::toString ( ) const

◆ unit()

SVector SVector::unit ( ) const

◆ volume()

double SVector::volume ( ) const

◆ withinSpace()

bool SVector::withinSpace ( const SVector coordref) const

◆ x() [1/2]

SVector::Precision SVector::x ( ) const

◆ x() [2/2]

SVector & SVector::x ( const SVector::Precision  xx)

◆ xy()

SVector & SVector::xy ( const SVector::Precision  xx,
const SVector::Precision  yy 
)

◆ xyz()

SVector & SVector::xyz ( const SVector::Precision  xx,
const SVector::Precision  yy,
const SVector::Precision  zz 
)

◆ y() [1/2]

SVector::Precision SVector::y ( ) const

◆ y() [2/2]

SVector & SVector::y ( const SVector::Precision  yy)

◆ z() [1/2]

SVector::Precision SVector::z ( ) const

◆ z() [2/2]

SVector & SVector::z ( const SVector::Precision  zz)

The documentation for this class was generated from the following files:
Simulacrum Project