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) |
CVecd & | operator= (const CVecd &v) |
double & | operator[] (const int n) const |
void | SetSize (int nSize) |
~CVecd () | |
Private Attributes | |
int | m_nSize |
double * | m_pElements |
Data structure and operations for calculating with vectors of arbitrary dimension.
CVecd::CVecd | ( | ) |
CVecd::CVecd | ( | int | nLength | ) |
CVecd::CVecd | ( | double | dX1, |
double | dX2 | ||
) |
CVecd::CVecd | ( | const CVecd & | v | ) |
CVecd::~CVecd | ( | ) |
int CVecd::GetSize | ( | ) | const [inline] |
double CVecd::Length | ( | ) |
void CVecd::SetSize | ( | int | nSize | ) |
int CVecd::m_nSize [private] |
double* CVecd::m_pElements [private] |