1 #ifndef MMSD_DoubleVector_H
2 #define MMSD_DoubleVector_H
52 inline static SP::MMSD_DoubleVector
New() {
58 inline static SP::MMSD_DoubleVector
New(
const int& nElements) {
118 const double *va=a,*vb=b,*vc=c,*vd=d;
121 s+=(*va)*(*vb)*(*vc)*(*vd);
136 const double * c)
const {
144 const double* c)
const {
static double triProduct(const tArrayIndex &n, const double *a, const double *b, const double *c)
tri scalar product
Definition: MMSD_DoubleVector.h:86
#define tArrayIndex
Definition: types.h:39
MMSD_DoubleVector & operator=(const MMSD_DoubleVector &s)
copy operator the view is taken into account
Definition: MMSD_DoubleVector.h:72
Definition: LAP_DoubleVector.h:20
double triProduct(const double *b, const double *c) const
tri scalar product
Definition: MMSD_DoubleVector.h:135
DEFINE_SPTR(MMSD_DoubleVector)
DEFINE_SVPTR(MMSD_DoubleVector)
static double quadProduct(const tArrayIndex &n, const double *a, const double *b, const double *c, const double *d)
tri scalar product
Definition: MMSD_DoubleVector.h:111
#define lapack_real
Definition: lapack_functions.h:9
static SP::MMSD_DoubleVector New(const int &nElements)
Definition: MMSD_DoubleVector.h:58
Definition: MMSD_ConstDoubleVector.h:14
tLVectorIndex getSize() const
get the size of the vector
Definition: LAP_Vector.h:519
Definition: MMSD_DoubleVector.h:16
virtual const lapack_real * getValues() const
get the values for reading
Definition: LAP_Vector.h:497
MMSD_DoubleVector & operator=(const lapack_real &s)
copy operator the view is taken into account
Definition: MMSD_DoubleVector.h:66
virtual ~MMSD_DoubleVector(void)
destroy an object.
Definition: MMSD_DoubleVector.cpp:16
MMSD_DoubleVector(void)
create an object
Definition: MMSD_DoubleVector.cpp:4
MMSD_DoubleVector & operator=(const MMSD_ConstDoubleVector &s)
copy operator the view is taken into account
Definition: MMSD_DoubleVector.h:78
void init(const lapack_real &v)
init the value to v from the view
Definition: LAP_Vector.h:423
void copy(const LAP_Vector< lapack_real > &v)
copy the vector v into this. the view is set to [0,v.getSize()[ the viewed values of v is copied into...
Definition: LAP_DoubleVector.h:222
static SP::MMSD_DoubleVector New()
Definition: MMSD_DoubleVector.h:52
double quadProduct(const double *a, const double *b, const double *c) const
quad scalar product
Definition: MMSD_DoubleVector.h:142
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106