#include <cpplapack.h>
Definition at line 432 of file cpplapack.h.
dsymatrix::dsymatrix | ( | ) | [inline] |
dsymatrix constructor without arguments
Definition at line 10688 of file cpplapack.h.
dsymatrix::dsymatrix | ( | const dsymatrix & | mat | ) | [inline] |
dsymatrix copy constructor
Definition at line 10710 of file cpplapack.h.
dsymatrix::dsymatrix | ( | const _dsymatrix & | mat | ) | [inline] |
dsymatrix constructor to cast _dsymatrix
Definition at line 10736 of file cpplapack.h.
CPPL::dsymatrix::dsymatrix | ( | const dgbmatrix & | ) | [inline] |
CPPL::dsymatrix::dsymatrix | ( | const _dgbmatrix & | ) | [inline] |
dsymatrix::dsymatrix | ( | const long & | _n | ) | [inline] |
dsymatrix constructor with size specification
Definition at line 10758 of file cpplapack.h.
dsymatrix::dsymatrix | ( | const char * | filename | ) | [inline] |
dsymatrix constructor with filename
Definition at line 10791 of file cpplapack.h.
dsymatrix::~dsymatrix | ( | ) | [inline] |
dsymatrix destructor
Definition at line 10817 of file cpplapack.h.
void dsymatrix::chsign | ( | ) | [inline] |
change sign(+/-) of the matrix
Definition at line 11104 of file cpplapack.h.
void dsymatrix::clear | ( | ) | [inline] |
clear all the matrix data and set the sizes 0
Definition at line 11057 of file cpplapack.h.
void dsymatrix::complete | ( | ) | const [inline] |
complete the upper-right components
Definition at line 11041 of file cpplapack.h.
void dsymatrix::copy | ( | const dsymatrix & | mat | ) | [inline] |
make a deep copy of the matrix
Definition at line 11116 of file cpplapack.h.
long dsymatrix::dsyev | ( | std::vector< double > & | w, | |
std::vector< drovector > & | v | |||
) | [inline] |
calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w and v are overwitten and become eigenvalues and eigenvectors, respectively. This matrix is also overwritten.
Definition at line 11436 of file cpplapack.h.
long dsymatrix::dsyev | ( | std::vector< double > & | w, | |
std::vector< dcovector > & | v | |||
) | [inline] |
calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w and v are overwitten and become eigenvalues and eigenvectors, respectively. This matrix is also overwritten.
Definition at line 11395 of file cpplapack.h.
long dsymatrix::dsyev | ( | std::vector< double > & | w, | |
const bool & | jobz = 0 | |||
) | [inline] |
calculate eigenvalues and eigenvectors.
All of the arguments need not to be initialized. w is overwitten and become eigenvalues. This matrix is also overwritten. if jobz=1, this matrix becomes eigenvectors.
Definition at line 11359 of file cpplapack.h.
long dsymatrix::dsygv | ( | dsymatrix & | matB, | |
std::vector< double > & | w, | |||
std::vector< dcovector > & | v | |||
) | [inline] |
calculate generalized eigenvalues
w is overwitten and become generalized eigenvalues. This matrix and matB are also overwritten.
Definition at line 11528 of file cpplapack.h.
long dsymatrix::dsygv | ( | dsymatrix & | matB, | |
std::vector< double > & | w | |||
) | [inline] |
calculate generalized eigenvalues
w is overwitten and become generalized eigenvalues. This matrix and matB are also overwritten.
Definition at line 11479 of file cpplapack.h.
long dsymatrix::dsysv | ( | dcovector & | vec | ) | [inline] |
solve A*x=y using dsysv
The argument is dcovector y. y is overwritten and become the solution x. A is also overwritten.
Definition at line 11312 of file cpplapack.h.
long dsymatrix::dsysv | ( | dgematrix & | mat | ) | [inline] |
solve A*X=Y using dsysv
The argument is dmatrix Y. Y is overwritten and become the solution X. A is also overwritten.
Definition at line 11271 of file cpplapack.h.
void dsymatrix::identity | ( | ) | [inline] |
change the matrix into an identity matrix
Definition at line 11091 of file cpplapack.h.
dsymatrix::operator _zhematrix | ( | ) | [inline] |
cast operator to _zhematrix
Definition at line 10834 of file cpplapack.h.
double dsymatrix::operator() | ( | const long & | i, | |
const long & | j | |||
) | const [inline] |
operator() for const object
Definition at line 10885 of file cpplapack.h.
double & dsymatrix::operator() | ( | const long & | i, | |
const long & | j | |||
) | [inline] |
operator() for non-const object
Definition at line 10857 of file cpplapack.h.
dsymatrix & dsymatrix::operator*= | ( | const double & | d | ) | [inline] |
dsymatrix*=double operator
Definition at line 12515 of file cpplapack.h.
dsymatrix& CPPL::dsymatrix::operator*= | ( | const _dsymatrix & | ) | [inline] |
dsymatrix & dsymatrix::operator+= | ( | const _dsymatrix & | mat | ) | [inline] |
dsymatrix+=_dsymatrix operator
Definition at line 12144 of file cpplapack.h.
dsymatrix+=dsymatrix operator
Definition at line 11994 of file cpplapack.h.
dsymatrix & dsymatrix::operator-= | ( | const _dsymatrix & | mat | ) | [inline] |
dsymatrix-=_dsymatrix operator
Definition at line 12171 of file cpplapack.h.
dsymatrix operator-=
Definition at line 12019 of file cpplapack.h.
dsymatrix & dsymatrix::operator/= | ( | const double & | d | ) | [inline] |
dsymatrix/=double operator
Definition at line 12528 of file cpplapack.h.
dsymatrix & dsymatrix::operator= | ( | const _dsymatrix & | mat | ) | [inline] |
dsymatrix=_dsymatrix operator
Definition at line 12127 of file cpplapack.h.
dsymatrix=dsymatrix operator
Definition at line 11975 of file cpplapack.h.
void dsymatrix::read | ( | const char * | filename | ) | [inline] |
Definition at line 10995 of file cpplapack.h.
void dsymatrix::resize | ( | const long & | _n | ) | [inline] |
resize the matrix
Definition at line 11168 of file cpplapack.h.
void dsymatrix::set | ( | const long & | i, | |
const long & | j, | |||
const double & | v | |||
) | const [inline] |
set value for const object
Definition at line 10917 of file cpplapack.h.
void dsymatrix::shallow_copy | ( | const _dsymatrix & | mat | ) | [inline] |
make a shallow copy of the matrix
This function is not designed to be used in project codes.
Definition at line 11146 of file cpplapack.h.
void dsymatrix::write | ( | const char * | filename | ) | const [inline] |
Definition at line 10974 of file cpplapack.h.
void dsymatrix::zero | ( | ) | [inline] |
change the matrix into a zero matrix
Definition at line 11079 of file cpplapack.h.
_dsymatrix _ | ( | dsymatrix & | mat | ) | [friend] |
convert user object to smart-temporary object
Definition at line 11211 of file cpplapack.h.
friend class _dcovector [friend] |
Definition at line 592 of file cpplapack.h.
friend class _dgbmatrix [friend] |
Definition at line 587 of file cpplapack.h.
friend class _dgematrix [friend] |
Definition at line 585 of file cpplapack.h.
friend class _drovector [friend] |
Definition at line 594 of file cpplapack.h.
friend class _dssmatrix [friend] |
Definition at line 590 of file cpplapack.h.
friend class _dsymatrix [friend] |
Definition at line 588 of file cpplapack.h.
friend class dcovector [friend] |
Definition at line 591 of file cpplapack.h.
friend class dgbmatrix [friend] |
Definition at line 586 of file cpplapack.h.
friend class dgematrix [friend] |
Definition at line 584 of file cpplapack.h.
friend class drovector [friend] |
Definition at line 593 of file cpplapack.h.
friend class dssmatrix [friend] |
Definition at line 589 of file cpplapack.h.
_dgematrix i | ( | const dsymatrix & | mat | ) | [friend] |
return its inverse matrix
Definition at line 11252 of file cpplapack.h.
_dsymatrix operator* | ( | const double & | d, | |
const dsymatrix & | mat | |||
) | [friend] |
double*dsymatrix operator
Definition at line 20223 of file cpplapack.h.
_dsymatrix operator* | ( | const dsymatrix & | mat, | |
const double & | d | |||
) | [friend] |
dsymatrix*double operator
Definition at line 12545 of file cpplapack.h.
_drovector operator* | ( | const _drovector & | vec, | |
const dsymatrix & | mat | |||
) | [friend] |
_drovector*dsymatrix operator
Definition at line 19818 of file cpplapack.h.
_drovector operator* | ( | const drovector & | vec, | |
const dsymatrix & | mat | |||
) | [friend] |
drovector*dsymatrix operator
Definition at line 18922 of file cpplapack.h.
_dcovector operator* | ( | const dsymatrix & | mat, | |
const _dcovector & | vec | |||
) | [friend] |
dsymatrix*_dcovector operator
Definition at line 12486 of file cpplapack.h.
_dcovector operator* | ( | const dsymatrix & | mat, | |
const dcovector & | vec | |||
) | [friend] |
dsymatrix*dcovector operator
Definition at line 12460 of file cpplapack.h.
_dgematrix operator* | ( | const _dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dssmatrix*dsymatrix operator
Definition at line 16430 of file cpplapack.h.
_dgematrix operator* | ( | const dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dssmatrix*dsymatrix operator
Definition at line 15077 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const _dssmatrix & | matB | |||
) | [friend] |
dsymatrix*_dssmatrix operator
Definition at line 12428 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const dssmatrix & | matB | |||
) | [friend] |
dsymatrix*dssmatrix operator
Definition at line 12339 of file cpplapack.h.
_dgematrix operator* | ( | const _dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgbmatrix*dgematrix operator
Definition at line 10267 of file cpplapack.h.
_dgematrix operator* | ( | const dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgbmatrix*dsymatrix operator
Definition at line 9039 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const _dgbmatrix & | matB | |||
) | [friend] |
dsymatrix*_dgbmatrix operator
Definition at line 11940 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const dgbmatrix & | matB | |||
) | [friend] |
dsymatrix*dgbmatrix operator
Definition at line 11840 of file cpplapack.h.
_dgematrix operator* | ( | const _dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgematrix*dsymatrix operator
Definition at line 7158 of file cpplapack.h.
_dgematrix operator* | ( | const dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgematrix*dsymatrix operator
Definition at line 5960 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const _dgematrix & | matB | |||
) | [friend] |
_dgematrix*dgematrix operator
Definition at line 11750 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const dgematrix & | matB | |||
) | [friend] |
dsymatrix*dgematrix operator
Definition at line 11669 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dsymatrix*dsymatrix operator
Definition at line 12099 of file cpplapack.h.
_dgematrix operator* | ( | const dsymatrix & | matA, | |
const _dsymatrix & | matB | |||
) | [friend] |
dsymatrix*_dsymatrix operator
Definition at line 12254 of file cpplapack.h.
_dgematrix operator* | ( | const _dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dsymatrix*dsymatrix operator
Definition at line 13264 of file cpplapack.h.
_dgematrix operator+ | ( | const _dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dssmatrix+dsymatrix operator
Definition at line 16372 of file cpplapack.h.
_dgematrix operator+ | ( | const dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dssmatrix+dsymatrix operator
Definition at line 15018 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const _dssmatrix & | matB | |||
) | [friend] |
dsymatrix+_dssmatrix operator
Definition at line 12370 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const dssmatrix & | matB | |||
) | [friend] |
dsymatrix+dssmatrix operator
Definition at line 12283 of file cpplapack.h.
_dgematrix operator+ | ( | const _dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgbmatrix+dsymatrix operator
Definition at line 10207 of file cpplapack.h.
_dgematrix operator+ | ( | const dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgbmatrix+dsymatrix operator
Definition at line 8975 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const _dgbmatrix & | matB | |||
) | [friend] |
dsymatrix+_dgbmatrix operator
Definition at line 11874 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const dgbmatrix & | matB | |||
) | [friend] |
dsymatrix+dgbmatrix operator
Definition at line 11776 of file cpplapack.h.
_dgematrix operator+ | ( | const _dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgematrix+dsymatrix operator
Definition at line 7102 of file cpplapack.h.
_dgematrix operator+ | ( | const dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgematrix+dsymatrix operator
Definition at line 5900 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const _dgematrix & | matB | |||
) | [friend] |
_dgematrix+dsymatrix operator
Definition at line 11694 of file cpplapack.h.
_dgematrix operator+ | ( | const dsymatrix & | matA, | |
const dgematrix & | matB | |||
) | [friend] |
dsymatrix+dgematrix operator
Definition at line 11610 of file cpplapack.h.
_dsymatrix operator+ | ( | const _dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dsymatrix+dsymatrix operator
Definition at line 13216 of file cpplapack.h.
_dsymatrix operator+ | ( | const dsymatrix & | matA, | |
const _dsymatrix & | matB | |||
) | [friend] |
dsymatrix+_dsymatrix operator
Definition at line 12202 of file cpplapack.h.
_dsymatrix operator+ | ( | const dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dsymatrix+dsymatrix operator
Definition at line 12044 of file cpplapack.h.
+dsymatrix operator
Definition at line 11584 of file cpplapack.h.
_dgematrix operator- | ( | const _dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dssmatrix-dsymatrix operator
Definition at line 16401 of file cpplapack.h.
_dgematrix operator- | ( | const dssmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dssmatrix-dsymatrix operator
Definition at line 15046 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const _dssmatrix & | matB | |||
) | [friend] |
dsymatrix-_dssmatrix operator
Definition at line 12399 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const dssmatrix & | matB | |||
) | [friend] |
dsymatrix-dssmatrix operator
Definition at line 12311 of file cpplapack.h.
_dgematrix operator- | ( | const _dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgbmatrix-dsymatrix operator
Definition at line 10237 of file cpplapack.h.
_dgematrix operator- | ( | const dgbmatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgbmatrix-dsymatrix operator
Definition at line 9007 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const _dgbmatrix & | matB | |||
) | [friend] |
dsymatrix-_dgbmatrix operator
Definition at line 11907 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const dgbmatrix & | matB | |||
) | [friend] |
dsymatrix-dgbmatrix operator
Definition at line 11808 of file cpplapack.h.
_dgematrix operator- | ( | const _dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dgematrix-dsymatrix operator
Definition at line 7130 of file cpplapack.h.
_dgematrix operator- | ( | const dgematrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dgematrix-dsymatrix operator
Definition at line 5930 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const _dgematrix & | matB | |||
) | [friend] |
_dgematrix-dgematrix operator
Definition at line 11722 of file cpplapack.h.
_dgematrix operator- | ( | const dsymatrix & | matA, | |
const dgematrix & | matB | |||
) | [friend] |
dsymatrix-dgematrix operator
Definition at line 11639 of file cpplapack.h.
_dsymatrix operator- | ( | const _dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
_dsymatrix-dsymatrix operator
Definition at line 13240 of file cpplapack.h.
_dsymatrix operator- | ( | const dsymatrix & | matA, | |
const _dsymatrix & | matB | |||
) | [friend] |
dsymatrix-_dsymatrix operator
Definition at line 12228 of file cpplapack.h.
_dsymatrix operator- | ( | const dsymatrix & | matA, | |
const dsymatrix & | matB | |||
) | [friend] |
dsymatrix-dsymatrix operator
Definition at line 12071 of file cpplapack.h.
_dsymatrix operator- | ( | const dsymatrix & | mat | ) | [friend] |
-dsymatrix operator
Definition at line 11596 of file cpplapack.h.
_dsymatrix operator/ | ( | const dsymatrix & | mat, | |
const double & | d | |||
) | [friend] |
dsymatrix/double operator
Definition at line 12560 of file cpplapack.h.
std::ostream& operator<< | ( | std::ostream & | s, | |
const dsymatrix & | mat | |||
) | [friend] |
Definition at line 10949 of file cpplapack.h.
swap two matrices
Definition at line 11195 of file cpplapack.h.
_dsymatrix t | ( | const dsymatrix & | mat | ) | [friend] |
return transposed dgematrix
Definition at line 11233 of file cpplapack.h.
double* const& CPPL::dsymatrix::array |
double** const& CPPL::dsymatrix::darray |
long const& CPPL::dsymatrix::n |