Navigation

Operators and Keywords

Function List:

C++ API

DiagArray2< T > Class Template Reference

#include <DiagArray2.h>

Inherits Array< T >.

Inherited by MDiagArray2< T >.

Collaboration diagram for DiagArray2< T >:

List of all members.

Public Member Functions

 DiagArray2 (void)
 DiagArray2 (octave_idx_type r, octave_idx_type c)
 DiagArray2 (octave_idx_type r, octave_idx_type c, const T &val)
 DiagArray2 (const Array< T > &a)
 DiagArray2 (const Array< T > &a, octave_idx_type r, octave_idx_type c)
 DiagArray2 (const DiagArray2< T > &a)
template<class U >
 DiagArray2 (const DiagArray2< U > &a)
 ~DiagArray2 (void)
DiagArray2< T > & operator= (const DiagArray2< T > &a)
octave_idx_type dim1 (void) const
octave_idx_type dim2 (void) const
octave_idx_type rows (void) const
octave_idx_type cols (void) const
octave_idx_type columns (void) const
octave_idx_type diag_length (void) const
octave_idx_type length (void) const
octave_idx_type nelem (void) const
octave_idx_type numel (void) const
size_t byte_size (void) const
dim_vector dims (void) const
Array< T > diag (octave_idx_type k=0) const
elem (octave_idx_type r, octave_idx_type c) const
T & elem (octave_idx_type r, octave_idx_type c)
dgelem (octave_idx_type i) const
T & dgelem (octave_idx_type i)
checkelem (octave_idx_type r, octave_idx_type c) const
operator() (octave_idx_type r, octave_idx_type c) const
xelem (octave_idx_type r, octave_idx_type c) const
T & dgxelem (octave_idx_type i)
dgxelem (octave_idx_type i) const
void resize (octave_idx_type n, octave_idx_type m, const T &rfv=Array< T >::resize_fill_value())
DiagArray2< T > transpose (void) const
DiagArray2< T > hermitian (T(*fcn)(const T &)=0) const
Array< T > array_value (void) const
const T * data (void) const
const T * fortran_vec (void) const
T * fortran_vec (void)
void print_info (std::ostream &os, const std::string &prefix) const

Protected Attributes

octave_idx_type d1
octave_idx_type d2

template<class T>
class DiagArray2< T >


Constructor & Destructor Documentation

template<class T>
DiagArray2< T >::DiagArray2 ( void   )  [inline]
template<class T>
DiagArray2< T >::DiagArray2 ( octave_idx_type  r,
octave_idx_type  c 
) [inline]
template<class T>
DiagArray2< T >::DiagArray2 ( octave_idx_type  r,
octave_idx_type  c,
const T &  val 
) [inline]
template<class T>
DiagArray2< T >::DiagArray2 ( const Array< T > &  a  )  [inline, explicit]
template<class T>
DiagArray2< T >::DiagArray2 ( const Array< T > &  a,
octave_idx_type  r,
octave_idx_type  c 
)
template<class T>
DiagArray2< T >::DiagArray2 ( const DiagArray2< T > &  a  )  [inline]
template<class T>
template<class U >
DiagArray2< T >::DiagArray2 ( const DiagArray2< U > &  a  )  [inline]
template<class T>
DiagArray2< T >::~DiagArray2 ( void   )  [inline]

Member Function Documentation

template<class T >
Array< T > DiagArray2< T >::array_value ( void   )  const
template<class T>
size_t DiagArray2< T >::byte_size ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T >
T DiagArray2< T >::checkelem ( octave_idx_type  r,
octave_idx_type  c 
) const

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::cols ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::columns ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
const T* DiagArray2< T >::data ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
T& DiagArray2< T >::dgelem ( octave_idx_type  i  )  [inline]
template<class T>
T DiagArray2< T >::dgelem ( octave_idx_type  i  )  const [inline]
template<class T>
T& DiagArray2< T >::dgxelem ( octave_idx_type  i  )  [inline]
template<class T>
T DiagArray2< T >::dgxelem ( octave_idx_type  i  )  const [inline]
template<class T>
octave_idx_type DiagArray2< T >::diag_length ( void   )  const [inline]
template<class T>
octave_idx_type DiagArray2< T >::dim1 ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::dim2 ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
dim_vector DiagArray2< T >::dims ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
T DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
) const [inline]

Reimplemented from Array< T >.

template<class T>
T& DiagArray2< T >::elem ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

Reimplemented from Array< T >.

template<class T>
T* DiagArray2< T >::fortran_vec ( void   )  [inline]

Reimplemented from Array< T >.

template<class T>
const T* DiagArray2< T >::fortran_vec ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
DiagArray2< T > DiagArray2< T >::hermitian ( T(*)(const T &)  fcn = 0  )  const
template<class T>
octave_idx_type DiagArray2< T >::length ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::nelem ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::numel ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
T DiagArray2< T >::operator() ( octave_idx_type  r,
octave_idx_type  c 
) const [inline]

Reimplemented from Array< T >.

template<class T>
DiagArray2<T>& DiagArray2< T >::operator= ( const DiagArray2< T > &  a  )  [inline]
template<class T>
void DiagArray2< T >::print_info ( std::ostream &  os,
const std::string &  prefix 
) const [inline]

Reimplemented from Array< T >.

template<class T>
void DiagArray2< T >::resize ( octave_idx_type  n,
octave_idx_type  m,
const T &  rfv = Array<T>::resize_fill_value () 
)

Reimplemented from Array< T >.

template<class T>
octave_idx_type DiagArray2< T >::rows ( void   )  const [inline]

Reimplemented from Array< T >.

template<class T>
T DiagArray2< T >::xelem ( octave_idx_type  r,
octave_idx_type  c 
) const [inline]

Reimplemented from Array< T >.


Member Data Documentation

template<class T>
octave_idx_type DiagArray2< T >::d1 [protected]
template<class T>
octave_idx_type DiagArray2< T >::d2 [protected]

The documentation for this class was generated from the following files:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines