CS代考 TemplateTNT::Matrix class Reference

TemplateTNT::Matrix class Reference

Main Page   Namespace List   Compound List   File List   Namespace Members   Compound Members   File Members  

Copyright By PowCoder代写 加微信 powcoder

TNT::Matrix Class Template Reference
#include

List of all members.
Public Types

typedef Subscript  size_type
typedef T  value_type
typedef T  element_type
typedef T*  pointer
typedef T*  iterator
typedef T&  reference
typedef const T*  const_iterator
typedef const T&  const_reference

Public Methods

Subscript  lbound () const
  operator T ** ()
  operator T ** () const
Subscript  size () const
  Matrix (const Matrix< T > &A)
  Matrix (Subscript M, Subscript N, const T &value=T())
  Matrix (Subscript M, Subscript N, const T *v)
  Matrix (Subscript M, Subscript N, const char *s)
  ~Matrix ()
Matrix&  newsize (Subscript M, Subscript N)
Matrix&  operator= (const Matrix< T > &A)
Matrix&  operator= (const T &scalar)
Subscript  dim (Subscript d) const
Subscript  num_rows () const
Subscript  num_cols () const
T*  operator[] (Subscript i)
const T*  operator[] (Subscript i) const
reference  operator() (Subscript i)
const_reference  operator() (Subscript i) const
reference  operator() (Subscript i, Subscript j)
const_reference  operator() (Subscript i, Subscript j) const

Protected Attributes

Subscript  m_
Subscript  n_
Subscript  mn_
T**  rowm1_

Detailed Description

template class TNT::Matrix

[Deprecatred] Value-based Matrix class from pre-1.0 TNT version. Provides a row-oriented, 0-based [i][j] and 1-based (i,j) indexing. Kept here for backward compatiblity, but should use the newer TNT::Array2D classes instead.

Member Typedef Documentation

template

typedef const T * TNT::Matrix::const_iterator

 

template

typedef const T & TNT::Matrix::const_reference

 

template

typedef T TNT::Matrix::element_type

 

template

typedef T * TNT::Matrix::iterator

 

template

typedef T * TNT::Matrix::pointer

 

template

typedef T & TNT::Matrix::reference

 

template

typedef Subscript TNT::Matrix::size_type

 

template

typedef T TNT::Matrix::value_type

 

Constructor & Destructor Documentation

template

TNT::Matrix::Matrix (

 

template

TNT::Matrix::Matrix (

const Matrix< T > & A )

 

template

TNT::Matrix::Matrix (

Subscript M,

Subscript N,

const T & value = T() )

 

template

TNT::Matrix::Matrix (

Subscript M,

Subscript N,

const T * v )

 

template

TNT::Matrix::Matrix (

Subscript M,

Subscript N,

const char * s )

 

template

TNT::Matrix::~Matrix (

 

Member Function Documentation

template

Subscript TNT::Matrix::dim (

Subscript d ) const

 

template

Subscript TNT::Matrix::lbound (

) const [inline]

 

template

Matrix& TNT::Matrix::newsize (

Subscript M,

Subscript N )

 

template

Subscript TNT::Matrix::num_cols (

) const [inline]

 

template

Subscript TNT::Matrix::num_rows (

) const [inline]

 

template

TNT::Matrix::operator T ** (

) const [inline]

 

template

TNT::Matrix::operator T ** (

) [inline]

 

template

const_reference TNT::Matrix::operator() (

Subscript i,

Subscript j ) const [inline]

 

template

reference TNT::Matrix::operator() (

Subscript i,

Subscript j ) [inline]

 

template

const_reference TNT::Matrix::operator() (

Subscript i ) const [inline]

 

template

reference TNT::Matrix::operator() (

Subscript i ) [inline]

 

template

Matrix& TNT::Matrix::operator= (

const T & scalar )

 

template

Matrix& TNT::Matrix::operator= (

const Matrix< T > & A )

 

template

const T * TNT::Matrix::operator[] (

Subscript i ) const [inline]

 

template

T * TNT::Matrix::operator[] (

Subscript i ) [inline]

 

template

Subscript TNT::Matrix::size (

) const [inline]

 

Member Data Documentation

template

Subscript TNT::Matrix::m_ [protected]

 

template

Subscript TNT::Matrix::mn_ [protected]

 

template

Subscript TNT::Matrix::n_ [protected]

 

template

T ** TNT::Matrix::row_ [protected]

 

template

T ** TNT::Matrix::rowm1_ [protected]

 

template

T * TNT::Matrix::v_ [protected]

 

template

T * TNT::Matrix::vm1_ [protected]

 

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

Generated at Thu Jun 26 17:26:24 2003 for Template Numerical Toolkit (TNT) by

1.2.5 written by Dimitri van Heesch,
© 1997-2001

程序代写 CS代考 加微信: powcoder QQ: 1823890830 Email: powcoder@163.com