Navigation

Operators and Keywords

Function List:

C++ API

octave_perm_matrix Class Reference

#include <ov-perm.h>

Inherits octave_base_value.

Collaboration diagram for octave_perm_matrix:

List of all members.


Public Member Functions

 octave_perm_matrix (void)
 octave_perm_matrix (const PermMatrix &p)
octave_base_valueclone (void) const
octave_base_valueempty_clone (void) const
type_conv_info numeric_conversion_function (void) const
octave_base_valuetry_narrowing_conversion (void)
size_t byte_size (void) const
octave_value squeeze (void) const
octave_value full_value (void) const
octave_value subsref (const std::string &type, const std::list< octave_value_list > &idx)
octave_value_list subsref (const std::string &type, const std::list< octave_value_list > &idx, int)
octave_value do_index_op (const octave_value_list &idx, bool resize_ok=false)
dim_vector dims (void) const
octave_idx_type nnz (void) const
octave_value reshape (const dim_vector &new_dims) const
octave_value permute (const Array< int > &vec, bool inv=false) const
octave_value resize (const dim_vector &dv, bool fill=false) const
octave_value all (int dim=0) const
octave_value any (int dim=0) const
MatrixType matrix_type (void) const
MatrixType matrix_type (const MatrixType &) const
octave_value diag (octave_idx_type k=0) const
octave_value sort (octave_idx_type dim=0, sortmode mode=ASCENDING) const
octave_value sort (Array< octave_idx_type > &sidx, octave_idx_type dim=0, sortmode mode=ASCENDING) const
sortmode is_sorted (sortmode mode=UNSORTED) const
Array< octave_idx_typesort_rows_idx (sortmode mode=ASCENDING) const
sortmode is_sorted_rows (sortmode mode=UNSORTED) const
bool is_perm_matrix (void) const
bool is_matrix_type (void) const
bool is_numeric_type (void) const
bool is_defined (void) const
bool is_constant (void) const
bool is_real_matrix (void) const
bool is_real_type (void) const
bool is_double_type (void) const
bool is_float_type (void) const
bool is_true (void) const
double double_value (bool=false) const
float float_value (bool=false) const
double scalar_value (bool frc_str_conv=false) const
idx_vector index_vector (void) const
PermMatrix perm_matrix_value (void) const
Matrix matrix_value (bool=false) const
FloatMatrix float_matrix_value (bool=false) const
Complex complex_value (bool=false) const
FloatComplex float_complex_value (bool=false) const
ComplexMatrix complex_matrix_value (bool=false) const
FloatComplexMatrix float_complex_matrix_value (bool=false) const
ComplexNDArray complex_array_value (bool=false) const
FloatComplexNDArray float_complex_array_value (bool=false) const
boolNDArray bool_array_value (bool warn=false) const
charNDArray char_array_value (bool=false) const
NDArray array_value (bool=false) const
FloatNDArray float_array_value (bool=false) const
SparseMatrix sparse_matrix_value (bool=false) const
SparseComplexMatrix sparse_complex_matrix_value (bool=false) const
int8NDArray int8_array_value (void) const
int16NDArray int16_array_value (void) const
int32NDArray int32_array_value (void) const
int64NDArray int64_array_value (void) const
uint8NDArray uint8_array_value (void) const
uint16NDArray uint16_array_value (void) const
uint32NDArray uint32_array_value (void) const
uint64NDArray uint64_array_value (void) const
octave_value convert_to_str_internal (bool pad, bool force, char type) const
void print_raw (std::ostream &os, bool pr_as_read_syntax=false) const
bool save_ascii (std::ostream &os)
bool load_ascii (std::istream &is)
bool save_binary (std::ostream &os, bool &save_as_floats)
bool load_binary (std::istream &is, bool swap, oct_mach_info::float_format fmt)
int write (octave_stream &os, int block_size, oct_data_conv::data_type output_type, int skip, oct_mach_info::float_format flt_fmt) const
mxArrayas_mxArray (void) const
bool print_as_scalar (void) const
void print (std::ostream &os, bool pr_as_read_syntax=false) const
void print_info (std::ostream &os, const std::string &prefix) const
octave_value erf (void) const
octave_value erfc (void) const
octave_value gamma (void) const
octave_value lgamma (void) const
octave_value abs (void) const
octave_value acos (void) const
octave_value acosh (void) const
octave_value angle (void) const
octave_value arg (void) const
octave_value asin (void) const
octave_value asinh (void) const
octave_value atan (void) const
octave_value atanh (void) const
octave_value ceil (void) const
octave_value conj (void) const
octave_value cos (void) const
octave_value cosh (void) const
octave_value exp (void) const
octave_value expm1 (void) const
octave_value fix (void) const
octave_value floor (void) const
octave_value imag (void) const
octave_value log (void) const
octave_value log2 (void) const
octave_value log10 (void) const
octave_value log1p (void) const
octave_value real (void) const
octave_value round (void) const
octave_value roundb (void) const
octave_value signum (void) const
octave_value sin (void) const
octave_value sinh (void) const
octave_value sqrt (void) const
octave_value tan (void) const
octave_value tanh (void) const
octave_value finite (void) const
octave_value isinf (void) const
octave_value isna (void) const
octave_value isnan (void) const

Protected Member Functions

virtual octave_value to_dense (void) const

Protected Attributes

PermMatrix matrix
octave_value dense_cache

Constructor & Destructor Documentation

octave_perm_matrix::octave_perm_matrix ( void   )  [inline]

