Points&Forces (core)
Software tools facilitating the task of surveying architecture
Public Member Functions | Protected Member Functions | List of all members
a_mat_sq Class Reference

a square matrix unit More...

#include <a_mat_sq.h>

+ Inheritance diagram for a_mat_sq:
+ Collaboration diagram for a_mat_sq:

Public Member Functions

 a_mat_sq (UI i, double v=0)
 
 a_mat_sq (int i, double v=0)
 
 a_mat_sq (const a_mat &m)
 
double determinant () const
 
double trace () const
 
UI dim () const
 
void settoI ()
 
a_mat_sqoperator= (const a_mat_sq &m)
 
a_mat_sqoperator= (const a_mat &m)
 
 ~a_mat_sq ()
 
a_matoperator*= (double v)
 
a_mat_sqoperator*= (const a_mat_sq m)
 
- Public Member Functions inherited from a_mat
 a_mat (UI i, UI j, double v=0)
 
 a_mat (int i, int j, double v=0)
 
 a_mat (const a_mat &m)
 
 ~a_mat ()
 
UI maxi () const
 
UI maxj () const
 
UI size () const
 
std::valarray< double > & x () const
 
virtual double & operator() (const UI i, const UI j)
 
virtual double operator() (const UI i, const UI j) const
 
a_matoperator= (const a_mat &m)
 
bool operator== (const a_mat &a)
 
a_matoperator- ()
 
a_matoperator+= (const a_mat &a)
 
a_mat operator+ (const a_mat &a)
 
a_matoperator-= (const a_mat &a)
 
a_mat operator- (const a_mat &a)
 
a_matoperator*= (double v)
 
a_mat operator* (double v)
 
a_matoperator/= (double v)
 
a_mat operator/ (double v)
 
a_mat transpose ()
 
void swapc (UI c1, UI c2)
 
void swapr (UI r1, UI r2)
 
a_mat sub_matrix (const UI i, const UI j) const
 
virtual void read (std::istream &i)
 
virtual void write (std::ostream &o) const
 
- Public Member Functions inherited from a_mat_base
virtual const std::string classname ()
 
- Public Member Functions inherited from a_base
 a_base ()
 
void read (const std::string &file_in)
 
void write (const std::string &file_out) const
 
void small (double tol)
 
double small () const
 

Protected Member Functions

void compatible (const a_mat &m) const
 

Additional Inherited Members

- Static Public Member Functions inherited from a_mat_base
static const std::string help ()
 
- Static Public Member Functions inherited from a_base
static const std::string help ()
 
- Protected Attributes inherited from a_mat
UI maxi_
 
UI maxj_
 
std::valarray< double > * x_
 
- Protected Attributes inherited from a_base
double verysmall_
 

Detailed Description

a square matrix unit

Definition at line 28 of file a_mat_sq.h.

Constructor & Destructor Documentation

◆ a_mat_sq() [1/3]

a_mat_sq::a_mat_sq ( UI  i,
double  v = 0 
)
inline

Definition at line 31 of file a_mat_sq.h.

◆ a_mat_sq() [2/3]

a_mat_sq::a_mat_sq ( int  i,
double  v = 0 
)
inline

Definition at line 32 of file a_mat_sq.h.

◆ a_mat_sq() [3/3]

a_mat_sq::a_mat_sq ( const a_mat m)
inline

Definition at line 33 of file a_mat_sq.h.

◆ ~a_mat_sq()

a_mat_sq::~a_mat_sq ( )

Definition at line 22 of file a_mat_sq.cxx.

Member Function Documentation

◆ compatible()

void a_mat_sq::compatible ( const a_mat m) const
protected

Definition at line 27 of file a_mat_sq.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ determinant()

double a_mat_sq::determinant ( ) const

Definition at line 83 of file a_mat_sq.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ dim()

UI a_mat_sq::dim ( ) const
inline

Definition at line 36 of file a_mat_sq.h.

+ Here is the caller graph for this function:

◆ operator*=() [1/2]

a_mat_sq & a_mat_sq::operator*= ( const a_mat_sq  m)

Definition at line 56 of file a_mat_sq.cxx.

+ Here is the call graph for this function:

◆ operator*=() [2/2]

a_mat& a_mat_sq::operator*= ( double  v)
inline

Definition at line 42 of file a_mat_sq.h.

+ Here is the call graph for this function:

◆ operator=() [1/2]

a_mat_sq & a_mat_sq::operator= ( const a_mat m)

Definition at line 49 of file a_mat_sq.cxx.

+ Here is the call graph for this function:

◆ operator=() [2/2]

a_mat_sq & a_mat_sq::operator= ( const a_mat_sq m)

Definition at line 33 of file a_mat_sq.cxx.

+ Here is the call graph for this function:

◆ settoI()

void a_mat_sq::settoI ( )

Definition at line 41 of file a_mat_sq.cxx.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ trace()

double a_mat_sq::trace ( ) const

Definition at line 75 of file a_mat_sq.cxx.


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