94 #include "utility/matrix/nDarray/basics.h" 127 friend class stiffness_matrix;
151 void *
operator new(
size_t s);
152 void operator delete(
void *);
165 friend class stiffness_matrix;
182 nDarray(
int rank_of_nDarray=1,
double initval=0.0);
183 nDarray(
int rank_of_nDarray,
const int *pdim,
double *values);
184 nDarray(
int rank_of_nDarray,
const int *pdim,
double initvalue);
190 nDarray(
int rank_of_nDarray,
int rows,
int cols,
double *values);
191 nDarray(
int rank_of_nDarray,
int rows,
int cols,
double initvalue);
194 explicit nDarray(
const std::string &){};
196 nDarray(
const std::string &flag,
int rank_of_nDarray,
const int *pdim);
204 void Initialize(
const nDarray &from );
205 void Initialize_all(
const nDarray &from);
209 void Reset_to(
double value );
234 const double &val(
int subscript, ...)
const;
235 double &val(
int subscript, ...);
236 const double &val4(
int first,
int second,
int third,
int fourth)
const;
237 double &val4(
int first,
int second,
int third,
int fourth);
257 double cval(
int subscript, ...)
const;
287 nDarray operator+(
double rval);
288 nDarray operator-(
double rval);
289 nDarray operator*(
const double rval)
const ;
293 double sum(
void)
const;
294 double trace(
void)
const;
298 bool operator==(
const nDarray &rval);
310 void print(
const std::string &name =
"t",
const std::string &msg =
"Hi there#")
const;
311 void printshort(
const std::string &msg =
"Hi there#")
const;
312 void mathprint(
void)
const;
315 double Frobenius_norm(
void );
317 double General_norm(
double p );
320 int number_of_zeros(
void)
const;
327 int rank(
void)
const;
328 int dim(
int which)
const;
332 void tqli(
double * d,
double * e,
int n,
double ** z);
333 void tred2(
double ** a,
int n,
double * d,
double * e);
334 void eigsrt(
double * d,
double ** v,
int n);
337 double* data(
void)
const;
338 void set_data_pointer(
double* );
341 long int total_number(
void)
const ;
342 void total_number(
long int );
343 int* dim(
void)
const ;
344 int& get_dim_pointer(
void)
const ;
345 void set_dim_pointer(
int* );
347 int reference_count(
int );
348 void set_reference_count(
int );
Definition: Cosseratstraint.h:64
Definition: BJtensor.h:110
Definition: BJvector.h:100
Strain tensor.
Definition: straint.h:67
Definition: Cosseratstresst.h:60
Definition: BJmatrix.h:102
================================================================================
Definition: ContinuaReprComponent.h:34
Definition: nDarray.h:120
Definition: nDarray.h:158