Navigation

Operators and Keywords

Function List:

C++ API

PermMatrix Class Reference

#include <PermMatrix.h>

Inherits Array< octave_idx_type >.

Collaboration diagram for PermMatrix:

List of all members.


Public Member Functions

 PermMatrix (void)
 PermMatrix (octave_idx_type n)
 PermMatrix (const Array< octave_idx_type > &p, bool colp=false, bool check=true)
 PermMatrix (const PermMatrix &m)
 PermMatrix (const idx_vector &idx, bool colp=false, octave_idx_type n=0)
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 perm_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< octave_idx_typepvec (void) const
octave_idx_type elem (octave_idx_type i, octave_idx_type j) const
octave_idx_type checkelem (octave_idx_type i, octave_idx_type j) const
octave_idx_type operator() (octave_idx_type i, octave_idx_type j) const
PermMatrix transpose (void) const
PermMatrix inverse (void) const
octave_idx_type determinant (void) const
PermMatrix power (octave_idx_type n) const
bool is_col_perm (void) const
bool is_row_perm (void) const
const octave_idx_typedata (void) const
const octave_idx_typefortran_vec (void) const
octave_idx_typefortran_vec (void)
void print_info (std::ostream &os, const std::string &prefix) const

Static Public Member Functions

static PermMatrix eye (octave_idx_type n)

Friends

OCTAVE_API PermMatrix operator* (const PermMatrix &a, const PermMatrix &b)

Constructor & Destructor Documentation

PermMatrix::PermMatrix ( void   )  [inline]

PermMatrix::PermMatrix ( octave_idx_type  n  ) 

PermMatrix::PermMatrix ( const Array< octave_idx_type > &  p,
bool  colp = false,
bool  check = true 
)

PermMatrix::PermMatrix ( const PermMatrix m  )  [inline]

PermMatrix::PermMatrix ( const idx_vector idx,
bool  colp = false,
octave_idx_type  n = 0 
)


Member Function Documentation

size_t PermMatrix::byte_size ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::checkelem ( octave_idx_type  i,
octave_idx_type  j 
) const

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::cols ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::columns ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

const octave_idx_type* PermMatrix::data ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::determinant ( void   )  const

octave_idx_type PermMatrix::dim1 ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::dim2 ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

dim_vector PermMatrix::dims ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::elem ( octave_idx_type  i,
octave_idx_type  j 
) const [inline]

Reimplemented from Array< octave_idx_type >.

PermMatrix PermMatrix::eye ( octave_idx_type  n  )  [static]

octave_idx_type* PermMatrix::fortran_vec ( void   )  [inline]

Reimplemented from Array< octave_idx_type >.

const octave_idx_type* PermMatrix::fortran_vec ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

PermMatrix PermMatrix::inverse ( void   )  const

bool PermMatrix::is_col_perm ( void   )  const [inline]

bool PermMatrix::is_row_perm ( void   )  const [inline]

octave_idx_type PermMatrix::length ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::nelem ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::numel ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::operator() ( octave_idx_type  i,
octave_idx_type  j 
) const [inline]

Reimplemented from Array< octave_idx_type >.

octave_idx_type PermMatrix::perm_length ( void   )  const [inline]

PermMatrix PermMatrix::power ( octave_idx_type  n  )  const

void PermMatrix::print_info ( std::ostream os,
const std::string prefix 
) const [inline]

Reimplemented from Array< octave_idx_type >.

Array<octave_idx_type> PermMatrix::pvec ( void   )  const [inline]

octave_idx_type PermMatrix::rows ( void   )  const [inline]

Reimplemented from Array< octave_idx_type >.

PermMatrix PermMatrix::transpose ( void   )  const

Reimplemented from Array< octave_idx_type >.


Friends And Related Function Documentation

OCTAVE_API PermMatrix operator* ( const PermMatrix a,
const PermMatrix b 
) [friend]


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