Public Member Functions | Private Attributes | List of all members
CVecd Class Reference

Data structure and operations for calculating with vectors of arbitrary dimension. More...

#include <Vecd.h>

Public Member Functions

 CVecd ()
 
 CVecd (int nLength)
 
 CVecd (double dX1, double dX2)
 
 CVecd (const CVecd &v)
 
int GetSize () const
 
double Length ()
 
double operator* (const CVecd &v)
 
CVecd operator+ (const CVecd &v)
 
CVecd operator- (const CVecd &v)
 
CVecdoperator= (const CVecd &v)
 
double & operator[] (const int n) const
 
void SetSize (int nSize)
 
 ~CVecd ()
 

Private Attributes

int m_nSize
 
double * m_pElements
 

Detailed Description

Data structure and operations for calculating with vectors of arbitrary dimension.

Definition at line 54 of file Vecd.h.

Constructor & Destructor Documentation

CVecd::CVecd ( )

Definition at line 58 of file Vecd.cpp.

CVecd::CVecd ( int  nLength)

Definition at line 64 of file Vecd.cpp.

CVecd::CVecd ( double  dX1,
double  dX2 
)

Definition at line 71 of file Vecd.cpp.

CVecd::CVecd ( const CVecd v)

Definition at line 81 of file Vecd.cpp.

CVecd::~CVecd ( )

Definition at line 90 of file Vecd.cpp.

Member Function Documentation

int CVecd::GetSize ( ) const
inline

Definition at line 79 of file Vecd.h.

double CVecd::Length ( )

Definition at line 191 of file Vecd.cpp.

double CVecd::operator* ( const CVecd v)

Definition at line 144 of file Vecd.cpp.

CVecd CVecd::operator+ ( const CVecd v)

Definition at line 110 of file Vecd.cpp.

CVecd CVecd::operator- ( const CVecd v)

Definition at line 127 of file Vecd.cpp.

CVecd & CVecd::operator= ( const CVecd v)

Definition at line 101 of file Vecd.cpp.

double & CVecd::operator[] ( const int  n) const

Definition at line 161 of file Vecd.cpp.

void CVecd::SetSize ( int  nSize)

Definition at line 173 of file Vecd.cpp.

Member Data Documentation

int CVecd::m_nSize
private

Definition at line 85 of file Vecd.h.

double* CVecd::m_pElements
private

Definition at line 84 of file Vecd.h.


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


asr_ivt
Author(s): Allgeyer Tobias, Hutmacher Robin, Kleinert Daniel, Meißner Pascal, Scholz Jonas, Stöckle Patrick
autogenerated on Mon Dec 2 2019 03:47:28