BJmatrix Class Reference

* More...

#include <BJmatrix.h>

Inheritance diagram for BJmatrix:

nDarray BJvector List of all members.

Public Member Functions

 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 (char *flag, int dimension)
 BJmatrix (char *matfile)
 BJmatrix (char *matfile, char *outfile)
 BJmatrix (const BJmatrix &x)
 BJmatrix (const nDarray &x)
int rows (void) const
int cols (void) const
BJmatrixoperator= (const BJmatrix &rval)
void write_standard (char *filename, char *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 &)

Friends

class BJvector

Detailed Description

*

Definition at line 74 of file BJmatrix.h.


Constructor & Destructor Documentation

BJmatrix::BJmatrix ( int  mrows = 1,
int  columns = 1,
double  initval = 0.0 
)

Definition at line 57 of file BJmatrix.cpp.

BJmatrix::BJmatrix ( int  mrows,
int  columns,
double *  initvalues 
)

Definition at line 61 of file BJmatrix.cpp.

BJmatrix::BJmatrix ( int  rank,
int  mrows,
int  columns,
double *  initvalues 
)

Definition at line 67 of file BJmatrix.cpp.

BJmatrix::BJmatrix ( int  rank,
int  mrows,
int  columns,
double  initvalues 
)

Definition at line 72 of file BJmatrix.cpp.

BJmatrix::BJmatrix ( char *  flag,
int  dimension 
)

Definition at line 76 of file BJmatrix.cpp.

References nDarray::dim(), exit(), printf(), nDarray::rank(), and nDarray::val().

BJmatrix::BJmatrix ( char *  matfile  ) 

Definition at line 125 of file BJmatrix.cpp.

References BSIZE, nDarray::dim(), exit(), FILE, printf(), nDarray::rank(), rows(), and nDarray::val().

BJmatrix::BJmatrix ( char *  matfile,
char *  outfile 
)

BJmatrix::BJmatrix ( const BJmatrix x  ) 

Definition at line 262 of file BJmatrix.cpp.

BJmatrix::BJmatrix ( const nDarray x  ) 

Definition at line 273 of file BJmatrix.cpp.


Member Function Documentation

int BJmatrix::rows ( void   )  const

int BJmatrix::cols ( void   )  const

BJmatrix & BJmatrix::operator= ( const BJmatrix rval  ) 

Definition at line 314 of file BJmatrix.cpp.

References nDarray::dim().

void BJmatrix::write_standard ( char *  filename,
char *  msg = "" 
)

Definition at line 338 of file BJmatrix.cpp.

References cols(), FILE, and rows().

Referenced by BJmatrix(), and main().

BJmatrix BJmatrix::operator * ( BJmatrix  ) 

Definition at line 452 of file BJmatrix.cpp.

References cols(), mval(), rows(), and sum().

BJmatrix BJmatrix::operator * ( double  rval  ) 

Definition at line 504 of file BJmatrix.cpp.

References cols(), mval(), and rows().

BJmatrix BJmatrix::transpose (  ) 

Definition at line 537 of file BJmatrix.cpp.

References cols(), mval(), and rows().

Referenced by inverse(), and main().

double BJmatrix::determinant (  ) 

Definition at line 628 of file BJmatrix.cpp.

References cols(), mval(), and rows().

Referenced by BJtensor::determinant().

BJmatrix BJmatrix::inverse (  ) 

Definition at line 646 of file BJmatrix.cpp.

References cols(), copy_column(), lu_back_subst(), rows(), and transpose().

Referenced by BJtensor::inverse(), and BJtensor::inverse_2().

double BJmatrix::mmin (  ) 

Definition at line 550 of file BJmatrix.cpp.

References cols(), and rows().

double BJmatrix::mmax (  ) 

Definition at line 564 of file BJmatrix.cpp.

References cols(), and rows().

double BJmatrix::mean (  ) 

Definition at line 581 of file BJmatrix.cpp.

References cols(), rows(), and sum().

Referenced by variance().

double BJmatrix::sum (  ) 

Definition at line 594 of file BJmatrix.cpp.

References cols(), and rows().

Referenced by mean(), and operator *().

double BJmatrix::variance (  ) 

Definition at line 607 of file BJmatrix.cpp.

References cols(), mean(), and rows().

BJtensor BJmatrix::BJmatrix2BJtensor_1 (  ) 

BJtensor BJmatrix::BJmatrix2BJtensor_2 (  ) 

Definition at line 696 of file BJmatrix.cpp.

References cols(), nDarray::dim(), and nDarray::val().

Referenced by BJtensor::inverse(), and BJtensor::inverse_2().

BJtensor BJmatrix::BJmatrix2BJtensor_22 (  ) 

Definition at line 726 of file BJmatrix.cpp.

Referenced by BJtensor::inverse().

BJtensor BJmatrix::BJmatrix2BJtensor_3 (  ) 

double * BJmatrix::BJmatrixtoarray ( int &   ) 

Definition at line 1367 of file BJmatrix.cpp.


Friends And Related Function Documentation

friend class BJvector [friend]

Reimplemented from nDarray.

Definition at line 76 of file BJmatrix.h.


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

Generated on Mon Oct 23 15:05:38 2006 for OpenSees by doxygen 1.5.0