Real Double-precision Column Vector Class. More...
#include <dcovector.hpp>
Public Member Functions | |
dcovector () | |
dcovector (const dcovector &) | |
dcovector (const _dcovector &) | |
dcovector (const CPPL_INT &, const CPPL_INT=0) | |
dcovector (const char *) | |
~dcovector () | |
_zcovector | to_zcovector () const |
double & | operator() (const CPPL_INT &) |
double | operator() (const CPPL_INT &) const |
dcovector & | set (const CPPL_INT &, const double &) |
void | write (const char *) const |
void | read (const char *) |
void | clear () |
dcovector & | zero () |
void | chsign () |
void | copy (const dcovector &) |
void | shallow_copy (const _dcovector &) |
void | alias (const dcovector &) |
void | unalias () |
dcovector & | resize (const CPPL_INT &, const CPPL_INT=0) |
void | stretch (const CPPL_INT &) |
dcovector & | operator= (const dcovector &) |
dcovector & | operator= (const _dcovector &) |
dcovector & | operator+= (const dcovector &) |
dcovector & | operator+= (const _dcovector &) |
dcovector & | operator-= (const dcovector &) |
dcovector & | operator-= (const _dcovector &) |
dcovector & | operator*= (const double &) |
dcovector & | operator/= (const double &) |
Public Attributes | |
CPPL_INT | l |
vector size More... | |
CPPL_INT | cap |
vector capacity More... | |
double * | array |
1D array to store vector data More... | |
Real Double-precision Column Vector Class.
Definition at line 3 of file dcovector.hpp.
|
inline |
|
inline |
|
inline |
dcovector constructor to cast _dcovector
Definition at line 27 of file dcovector-constructor.hpp.
References array, _dcovector::array, cap, _dcovector::cap, _dcovector::l, l, and _dcovector::nullify().
|
inline |
dcovector constructor with size specification
Definition at line 39 of file dcovector-constructor.hpp.
|
inline |
|
inline |
|
inline |
cast to _zcovector
Definition at line 3 of file dcovector-cast.hpp.
References _, zcovector::array, array, i(), and l.
|
inline |
operator() for non-const object
Definition at line 3 of file dcovector-io.hpp.
Referenced by read(), and write().
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 90 of file dcovector-io.hpp.
References i(), l, operator()(), and resize().
Referenced by dcovector().
|
inline |
clear vector
Definition at line 3 of file dcovector-misc.hpp.
Referenced by dgematrix::dgels(), dgematrix::dgelsd(), dgematrix::dgelss(), and dgematrix::dgglse().
|
inline |
make vector into zero vector
Definition at line 13 of file dcovector-misc.hpp.
Referenced by dssmatrix::col(), dgsmatrix::col(), dgrmatrix::dfgmres(), dgrmatrix::ilut_dfgmres(), and operator*().
|
inline |
|
inline |
make a deep copy of the dcovector
Definition at line 28 of file dcovector-misc.hpp.
Referenced by operator=().
|
inline |
make a shallow copy of the vector
This function is not desinged to be used in project codes.
Definition at line 41 of file dcovector-misc.hpp.
References array, _dcovector::array, cap, _dcovector::cap, _dcovector::l, l, and _dcovector::nullify().
Referenced by operator=().
|
inline |
make an alias of the vector
Be carefull to use this function not to cause double free.
Definition at line 54 of file dcovector-misc.hpp.
|
inline |
|
inline |
resize vector
Definition at line 73 of file dcovector-misc.hpp.
Referenced by dgematrix::dgelsd(), dgematrix::dgelss(), dgematrix::dgesvd(), dgematrix::dgglse(), read(), zgematrix::zgelss(), and zgematrix::zgesvd().
|
inline |
|
inline |
dcovector=_dcovector operator
Definition at line 3 of file dcovector-_dcovector.hpp.
References shallow_copy().
|
inline |
dcovector+=_dcovector operator
Definition at line 15 of file dcovector-_dcovector.hpp.
References array, _dcovector::array, _dcovector::destroy(), i(), l, and _dcovector::l.
|
inline |
dcovector operator-=
Definition at line 34 of file dcovector-_dcovector.hpp.
References array, _dcovector::array, _dcovector::destroy(), i(), l, and _dcovector::l.
|
inline |
|
inline |
|
friend |
Definition at line 59 of file dcovector-io.hpp.
|
friend |
|
friend |
|
friend |
return the index of element having the largest absolute value in 0-based numbering system
Definition at line 25 of file dcovector-calc.hpp.
|
friend |
|
friend |
convert user object to smart-temporary object
Definition at line 136 of file dcovector-misc.hpp.
Referenced by to_zcovector().
+dcovector operator
Definition at line 3 of file dcovector-unary.hpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
dcovector^T*dcovector operator (inner product)
Definition at line 100 of file dcovector-dcovector.hpp.
|
friend |
dcovector^T*dcovector operator (inner product)
Definition at line 96 of file dcovector-_dcovector.hpp.
|
friend |
|
friend |
CPPL_INT dcovector::l |
vector size
Definition at line 9 of file dcovector.hpp.
Referenced by _(), alias(), chsign(), clear(), copy(), damax(), dcovector(), dcovector_small< l >::dcovector_small(), dgrmatrix::dfgmres(), dgbmatrix::dgbsv(), dgematrix::dgels(), dgematrix::dgelsd(), dgematrix::dgelss(), dgematrix::dgesv(), dgematrix::dgglse(), dsymatrix::dsysv(), hadamerd(), idamax(), dgrmatrix::ilut_dfgmres(), nrm2(), operator%(), operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), dgrmatrix::pardiso(), dgsmatrix::pardiso(), dssmatrix::pardiso_definite(), dssmatrix::pardiso_indefinite(), read(), resize(), set(), shallow_copy(), stretch(), swap(), t(), to_zcovector(), unalias(), write(), and zero().
CPPL_INT dcovector::cap |
vector capacity
Definition at line 10 of file dcovector.hpp.
Referenced by _(), alias(), clear(), copy(), dcovector(), resize(), shallow_copy(), stretch(), swap(), and unalias().
double* dcovector::array |
1D array to store vector data
Definition at line 11 of file dcovector.hpp.
Referenced by _(), alias(), chsign(), clear(), copy(), damax(), dcovector(), dcovector_small< l >::dcovector_small(), dgrmatrix::dfgmres(), dgbmatrix::dgbsv(), dgematrix::dgels(), dgematrix::dgelsd(), dgematrix::dgelss(), dgematrix::dgesv(), dgematrix::dgesvd(), dgematrix::dgglse(), dsymatrix::dsysv(), idamax(), dgrmatrix::ilut_dfgmres(), nrm2(), operator%(), operator()(), operator*(), operator*=(), operator+(), operator+=(), operator-(), operator-=(), operator/(), operator/=(), operator<<(), operator=(), dgrmatrix::pardiso(), dgsmatrix::pardiso(), dssmatrix::pardiso_definite(), dssmatrix::pardiso_indefinite(), resize(), set(), shallow_copy(), stretch(), swap(), t(), to_zcovector(), unalias(), zero(), zgematrix::zgelss(), zgematrix::zgesvd(), and ~dcovector().