XC Open source finite element analysis program
Public Member Functions | Friends | List of all members
XC::nDarray Class Reference
Inheritance diagram for XC::nDarray:
XC::BJmatrix XC::BJtensor XC::BJvector XC::Cosseratstraintensor XC::Cosseratstresstensor XC::MovableBJTensor XC::straintensor XC::stresstensor

Public Member Functions

 nDarray (int rank_of_nDarray=1, double initval=0.0)
 
 nDarray (int rank_of_nDarray, const int *pdim, double *values)
 
 nDarray (int rank_of_nDarray, const int *pdim, double initvalue)
 
 nDarray (int rank_of_nDarray, int rows, int cols, double *values)
 
 nDarray (int rank_of_nDarray, int rows, int cols, double initvalue)
 
 nDarray (const std::string &)
 
 nDarray (const std::string &flag, int rank_of_nDarray, const int *pdim)
 
 nDarray (const nDarray &x)
 
void Initialize (const nDarray &from)
 
void Initialize_all (const nDarray &from)
 
void Reset_to (double value)
 
const double & val (int subscript,...) const
 
double & val (int subscript,...)
 
const double & val4 (int first, int second, int third, int fourth) const
 
double & val4 (int first, int second, int third, int fourth)
 
double cval (int subscript,...) const
 
nDarrayoperator= (const nDarray &rval)
 
nDarrayoperator+= (const nDarray &)
 
nDarrayoperator-= (const nDarray &)
 
nDarray operator+ (double rval)
 
nDarray operator- (double rval)
 
nDarray operator* (const double rval) const
 
nDarray operator- ()
 
double sum (void) const
 
double trace (void) const
 
nDarray deep_copy (void)
 
bool operator== (const nDarray &rval)
 
nDarray eigenvalues (void)
 
nDarray eigenvectors (void)
 
nDarray nDsqrt (void)
 
void print (const std::string &name="t", const std::string &msg="Hi there#") const
 
void printshort (const std::string &msg="Hi there#") const
 
void mathprint (void) const
 
double Frobenius_norm (void)
 
double General_norm (double p)
 
int number_of_zeros (void) const
 
int rank (void) const
 
int dim (int which) const
 

Friends

class BJtensor
 
class BJmatrix
 
class BJvector
 
class stiffness_matrix
 
class stresstensor
 
class straintensor
 
class Cosseratstresstensor
 
class Cosseratstraintensor
 
nDarray operator+ (const nDarray &, const nDarray &)
 
nDarray operator- (const nDarray &, const nDarray &)
 

The documentation for this class was generated from the following files: