#include <CVectorT.hpp>
Collaboration diagram for CVectorT:
Purpose: Define the concept of Real Vector.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2003, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
CVectorT (int size) | |
CVectorT (int size, const RComplex &adata) | |
CVectorT (const CVectorT &v) | |
CVectorT | operator= (const CVectorT &v) |
~CVectorT () | |
CVectorT * | sub (int start, int step, int end) |
int | size () const |
void | load (CVectorT *v) |
RComplex * | getData () |
void | set0 (int index, double value) |
void | set0 (int index, const RComplex &value) |
RComplex | get0 (int index) const |
void | set (int index, double value) |
void | set (int index, const RComplex &value) |
RComplex | get (int index) const |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (const RComplex &value) |
void | operator-= (const RComplex &value) |
void | operator *= (const RComplex &value) |
void | operator/= (const RComplex &value) |
void | operator+= (const CVectorT &v) |
void | operator-= (const CVectorT &v) |
void | operator *= (const CVectorT &v) |
void | operator/= (const CVectorT &v) |
void | output () |
void | output (FILE *file) |
Public Attributes | |
CVector | t () |
RComplex | vT_v () |
RComplex | norme2 () |
RComplex | sum () |
RComplex | mean () |
RComplex | sigma () |
CVectorT | sqrt () |
CVectorT | sqr () |
Private Attributes | |
int | dataSize |
RComplex * | data |
RComplex * | data1 |
Friends | |
RComplex | operator * (const CVectorT &vt, const CVector &u) |
CVectorT | operator+ (const CVectorT &v, double a) |
CVectorT | operator+ (double a, const CVectorT &v) |
CVectorT | operator- (const CVectorT &v, double a) |
CVectorT | operator- (double a, const CVectorT &v) |
CVectorT | operator * (const CVectorT &v, double a) |
CVectorT | operator * (double a, const CVectorT &v) |
CVectorT | operator/ (const CVectorT &v, double a) |
CVectorT | operator+ (const CVectorT &v, const RComplex &a) |
CVectorT | operator+ (const RComplex &a, const CVectorT &v) |
CVectorT | operator- (const CVectorT &v, const RComplex &a) |
CVectorT | operator- (const RComplex &a, const CVectorT &v) |
CVectorT | operator * (const CVectorT &v, const RComplex &a) |
CVectorT | operator * (const RComplex &a, const CVectorT &v) |
CVectorT | operator/ (const CVectorT &v, const RComplex &a) |
CVectorT | operator+ (const CVectorT &v1, const CVectorT &v2) |
CVectorT | operator- (const CVectorT &v1, const CVectorT &v2) |