#include <FloatVector.hpp>
Collaboration diagram for FloatVector:
Purpose: Define the concept of Real Vector.
@ Copyrights: Bernard De Cuyper & Eddy Fraiha 2002, Eggs & Pictures. MIT/Open BSD copyright model.
Public Methods | |
FloatVector (int size) | |
FloatVector (int size, float adata) | |
FloatVector (const FloatVector &v) | |
FloatVector | operator= (const FloatVector &v) |
~FloatVector () | |
FloatVector * | sub (int start, int step, int end) |
FloatVector * | copy () |
int | size () |
void | load (FloatVector *v) |
void | load (float coeff, FloatVector *v) |
float * | getData () |
void | set0 (int index, float value) |
float | get0 (int index) |
void | set (int index, float value) |
float | get (int index) |
void | setAll (float value) |
void | setAt (int p0, int n, float value) |
int | indexArgMin () |
int | indexArgMax () |
float | argMin () |
float | argMax () |
float | vT_v () |
float | norme1 () |
float | norme2 () |
float | normeInf () |
float | sum () |
float | minimum () |
float | maximum () |
float | maxAbs () |
float | mean () |
float | sigma () |
void | random (float minval=0.0, float maxval=1.0) |
float | undividedDiff (int cellj, int order) |
float | dividedDiff (int cellj, int order, float dx=1.0) |
FloatVector | pow (float pow) |
FloatVector | log (float base) |
void | operator+= (float value) |
void | operator-= (float value) |
void | operator *= (float value) |
void | operator/= (float value) |
void | operator+= (FloatVector &v) |
void | operator-= (FloatVector &v) |
void | operator *= (FloatVector &v) |
void | operator/= (FloatVector &v) |
void | subst (float a) |
void | mult (float a) |
void | div (float a) |
void | delta (FloatVector *v1, FloatVector *v) |
void | subst (FloatVector *v) |
void | add (float a) |
void | add (FloatVector *v) |
void | add (FloatVector *v, FloatVector *v1) |
void | add (FloatVector *v, FloatVector *v1, FloatVector *v2) |
void | add (float a, FloatVector *v) |
void | add (float a, FloatVector *v, float b, FloatVector *w) |
void | add (float a, FloatVector *v, float b, FloatVector *w, float c, FloatVector *z) |
void | add (float a, float b, FloatVector *v) |
void | add (float a, float b, FloatVector *v, float c, FloatVector *w) |
void | saxpy (float a, FloatVector *v) |
void | gaxpy (AFSymMatrix *A, FloatVector *v) |
void | gaxpy (float a, AFSymMatrix *A, FloatVector *v) |
void | gaxpy (float a, float b, AFSymMatrix *A, FloatVector *v) |
void | gaxpy (float a, float b, AFSymMatrix *A, FloatVector *v, float c, FloatVector *w) |
void | gaxpy (float a, float b, AFSymMatrix *A, FloatVector *v, float c, AFSymMatrix *B, FloatVector *w) |
float | prodScalar (FloatVector *v) |
void | output () |
void | output (FILE *file) |
Public Attributes | |
FloatVectorT | t () |
FloatVector | sqrt () |
FloatVector | sqr () |
FloatVector | exp () |
FloatVector | log () |
FloatVector | sin () |
FloatVector | cos () |
FloatVector | tan () |
Private Attributes | |
int | dataSize |
float * | data |
float * | data1 |
Friends | |
float | operator * (FloatVectorT &vt, FloatVector &u) |
Real Math Operations. | |
FloatVector | operator+ (FloatVector &v, float a) |
FloatVector | operator+ (float a, FloatVector &v) |
FloatVector | operator- (FloatVector &v, float a) |
FloatVector | operator- (float a, FloatVector &v) |
FloatVector | operator * (FloatVector &v, float a) |
FloatVector | operator * (float a, FloatVector &v) |
FloatVector | operator/ (FloatVector &v, float a) |
FloatVector | operator+ (FloatVector &v1, FloatVector &v2) |
FloatVector | operator- (FloatVector &v1, FloatVector &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. |