omatrix_view_tlate Class Template Reference

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

#include <omatrix_tlate.h>

Inheritance diagram for omatrix_view_tlate:

omatrix_base_tlate omatrix_const_view_tlate omatrix_array_tlate

Detailed Description

template<class data_t, class mparent_t, class block_t>
class omatrix_view_tlate< data_t, mparent_t, block_t >

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 518 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_tlateoperator= (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_tlateoperator= (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.

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