octave_perm_matrix::octave_perm_matrix ( const PermMatrix p  )  [inline]


Member Function Documentation

octave_value octave_perm_matrix::abs ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::acos ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::acosh ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::all ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::angle ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::any ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::arg ( void   )  const [virtual]

Reimplemented from octave_base_value.

NDArray octave_perm_matrix::array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

mxArray * octave_perm_matrix::as_mxArray ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::asin ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::asinh ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::atan ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::atanh ( void   )  const [virtual]

Reimplemented from octave_base_value.

boolNDArray octave_perm_matrix::bool_array_value ( bool  warn = false  )  const [virtual]

Reimplemented from octave_base_value.

size_t octave_perm_matrix::byte_size ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::ceil ( void   )  const [virtual]

Reimplemented from octave_base_value.

charNDArray octave_perm_matrix::char_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_base_value* octave_perm_matrix::clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

ComplexNDArray octave_perm_matrix::complex_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

ComplexMatrix octave_perm_matrix::complex_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

Complex octave_perm_matrix::complex_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::conj ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::cos ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::cosh ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::diag ( octave_idx_type  k = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

dim_vector octave_perm_matrix::dims ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
) [virtual]

Reimplemented from octave_base_value.

double octave_perm_matrix::double_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_base_value* octave_perm_matrix::empty_clone ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::erf ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::erfc ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::exp ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::expm1 ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::finite ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::fix ( void   )  const [virtual]

Reimplemented from octave_base_value.

FloatNDArray octave_perm_matrix::float_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

FloatComplexNDArray octave_perm_matrix::float_complex_array_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

FloatComplexMatrix octave_perm_matrix::float_complex_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

FloatComplex octave_perm_matrix::float_complex_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

FloatMatrix octave_perm_matrix::float_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

float octave_perm_matrix::float_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::floor ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::full_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::gamma ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::imag ( void   )  const [virtual]

Reimplemented from octave_base_value.

idx_vector octave_perm_matrix::index_vector ( void   )  const [virtual]

Reimplemented from octave_base_value.

int16NDArray octave_perm_matrix::int16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

int32NDArray octave_perm_matrix::int32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

int64NDArray octave_perm_matrix::int64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

int8NDArray octave_perm_matrix::int8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_constant ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_defined ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_double_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_float_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_numeric_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_perm_matrix ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_real_matrix ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_real_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

sortmode octave_perm_matrix::is_sorted ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

sortmode octave_perm_matrix::is_sorted_rows ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::is_true ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::isinf ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::isna ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::isnan ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::lgamma ( void   )  const [virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::load_ascii ( std::istream &  is  )  [virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::load_binary ( std::istream &  is,
bool  swap,
oct_mach_info::float_format  fmt 
) [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::log ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::log10 ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::log1p ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::log2 ( void   )  const [virtual]

Reimplemented from octave_base_value.

MatrixType octave_perm_matrix::matrix_type ( const MatrixType  )  const [inline, virtual]

Reimplemented from octave_base_value.

MatrixType octave_perm_matrix::matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

Matrix octave_perm_matrix::matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_idx_type octave_perm_matrix::nnz ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_base_value::type_conv_info octave_perm_matrix::numeric_conversion_function ( void   )  const [virtual]

Reimplemented from octave_base_value.

PermMatrix octave_perm_matrix::perm_matrix_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::permute ( const Array< int > &  vec,
bool  inv = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

void octave_perm_matrix::print ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::print_as_scalar ( void   )  const [virtual]

Reimplemented from octave_base_value.

void octave_perm_matrix::print_info ( std::ostream os,
const std::string prefix 
) const [virtual]

Reimplemented from octave_base_value.

void octave_perm_matrix::print_raw ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::real ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::reshape ( const dim_vector new_dims  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::resize ( const dim_vector dv,
bool  fill = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::round ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::roundb ( void   )  const [virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::save_ascii ( std::ostream os  )  [virtual]

Reimplemented from octave_base_value.

bool octave_perm_matrix::save_binary ( std::ostream os,
bool save_as_floats 
) [virtual]

Reimplemented from octave_base_value.

double octave_perm_matrix::scalar_value ( bool  frc_str_conv = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::signum ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::sin ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::sinh ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

Array<octave_idx_type> octave_perm_matrix::sort_rows_idx ( sortmode  mode = ASCENDING  )  const [inline, virtual]

Reimplemented from octave_base_value.

SparseComplexMatrix octave_perm_matrix::sparse_complex_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

SparseMatrix octave_perm_matrix::sparse_matrix_value ( bool  = false  )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::sqrt ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::squeeze ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

octave_value_list octave_perm_matrix::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int   
) [inline, virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::subsref ( const std::string type,
const std::list< octave_value_list > &  idx 
) [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::tan ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::tanh ( void   )  const [virtual]

Reimplemented from octave_base_value.

octave_value octave_perm_matrix::to_dense ( void   )  const [protected, virtual]

octave_base_value * octave_perm_matrix::try_narrowing_conversion ( void   )  [virtual]

Reimplemented from octave_base_value.

uint16NDArray octave_perm_matrix::uint16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

uint32NDArray octave_perm_matrix::uint32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

uint64NDArray octave_perm_matrix::uint64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

uint8NDArray octave_perm_matrix::uint8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

int octave_perm_matrix::write ( octave_stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
oct_mach_info::float_format  flt_fmt 
) const [virtual]

Reimplemented from octave_base_value.


Member Data Documentation


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