1 #ifndef LAP_ConstDoubleVector_H
2 #define LAP_ConstDoubleVector_H
59 inline static SP::LAP_ConstDoubleVector
New() {
84 throw LAP_Exception(
"math/linalg/core",
"LAP_DoubleVector::Product",
"incompatible dimension of vector");
141 inline double distance2(SPC::LAP_DoubleVector b)
const {
147 inline double distance2(SPC::LAP_ConstDoubleVector b)
const {
virtual ~LAP_ConstDoubleVector()
destroy a vector
Definition: LAP_ConstDoubleVector.cpp:9
this class describes the exceptions raised for LAP package
Definition: LAP_Exception.h:14
tLVectorIndex indexMax() const
return the i such that |xi| is maximum idamax blas method called
Definition: LAP_ConstDoubleVector.h:99
static SP::LAP_ConstDoubleVector New()
create a new vector of double
Definition: LAP_ConstDoubleVector.h:59
double product(const LAP_DoubleVector &x) const
return result= the view is taken into account ddot blas method called
Definition: LAP_ConstDoubleVector.cpp:15
Definition: LAP_DoubleVector.h:20
tLVectorIndex getSize() const
get the size of the vector
Definition: LAP_ConstVector.h:170
double norm1() const
return the sum(|xi|) dasum blas method called
Definition: LAP_ConstDoubleVector.h:110
#define null
Definition: types.h:13
tLVectorIndex DoubleVectorIndexMax(const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x)
Definition: dvector_functions.cpp:175
tLVectorIndex indexMin() const
return the i such that |xi| is minimum
Definition: LAP_ConstDoubleVector.cpp:27
double DoubleVectorNorm2(const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x)
Definition: dvector_functions.cpp:192
double norm2() const
return the sqrt(sum([xi|^2)) dnrm2 blas method called
Definition: LAP_ConstDoubleVector.h:122
double distance2(SPC::LAP_ConstDoubleVector b) const
return the norm2 of (this-b)
Definition: LAP_ConstDoubleVector.h:147
#define tLVectorIndex
Definition: lapack_types.h:13
double product(const LAP_ConstDoubleVector &x) const
return result= the view is taken into account ddot blas method called
Definition: LAP_ConstDoubleVector.h:82
double distance2(SPC::LAP_DoubleVector b) const
return the norm2 of (this-b)
Definition: LAP_ConstDoubleVector.h:141
double distance2(const LAP_DoubleVector &b) const
return the norm2 of (this-b)
Definition: LAP_ConstDoubleVector.cpp:96
LAP_ConstDoubleVector()
build a vector
Definition: LAP_ConstDoubleVector.cpp:5
const tLVectorIncrement & getIncrement() const
get the increment of the vector
Definition: LAP_ConstVector.h:175
DEFINE_SVPTR(LAP_ConstDoubleVector)
double DoubleVectorDot(const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x, const tLVectorIncrement &incY, const double *y)
Definition: dvector_functions.cpp:139
double sum() const
return the sum(xi) dasum blas method called
Definition: LAP_ConstDoubleVector.cpp:132
DEFINE_SPTR(LAP_ConstDoubleVector)
Definition: LAP_ConstDoubleVector.h:25
double normInf() const
return the the maximum value of [xi|
Definition: LAP_ConstDoubleVector.h:127
this class describes a vector of const double
Definition: LAP_ConstVector.h:14
double DoubleVectorNorm1(const tLVectorIndex &nX, const tLVectorIncrement &incX, const double *x)
Definition: dvector_functions.cpp:184
static double product(const LAP_ConstDoubleVector &v, const LAP_ConstDoubleVector &w)
Definition: LAP_ConstDoubleVector.h:90
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106