#include <omatrix_tlate.h>
This is a matrix view, which views a matrix stored somewhere else. For a full matrix template class with its own memory, see omatrix_tlate . The basic matrix classes are built upon these templates. A matrix of double-precision numbers is an object of type omatrix . See Arrays, Vectors, Matrices and Tensors in the User's Guide for more information.
Definition at line 492 of file omatrix_tlate.h.
Public Member Functions | |
Copy constructors | |
omatrix_view_tlate (const omatrix_view_tlate &v) | |
Shallow copy constructor - create a new view of the same matrix. | |
omatrix_view_tlate & | operator= (const omatrix_view_tlate &v) |
Shallow copy constructor - create a new view of the same matrix. | |
omatrix_view_tlate (omatrix_base_tlate< data_t, mparent_t, block_t > &v) | |
Shallow copy constructor - create a new view of the same matrix. | |
omatrix_view_tlate & | operator= (omatrix_base_tlate< data_t, mparent_t, block_t > &v) |
Shallow copy constructor - create a new view of the same matrix. | |
Get and set methods | |
data_t * | operator[] (size_t i) const |
Array-like indexing. | |
data_t & | operator() (size_t i, size_t j) const |
Array-like indexing. | |
data_t * | get_ptr (size_t i, size_t j) const |
Get pointer (with optional range-checking). | |
int | set (size_t i, size_t j, data_t val) const |
Set (with optional range-checking). | |
int | set_all (double val) const |
Set all of the value to be the value val . | |
Protected Member Functions | |
omatrix_view_tlate () | |
Desc. |
Documentation generated with Doxygen and provided under the GNU Free Documentation License. See License Information for details.
Project hosting provided by
,
O2scl Sourceforge Project Page