28 #ifndef _math_scmat_matrix_i_h
29 #define _math_scmat_matrix_i_h
34 #include <math/scmat/matrix.h>
38 #ifdef INLINE_FUNCTIONS
50 SCMatrixdouble::SCMatrixdouble(SCMatrix*a,
int b,
int c):
55 SCMatrixdouble::~SCMatrixdouble()
59 SCMatrixdouble::operator=(
double a)
61 matrix.set_element(i,j,a);
65 SCMatrixdouble::operator=(
const SCMatrixdouble& md)
68 matrix.set_element(i,j,a);
72 SCMatrixdouble::operator double()
74 return matrix.get_element(i,j);
77 SCMatrixdouble::val()
const
79 return matrix.get_element(i,j);
86 SymmSCMatrixdouble::SymmSCMatrixdouble(SymmSCMatrix*a,
int b,
int c):
91 SymmSCMatrixdouble::~SymmSCMatrixdouble()
95 SymmSCMatrixdouble::operator=(
double a)
97 matrix.set_element(i,j,a);
101 SymmSCMatrixdouble::operator=(
const SymmSCMatrixdouble& md)
104 matrix.set_element(i,j,a);
108 SymmSCMatrixdouble::operator double()
110 return matrix.get_element(i,j);
113 SymmSCMatrixdouble::val()
const
115 return matrix.get_element(i,j);
122 DiagSCMatrixdouble::DiagSCMatrixdouble(DiagSCMatrix*a,
int b,
int c):
127 DiagSCMatrixdouble::~DiagSCMatrixdouble()
131 DiagSCMatrixdouble::operator=(
double a)
133 matrix.set_element(i,a);
137 DiagSCMatrixdouble::operator=(
const DiagSCMatrixdouble& md)
140 matrix.set_element(i,a);
144 DiagSCMatrixdouble::operator double()
146 return matrix.get_element(i);
149 DiagSCMatrixdouble::val()
const
151 return matrix.get_element(i);
158 SCVectordouble::SCVectordouble(SCVector*a,
int b):
163 SCVectordouble::~SCVectordouble()
167 SCVectordouble::operator=(
double a)
169 vector.set_element(i,a);
173 SCVectordouble::operator=(
const SCVectordouble& vd)
176 vector.set_element(i,a);
180 SCVectordouble::operator double()
182 return vector.get_element(i);
185 SCVectordouble::val()
const
187 return vector.get_element(i);