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

a column matrix unit More...

#include <a_mat_c.h>

+ Inheritance diagram for a_mat_c:
+ Collaboration diagram for a_mat_c:

Public Member Functions

 a_mat_c (UI i, double v=0)
 
 a_mat_c (int i, double v=0)
 
a_mat_coperator= (const a_mat &m)
 
double & operator() (const UI i)
 
double operator() (const UI i) const
 
double sumsq () const
 
double norm () const
 
void normalise ()
 
- 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
 

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 column matrix unit

Definition at line 28 of file a_mat_c.h.

Constructor & Destructor Documentation

◆ a_mat_c() [1/2]

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

Definition at line 31 of file a_mat_c.h.

◆ a_mat_c() [2/2]

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

Definition at line 32 of file a_mat_c.h.

Member Function Documentation

◆ norm()

double a_mat_c::norm ( ) const

Definition at line 40 of file a_mat_c.cxx.

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

◆ normalise()

void a_mat_c::normalise ( )

Definition at line 45 of file a_mat_c.cxx.

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

◆ operator()() [1/2]

double& a_mat_c::operator() ( const UI  i)
inline

Definition at line 34 of file a_mat_c.h.

◆ operator()() [2/2]

double a_mat_c::operator() ( const UI  i) const
inline

Definition at line 35 of file a_mat_c.h.

◆ operator=()

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

Definition at line 24 of file a_mat_c.cxx.

+ Here is the call graph for this function:

◆ sumsq()

double a_mat_c::sumsq ( ) const

Definition at line 32 of file a_mat_c.cxx.

+ Here is the caller graph for this function:

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