#include <RealVector.hpp>
Collaboration diagram for RealVector:
Purpose: Define the concept of Real Vector.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
RealVector () | |
RealVector (int size) | |
RealVector (int size, double adata) | |
RealVector (int size, double *adata) | |
RealVector (const RealVector &v) | |
RealVector | operator= (const RealVector &v) |
~RealVector () | |
RealVector * | copy () |
RealVector * | sub (int start, int step, int end) |
int | size () const |
void | load (RealVector *v) |
double * | getData () |
void | set0 (int index, double value) |
double | get0 (int index) const |
void | set (int index, double value) |
double | get (int index) const |
void | setAll (double value) |
double | vT_v () |
double | vT_v (RealVector *v2) |
double | norme2 () |
double | sum () |
double | minimum () |
double | maximum () |
double | mean () |
double | sigma () |
RealVector | pow (double pow) |
RealVector | log (double base) |
double | undividedDiff (int cellj, int order) |
double | dividedDiff (int cellj, int order, double dx=1.0) |
double | dividedDiff (int cellj, int order, RealVector *x) |
void | operator+= (double value) |
void | operator-= (double value) |
void | operator *= (double value) |
void | operator/= (double value) |
void | operator+= (const RealVector &v) |
void | operator-= (const RealVector &v) |
void | operator *= (const RealVector &v) |
void | operator/= (const RealVector &v) |
void | output () |
void | output (FILE *file) |
Public Attributes | |
RealVectorT | t () |
RealVector | sqrt () |
RealVector | sqr () |
RealVector | exp () |
RealVector | log () |
RealVector | sin () |
RealVector | cos () |
RealVector | tan () |
Private Attributes | |
int | dataSize |
double * | data |
double * | data1 |
Friends | |
double | operator * (const RealVectorT &vt, const RealVector &u) |
Real Math Operations. | |
RealVector | operator+ (const RealVector &v, double a) |
RealVector | operator+ (double a, const RealVector &v) |
RealVector | operator- (const RealVector &v, double a) |
RealVector | operator- (double a, const RealVector &v) |
RealVector | operator * (const RealVector &v, double a) |
RealVector | operator * (double a, const RealVector &v) |
RealVector | operator/ (const RealVector &v, double a) |
RealVector | operator+ (const RealVector &v1, const RealVector &v2) |
RealVector | operator- (const RealVector &v1, const RealVector &v2) |
|
Real Math Operations.
Purpose: Define the concept of Real Math operands. @ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002,2003 Eggs & Pictures. MIT/Open BSD copyright model. |