Simulacrum  1.2
Public Member Functions | Protected Attributes | List of all members
Simulacrum::SMatrix Class Reference

#include <sprimitives.h>

Collaboration diagram for Simulacrum::SMatrix:
Collaboration graph

Public Member Functions

 SMatrix (unsigned rows, unsigned columns)
 
 SMatrix (const SMatrix &)
 
virtual ~SMatrix ()
 
unsigned rows () const
 
unsigned columns () const
 
const SVectorrow (unsigned) const
 
SVector column (unsigned) const
 
void row (unsigned, const SVector &)
 
void column (unsigned, const SVector &)
 
SMatrixoperator= (const SMatrix &)
 
bool operator== (const SMatrix &) const
 
SMatrix operator+ (const SMatrix &)
 
SMatrixoperator+= (const SMatrix &)
 
SMatrix operator- (const SMatrix &)
 
SMatrixoperator-= (const SMatrix &)
 
SMatrix operator* (const SMatrix &)
 
SMatrixoperator*= (const SMatrix &)
 
SMatrix operator+ (const SVector::Precision)
 
SMatrixoperator+= (const SVector::Precision)
 
SMatrix operator- (const SVector::Precision)
 
SMatrixoperator-= (const SVector::Precision)
 
SMatrix operator* (const SVector::Precision)
 
SMatrixoperator*= (const SVector::Precision)
 
SMatrix operator/ (const SVector::Precision)
 
SMatrixoperator/= (const SVector::Precision)
 
SVector::Precisionoperator[] (std::initializer_list< unsigned >)
 
const SVector::Precisionoperator[] (std::initializer_list< unsigned >) const
 
std::string toString ()
 

Protected Attributes

std::vector< SVectorRows
 

Constructor & Destructor Documentation

◆ SMatrix() [1/2]

Simulacrum::SMatrix::SMatrix ( unsigned  rows,
unsigned  columns 
)

◆ SMatrix() [2/2]

SMatrix::SMatrix ( const SMatrix ref)

◆ ~SMatrix()

SMatrix::~SMatrix ( )
virtual

Member Function Documentation

◆ column() [1/2]

SVector Simulacrum::SMatrix::column ( unsigned  ) const

◆ column() [2/2]

void Simulacrum::SMatrix::column ( unsigned  ,
const SVector  
)

◆ columns()

unsigned int SMatrix::columns ( ) const

◆ operator*() [1/2]

SMatrix SMatrix::operator* ( const SMatrix targ)

◆ operator*() [2/2]

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

◆ operator*=() [1/2]

SMatrix & SMatrix::operator*= ( const SMatrix targ)

◆ operator*=() [2/2]

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

◆ operator+() [1/2]

SMatrix SMatrix::operator+ ( const SMatrix targ)

◆ operator+() [2/2]

SMatrix SMatrix::operator+ ( const SVector::Precision  shift)

◆ operator+=() [1/2]

SMatrix & SMatrix::operator+= ( const SMatrix targ)

◆ operator+=() [2/2]

SMatrix & SMatrix::operator+= ( const SVector::Precision  shift)

◆ operator-() [1/2]

SMatrix SMatrix::operator- ( const SMatrix targ)

◆ operator-() [2/2]

SMatrix SMatrix::operator- ( const SVector::Precision  shift)

◆ operator-=() [1/2]

SMatrix & SMatrix::operator-= ( const SMatrix targ)

◆ operator-=() [2/2]

SMatrix & SMatrix::operator-= ( const SVector::Precision  shift)

◆ operator/()

SMatrix SMatrix::operator/ ( const SVector::Precision  div)

◆ operator/=()

SMatrix & SMatrix::operator/= ( const SVector::Precision  div)

◆ operator=()

SMatrix & SMatrix::operator= ( const SMatrix targ)

◆ operator==()

bool SMatrix::operator== ( const SMatrix targ) const

◆ operator[]() [1/2]

SVector::Precision& Simulacrum::SMatrix::operator[] ( std::initializer_list< unsigned >  )

◆ operator[]() [2/2]

const SVector::Precision& Simulacrum::SMatrix::operator[] ( std::initializer_list< unsigned >  ) const

◆ row() [1/2]

const SVector& Simulacrum::SMatrix::row ( unsigned  ) const

◆ row() [2/2]

void Simulacrum::SMatrix::row ( unsigned  ,
const SVector  
)

◆ rows()

unsigned int SMatrix::rows ( ) const

◆ toString()

std::string SMatrix::toString ( )

Member Data Documentation

◆ Rows

std::vector<SVector> Simulacrum::SMatrix::Rows
protected

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