Object-oriented Scientific Computing Library: Version 0.910
Protected Member Functions
omatrix_view_tlate< data_t, mparent_t, block_t > Class Template Reference

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

#include <omatrix_tlate.h>

Inheritance diagram for omatrix_view_tlate< data_t, mparent_t, block_t >:
omatrix_base_tlate< data_t, mparent_t, block_t > omatrix_const_view_tlate< data_t, mparent_t, block_t > omatrix_array_tlate< data_t, mparent_t, block_t >

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 506 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 ()
 The default constructor.

The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Documentation generated with Doxygen. Provided under the GNU Free Documentation License (see License Information).

Get Object-oriented Scientific Computing
Lib at SourceForge.net. Fast, secure and Free Open Source software
downloads.