XC Open source finite element analysis program
Public Member Functions | List of all members
XC::BJvector Class Reference
Inheritance diagram for XC::BJvector:
XC::BJmatrix XC::nDarray

Public Member Functions

 BJvector (int order_n=1, double initvalue=0.0)
 
 BJvector (int order_n, double *initval)
 
 BJvector (const nDarray &x)
 
BJvectoroperator= (const BJvector &x)
 
double & val (int subscript,...)
 
const double & val (int subscript,...) const
 
double cval (int subscript,...) const
 
- Public Member Functions inherited from XC::BJmatrix
 BJmatrix (int mrows=1, int columns=1, double initval=0.0)
 
 BJmatrix (int mrows, int columns, double *initvalues)
 
 BJmatrix (int rank, int mrows, int columns, double *initvalues)
 
 BJmatrix (int rank, int mrows, int columns, double initvalues)
 
 BJmatrix (const std::string &flag, int dimension)
 
 BJmatrix (const std::string &matfile)
 
 BJmatrix (const std::string &matfile, const std::string &outfile)
 
 BJmatrix (const BJmatrix &x)
 
 BJmatrix (const nDarray &x)
 
int rows (void) const
 
int cols (void) const
 
BJmatrixoperator= (const BJmatrix &rval)
 
void write_standard (const std::string &filename, const std::string &msg="")
 
BJmatrix operator* (BJmatrix &)
 
BJmatrix operator* (double rval)
 
BJmatrix transpose ()
 
double determinant ()
 
BJmatrix inverse ()
 
double mmin ()
 
double mmax ()
 
double mean ()
 
double sum ()
 
double variance ()
 
BJtensor BJmatrix2BJtensor_1 ()
 
BJtensor BJmatrix2BJtensor_2 ()
 
BJtensor BJmatrix2BJtensor_22 ()
 
BJtensor BJmatrix2BJtensor_3 ()
 
double * BJmatrixtoarray (int &)
 
- Public Member Functions inherited from XC::nDarray
 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
 

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