Navigation

Operators and Keywords

Function List:

C++ API

DiagMatrix Class Reference

#include <dDiagMatrix.h>

Inherits MDiagArray2<double>.

Collaboration diagram for DiagMatrix:

List of all members.


Public Member Functions

 DiagMatrix (void)
 DiagMatrix (octave_idx_type r, octave_idx_type c)
 DiagMatrix (octave_idx_type r, octave_idx_type c, double val)
 DiagMatrix (const DiagMatrix &a)
 DiagMatrix (const MDiagArray2< double > &a)
template<class U >
 DiagMatrix (const DiagArray2< U > &a)
 DiagMatrix (const RowVector &a)
 DiagMatrix (const ColumnVector &a)
DiagMatrixoperator= (const DiagMatrix &a)
bool operator== (const DiagMatrix &a) const
bool operator!= (const DiagMatrix &a) const
DiagMatrixfill (double val)
DiagMatrixfill (double val, octave_idx_type beg, octave_idx_type end)
DiagMatrixfill (const ColumnVector &a)
DiagMatrixfill (const RowVector &a)
DiagMatrixfill (const ColumnVector &a, octave_idx_type beg)
DiagMatrixfill (const RowVector &a, octave_idx_type beg)
DiagMatrix transpose (void) const
DiagMatrix abs (void) const
Matrix extract (octave_idx_type r1, octave_idx_type c1, octave_idx_type r2, octave_idx_type c2) const
RowVector row (octave_idx_type i) const
RowVector row (char *s) const
ColumnVector column (octave_idx_type i) const
ColumnVector column (char *s) const
DiagMatrix inverse (void) const
DiagMatrix inverse (octave_idx_type &info) const
DiagMatrix pseudo_inverse (void) const
ColumnVector diag (octave_idx_type k=0) const
DET determinant (void) const
double rcond (void) const

Friends

class SVD
class ComplexSVD
OCTAVE_API DiagMatrix real (const ComplexDiagMatrix &a)
OCTAVE_API DiagMatrix imag (const ComplexDiagMatrix &a)
OCTAVE_API std::ostreamoperator<< (std::ostream &os, const DiagMatrix &a)

Constructor & Destructor Documentation

DiagMatrix::DiagMatrix ( void   )  [inline]

DiagMatrix::DiagMatrix ( octave_idx_type  r,
octave_idx_type  c 
) [inline]

DiagMatrix::DiagMatrix ( octave_idx_type  r,
octave_idx_type  c,
double  val 
) [inline]

DiagMatrix::DiagMatrix ( const DiagMatrix a  )  [inline]

DiagMatrix::DiagMatrix ( const MDiagArray2< double > &  a  )  [inline]

template<class U >
DiagMatrix::DiagMatrix ( const DiagArray2< U > &  a  )  [inline]

DiagMatrix::DiagMatrix ( const RowVector a  )  [inline, explicit]

DiagMatrix::DiagMatrix ( const ColumnVector a  )  [inline, explicit]


Member Function Documentation

DiagMatrix DiagMatrix::abs ( void   )  const

ColumnVector DiagMatrix::column ( char *  s  )  const

ColumnVector DiagMatrix::column ( octave_idx_type  i  )  const

Reimplemented from Array< T >.

DET DiagMatrix::determinant ( void   )  const

ColumnVector DiagMatrix::diag ( octave_idx_type  k = 0  )  const [inline]

Reimplemented from MDiagArray2< T >.

Matrix DiagMatrix::extract ( octave_idx_type  r1,
octave_idx_type  c1,
octave_idx_type  r2,
octave_idx_type  c2 
) const

DiagMatrix & DiagMatrix::fill ( const RowVector a,
octave_idx_type  beg 
)

DiagMatrix & DiagMatrix::fill ( const ColumnVector a,
octave_idx_type  beg 
)

DiagMatrix & DiagMatrix::fill ( const RowVector a  ) 

DiagMatrix & DiagMatrix::fill ( const ColumnVector a  ) 

DiagMatrix & DiagMatrix::fill ( double  val,
octave_idx_type  beg,
octave_idx_type  end 
)

DiagMatrix & DiagMatrix::fill ( double  val  ) 

DiagMatrix DiagMatrix::inverse ( octave_idx_type info  )  const

DiagMatrix DiagMatrix::inverse ( void   )  const

bool DiagMatrix::operator!= ( const DiagMatrix a  )  const

DiagMatrix& DiagMatrix::operator= ( const DiagMatrix a  )  [inline]

bool DiagMatrix::operator== ( const DiagMatrix a  )  const

DiagMatrix DiagMatrix::pseudo_inverse ( void   )  const

double DiagMatrix::rcond ( void   )  const

RowVector DiagMatrix::row ( char *  s  )  const

RowVector DiagMatrix::row ( octave_idx_type  i  )  const

DiagMatrix DiagMatrix::transpose ( void   )  const [inline]

Reimplemented from MDiagArray2< T >.


Friends And Related Function Documentation

friend class ComplexSVD [friend]

OCTAVE_API DiagMatrix imag ( const ComplexDiagMatrix a  )  [friend]

OCTAVE_API std::ostream& operator<< ( std::ostream os,
const DiagMatrix a 
) [friend]

OCTAVE_API DiagMatrix real ( const ComplexDiagMatrix a  )  [friend]

friend class SVD [friend]


The documentation for this class was generated from the following files: