Points&Forces (core)
Software tools facilitating the task of surveying architecture
|
a column matrix unit More...
#include <a_mat_c.h>
Public Member Functions | |
a_mat_c (UI i, double v=0) | |
a_mat_c (int i, double v=0) | |
a_mat_c & | operator= (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_mat & | operator= (const a_mat &m) |
bool | operator== (const a_mat &a) |
a_mat & | operator- () |
a_mat & | operator+= (const a_mat &a) |
a_mat | operator+ (const a_mat &a) |
a_mat & | operator-= (const a_mat &a) |
a_mat | operator- (const a_mat &a) |
a_mat & | operator*= (double v) |
a_mat | operator* (double v) |
a_mat & | operator/= (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_ |
double a_mat_c::norm | ( | ) | const |
Definition at line 40 of file a_mat_c.cxx.
void a_mat_c::normalise | ( | ) |
Definition at line 45 of file a_mat_c.cxx.
double a_mat_c::sumsq | ( | ) | const |