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