25 inline double&
operator()(
const CPPL_INT&
i,
const CPPL_INT& j);
26 inline double operator()(
const CPPL_INT&
i,
const CPPL_INT& j)
const;
28 template<CPPL_INT _m, CPPL_INT _n>
inline friend std::ostream& operator<<(std::ostream&, const dgematrix_small<_m,_n>&);
29 inline void read(
const char* filename);
30 inline void write(
const char* filename)
const;
35 template<CPPL_INT _m, CPPL_INT _n>
inline friend void idamax(CPPL_INT&, CPPL_INT&,
const dgematrix_small&);
88 inline double det(
const dgemat2&);
89 inline dgemat2
inv(
const dgemat2&);
90 inline dgemat2
rotate(
const dgemat2&,
const double&);
91 inline dgemat2
t2m(
const double&);
93 inline double det(
const dgemat3&);
94 inline dgemat3
inv(
const dgemat3&);
95 inline dgemat3
rotate(
const dgemat3&,
const dquater&);
96 inline dquater
m2q(
const dgemat3&);
98 inline double det(
const dgemat4&);
99 inline dgemat4
inv(
const dgemat4&);
void write(const char *filename) const
dgematrix_small< m, n > & identity()
dgemat2 rotate(const dgemat2 &, const double &)
dgematrix_small< m, n > & set(const CPPL_INT &i, const CPPL_INT &j, const double &v)
double & operator()(const CPPL_INT &i, const CPPL_INT &j)
Samll Real Double-precision Symmetric Matrix Class.
void read(const char *filename)
friend dgematrix_small< n, m > t(const dgematrix_small< m, n > &)
friend dcovector_small< M > operator*(const dgematrix_small< M, N > &, const dcovector_small< N > &)
Samll Real Double-precision General Dence Matrix Class.
friend dgematrix_small< M, N > & operator/=(dgematrix_small< M, N > &, const double &)
_dgematrix i(const _dgbmatrix &mat)
friend dgematrix_small< M, N > & operator+=(dgematrix_small< M, N > &, const dgematrix_small< M, N > &)
dgematrix_small< m, n > & zero()
friend dgematrix_small< M, N > & operator-=(dgematrix_small< M, N > &, const dgematrix_small< M, N > &)
Real Double-precision General Dence Matrix Class.
Samll Real Double-precision Row Vector Class.
dgematrix_small< M, N > & operator=(const dgematrix_small< M, N > &)
dcovector_small< m > col(const CPPL_INT &j) const
(DO NOT USE) Smart-temporary Real Double-precision General Dence Matrix Class
friend dgematrix_small< M, N > operator-(const dgematrix_small< M, N > &)
dgemat2 inv(const dgemat2 &)
friend void idamax(CPPL_INT &, CPPL_INT &, const dgematrix_small &)
friend dgematrix_small< M, N > hadamerd(const dgematrix_small< M, N > &, const dgematrix_small< M, N > &)
Samll Real Double-precision Column Vector Class.
double array[m *n]
1D array to store vector data
friend double damax(const dgematrix_small &)
drovector_small< n > row(const CPPL_INT &i) const
friend dgematrix_small< M, N > & operator*=(dgematrix_small< M, L > &, const dgematrix_small< L, N > &)
double det(const dgemat2 &)
dquater m2q(const dgemat3 &)
friend const dgematrix_small< M, N > & operator+(const dgematrix_small< M, N > &)
friend dgematrix_small< M, N > operator/(const dgematrix_small< M, N > &, const double &)
_dgematrix to_dgematrix() const
dgemat2 t2m(const double &)