Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

base::const_matrixrange< T > Class Template Reference

Collaboration diagram for base::const_matrixrange< T >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef T value_type
typedef value_typereference
typedef const value_typeconst_reference
typedef matrix< T >::size_type size_type

Public Member Functions

 const_matrixrange (const matrix< T > &m, const range< size_type > &rr, const range< size_type > &cr)
 const_matrixrange (const const_matrixrange< T > &mr)
 ~const_matrixrange ()
size_type rows () const
size_type cols () const
size_type size1 () const
size_type size2 () const
bool operator== (const const_matrixrange &mr) const
bool operator!= (const const_matrixrange &mr) const
bool equals (const const_matrixrange &mr, value_type eps=value_type(consts::epsilon)) const
const_reference operator() (size_type r, size_type c) const
 operator matrix () const

Protected Member Functions

 const_matrixrange ()
const_reference _m (size_type r, size_type c) const

Protected Attributes

const matrix< T > & m
range< size_typerr
range< size_typecr

template<typename T>
class base::const_matrixrange< T >


Member Typedef Documentation

template<typename T>
typedef const value_type& base::const_matrixrange< T >::const_reference
 

Definition at line 685 of file Matrix.

template<typename T>
typedef value_type& base::const_matrixrange< T >::reference
 

Definition at line 684 of file Matrix.

template<typename T>
typedef matrix<T>::size_type base::const_matrixrange< T >::size_type
 

Definition at line 686 of file Matrix.

template<typename T>
typedef T base::const_matrixrange< T >::value_type
 

Definition at line 683 of file Matrix.


Constructor & Destructor Documentation

template<typename T>
base::const_matrixrange< T >::const_matrixrange const matrix< T > &  m,
const range< size_type > &  rr,
const range< size_type > &  cr
[inline]
 

Definition at line 688 of file Matrix.

template<typename T>
base::const_matrixrange< T >::const_matrixrange const const_matrixrange< T > &  mr  )  [inline]
 

Definition at line 695 of file Matrix.

template<typename T>
base::const_matrixrange< T >::~const_matrixrange  )  [inline]
 

Definition at line 696 of file Matrix.

template<typename T>
base::const_matrixrange< T >::const_matrixrange  )  [inline, protected]
 

Definition at line 722 of file Matrix.


Member Function Documentation

template<typename T>
const_reference base::const_matrixrange< T >::_m size_type  r,
size_type  c
const [inline, protected]
 

Definition at line 728 of file Matrix.

Referenced by base::matrix< T >::equals().

template<typename T>
size_type base::const_matrixrange< T >::cols  )  const [inline]
 

Definition at line 699 of file Matrix.

Referenced by base::matrix< T >::equals(), and base::matrix< T >::size2().

template<typename T>
bool base::const_matrixrange< T >::equals const const_matrixrange< T > &  mr,
value_type  eps = value_type(consts::epsilon)
const [inline]
 

Definition at line 706 of file Matrix.

template<typename T>
base::const_matrixrange< T >::operator matrix  )  const [inline]
 

Definition at line 712 of file Matrix.

References base::Int.

template<typename T>
bool base::const_matrixrange< T >::operator!= const const_matrixrange< T > &  mr  )  const [inline]
 

Definition at line 704 of file Matrix.

template<typename T>
const_reference base::const_matrixrange< T >::operator() size_type  r,
size_type  c
const [inline]
 

Definition at line 709 of file Matrix.

References base::Matrix.

template<typename T>
bool base::const_matrixrange< T >::operator== const const_matrixrange< T > &  mr  )  const [inline]
 

Definition at line 703 of file Matrix.

template<typename T>
size_type base::const_matrixrange< T >::rows  )  const [inline]
 

Definition at line 698 of file Matrix.

Referenced by base::matrix< T >::equals(), and base::matrix< T >::size1().

template<typename T>
size_type base::const_matrixrange< T >::size1  )  const [inline]
 

Definition at line 700 of file Matrix.

References base::Matrix.

template<typename T>
size_type base::const_matrixrange< T >::size2  )  const [inline]
 

Definition at line 701 of file Matrix.

References base::Matrix.


Member Data Documentation

template<typename T>
range<size_type> base::const_matrixrange< T >::cr [protected]
 

Definition at line 726 of file Matrix.

Referenced by base::matrix< T >::operator!=(), and base::matrix< T >::operator==().

template<typename T>
const matrix<T>& base::const_matrixrange< T >::m [protected]
 

Definition at line 724 of file Matrix.

Referenced by base::matrix< T >::operator!=(), base::matrix< T >::operator==(), and base::matrix< T >::resize().

template<typename T>
range<size_type> base::const_matrixrange< T >::rr [protected]
 

Definition at line 725 of file Matrix.

Referenced by base::matrix< T >::operator!=(), and base::matrix< T >::operator==().


The documentation for this class was generated from the following file:
Generated on Thu Jul 29 16:38:44 2004 for OpenSim by doxygen 1.3.6