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