umatrix_base_tlate Class Template Reference

A matrix view of double-precision numbers. More...

#include <umatrix_tlate.h>

Inheritance diagram for umatrix_base_tlate:

umatrix_const_view_tlate umatrix_tlate umatrix_view_tlate ufmatrix

Detailed Description

template<class data_t>
class umatrix_base_tlate< data_t >

A matrix view of double-precision numbers.

Definition at line 206 of file umatrix_tlate.h.


Public Member Functions

Copy constructors
 umatrix_base_tlate (umatrix_base_tlate &v)
 Shallow copy constructor - create a new view of the same matrix.
umatrix_base_tlateoperator= (umatrix_base_tlate &v)
 Shallow copy constructor - create a new view of the same matrix.
Get and set methods
data_t * operator[] (size_t i)
 Array-like indexing.
const data_t * operator[] (size_t i) const
 Array-like indexing.
data_t & operator() (size_t i, size_t j)
 Array-like indexing.
const data_t & operator() (size_t i, size_t j) const
 Array-like indexing.
data_t * get_ptr (size_t i, size_t j)
 Get pointer (with optional range-checking).
int set (size_t i, size_t j, data_t val)
 Set (with optional range-checking).
int set_all (double val)
 Set all of the value to be the value val.
Arithmetic
umatrix_base_tlate< data_t > & operator+= (const umatrix_base_tlate< data_t > &x)
 operator+=
umatrix_base_tlate< data_t > & operator-= (const umatrix_base_tlate< data_t > &x)
 operator-=
umatrix_base_tlate< data_t > & operator+= (const data_t &y)
 operator+=
umatrix_base_tlate< data_t > & operator-= (const data_t &y)
 operator-=
umatrix_base_tlate< data_t > & operator*= (const data_t &y)
 operator*=

Protected Member Functions

 umatrix_base_tlate ()
 Empty constructor.

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

Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.

Project hosting provided by SourceForge.net Logo, O2scl Sourceforge Project Page