Samll Real Double-precision General Dence Matrix Class. More...
#include <dgematrix_small.hpp>
Public Member Functions | |
dgematrix_small () | |
dgematrix_small (const dgematrix &) | |
~dgematrix_small () | |
_dgematrix | to_dgematrix () const |
double & | operator() (const CPPL_INT &i, const CPPL_INT &j) |
double | operator() (const CPPL_INT &i, const CPPL_INT &j) const |
dgematrix_small< m, n > & | set (const CPPL_INT &i, const CPPL_INT &j, const double &v) |
void | read (const char *filename) |
void | write (const char *filename) const |
dgematrix_small< m, n > & | zero () |
dgematrix_small< m, n > & | identity () |
dcovector_small< m > | col (const CPPL_INT &j) const |
drovector_small< n > | row (const CPPL_INT &i) const |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > & | operator= (const dgematrix_small< M, N > &) |
Public Attributes | |
double | array [m *n] |
1D array to store vector data More... | |
Friends | |
template<CPPL_INT _m, CPPL_INT _n> | |
std::ostream & | operator<< (std::ostream &, const dgematrix_small< _m, _n > &) |
template<CPPL_INT _m, CPPL_INT _n> | |
dgematrix_small< n, m > | t (const dgematrix_small< m, n > &) |
template<CPPL_INT _m, CPPL_INT _n> | |
void | idamax (CPPL_INT &, CPPL_INT &, const dgematrix_small &) |
template<CPPL_INT _m, CPPL_INT _n> | |
double | damax (const dgematrix_small &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > & | operator+= (dgematrix_small< M, N > &, const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > & | operator-= (dgematrix_small< M, N > &, const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT L, CPPL_INT N> | |
dgematrix_small< M, N > & | operator*= (dgematrix_small< M, L > &, const dgematrix_small< L, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > & | operator*= (dgematrix_small< M, N > &, const double &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > & | operator/= (dgematrix_small< M, N > &, const double &) |
template<CPPL_INT M, CPPL_INT N> | |
const dgematrix_small< M, N > & | operator+ (const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator- (const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator+ (const dgematrix_small< M, N > &, const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator+ (const dgematrix_small< M, N > &, const dsymatrix_small< N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator- (const dgematrix_small< M, N > &, const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator- (const dgematrix_small< M, N > &, const dsymatrix_small< N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dcovector_small< M > | operator* (const dgematrix_small< M, N > &, const dcovector_small< N > &) |
template<CPPL_INT M, CPPL_INT L, CPPL_INT N> | |
dgematrix_small< M, N > | operator* (const dgematrix_small< M, L > &, const dgematrix_small< L, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator* (const dgematrix_small< M, N > &, const dsymatrix_small< N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator* (const dgematrix_small< M, N > &, const double &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator/ (const dgematrix_small< M, N > &, const double &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | operator* (const double &, const dgematrix_small< M, N > &) |
template<CPPL_INT M, CPPL_INT N> | |
dgematrix_small< M, N > | hadamerd (const dgematrix_small< M, N > &, const dgematrix_small< M, N > &) |
template<CPPL_INT N> | |
dgematrix_small< N, N > | hadamerd (const dgematrix_small< N, N > &, const dsymatrix_small< N > &) |
Samll Real Double-precision General Dence Matrix Class.
Definition at line 3 of file dgematrix_small.hpp.
|
inline |
dgematrix_small constructor
Definition at line 4 of file dgematrix_small-constructors.hpp.
|
inlineexplicit |
dgematrix_small constructor
Definition at line 12 of file dgematrix_small-constructors.hpp.
References dgematrix::array, dgematrix::m, and dgematrix::n.
|
inline |
dgematrix_small destructor
Definition at line 35 of file dgematrix_small-constructors.hpp.
|
inline |
|
inline |
operator()
Definition at line 22 of file dgematrix_small-functions.hpp.
|
inline |
operator() for const
Definition at line 39 of file dgematrix_small-functions.hpp.
|
inline |
|
inline |
read from file
Definition at line 100 of file dgematrix_small-functions.hpp.
References i().
|
inline |
|
inline |
zero
Definition at line 219 of file dgematrix_small-functions.hpp.
Referenced by operator*(), and operator*=().
|
inline |
|
inline |
return the j-th column vector
Definition at line 243 of file dgematrix_small-functions.hpp.
References i().
|
inline |
return the i-th row vector
Definition at line 253 of file dgematrix_small-functions.hpp.
References i().
|
inline |
|
friend |
|
friend |
return transposed matrix
Definition at line 158 of file dgematrix_small-functions.hpp.
|
friend |
find index of the maximum component
Definition at line 187 of file dgematrix_small-functions.hpp.
|
friend |
return the maximum component
Definition at line 205 of file dgematrix_small-functions.hpp.
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
|
friend |
double dgematrix_small< m, n >::array[m *n] |
1D array to store vector data
Definition at line 9 of file dgematrix_small.hpp.
Referenced by operator*=(), operator+=(), operator-=(), and operator/=().