Navigation

Operators and Keywords

Function List:

C++ API

octave_base_diag< DMT, MT > Class Template Reference

#include <ov-base-diag.h>

Inherits octave_base_value.

Collaboration diagram for octave_base_diag< DMT, MT >:

List of all members.


Public Member Functions

 octave_base_diag (void)
 octave_base_diag (const DMT &m)
 octave_base_diag (const octave_base_diag &m)
 ~octave_base_diag (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)
octave_value subsasgn (const std::string &type, const std::list< octave_value_list > &idx, const octave_value &rhs)
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_matrix_type (void) const
bool is_numeric_type (void) const
bool is_defined (void) const
bool is_constant (void) const
bool is_true (void) const
bool is_diag_matrix (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
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)
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 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 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 log (void) const
octave_value log2 (void) const
octave_value log10 (void) const
octave_value log1p (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 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

octave_value to_dense (void) const
virtual bool chk_valid_scalar (const octave_value &, typename DMT::element_type &) const =0

Protected Attributes

DMT matrix

template<class DMT, class MT>
class octave_base_diag< DMT, MT >


Constructor & Destructor Documentation

template<class DMT, class MT>
octave_base_diag< DMT, MT >::octave_base_diag ( void   )  [inline]

template<class DMT, class MT>
octave_base_diag< DMT, MT >::octave_base_diag ( const DMT &  m  )  [inline]

template<class DMT, class MT>
octave_base_diag< DMT, MT >::octave_base_diag ( const octave_base_diag< DMT, MT > &  m  )  [inline]

template<class DMT, class MT>
octave_base_diag< DMT, MT >::~octave_base_diag ( void   )  [inline]


Member Function Documentation

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::acos ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::acosh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::all ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::angle ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::any ( int  dim = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::arg ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
NDArray octave_base_diag< DMT, MT >::array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
mxArray * octave_base_diag< DMT, MT >::as_mxArray ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::asin ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::asinh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::atan ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::atanh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
boolNDArray octave_base_diag< DMT, MT >::bool_array_value ( bool  warn = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
size_t octave_base_diag< DMT, MT >::byte_size ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::ceil ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
charNDArray octave_base_diag< DMT, MT >::char_array_value ( bool  warn = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
virtual bool octave_base_diag< DMT, MT >::chk_valid_scalar ( const octave_value ,
typename DMT::element_type &   
) const [protected, pure virtual]

template<class DMT , class MT >
ComplexNDArray octave_base_diag< DMT, MT >::complex_array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
ComplexMatrix octave_base_diag< DMT, MT >::complex_matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
Complex octave_base_diag< DMT, MT >::complex_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::convert_to_str_internal ( bool  pad,
bool  force,
char  type 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::cos ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::cosh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::diag ( octave_idx_type  k = 0  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
dim_vector octave_base_diag< DMT, MT >::dims ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::do_index_op ( const octave_value_list idx,
bool  resize_ok = false 
) [inline, virtual]

Reimplemented from octave_base_value.

Reimplemented in octave_diag_matrix.

template<class DMT , class MT >
double octave_base_diag< DMT, MT >::double_value ( bool  force_conversion = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::erf ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::erfc ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::exp ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::expm1 ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::finite ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::fix ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
FloatNDArray octave_base_diag< DMT, MT >::float_array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
FloatComplexNDArray octave_base_diag< DMT, MT >::float_complex_array_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
FloatComplexMatrix octave_base_diag< DMT, MT >::float_complex_matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
FloatComplex octave_base_diag< DMT, MT >::float_complex_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
FloatMatrix octave_base_diag< DMT, MT >::float_matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
float octave_base_diag< DMT, MT >::float_value ( bool  force_conversion = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::floor ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::full_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::gamma ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
idx_vector octave_base_diag< DMT, MT >::index_vector ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
int16NDArray octave_base_diag< DMT, MT >::int16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
int32NDArray octave_base_diag< DMT, MT >::int32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
int64NDArray octave_base_diag< DMT, MT >::int64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
int8NDArray octave_base_diag< DMT, MT >::int8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
bool octave_base_diag< DMT, MT >::is_constant ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
bool octave_base_diag< DMT, MT >::is_defined ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
bool octave_base_diag< DMT, MT >::is_diag_matrix ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
bool octave_base_diag< DMT, MT >::is_matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
bool octave_base_diag< DMT, MT >::is_numeric_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
sortmode octave_base_diag< DMT, MT >::is_sorted ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
sortmode octave_base_diag< DMT, MT >::is_sorted_rows ( sortmode  mode = UNSORTED  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
bool octave_base_diag< DMT, MT >::is_true ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::isinf ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::isna ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::isnan ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::lgamma ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
bool octave_base_diag< DMT, MT >::load_ascii ( std::istream &  is  )  [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::log ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::log10 ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::log1p ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::log2 ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
MatrixType octave_base_diag< DMT, MT >::matrix_type ( const MatrixType  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
MatrixType octave_base_diag< DMT, MT >::matrix_type ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
Matrix octave_base_diag< DMT, MT >::matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_idx_type octave_base_diag< DMT, MT >::nnz ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::permute ( const Array< int > &  vec,
bool  inv = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
void octave_base_diag< DMT, MT >::print ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
bool octave_base_diag< DMT, MT >::print_as_scalar ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
void octave_base_diag< DMT, MT >::print_info ( std::ostream os,
const std::string prefix 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
void octave_base_diag< DMT, MT >::print_raw ( std::ostream os,
bool  pr_as_read_syntax = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::reshape ( const dim_vector new_dims  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::resize ( const dim_vector dv,
bool  fill = false 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::round ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::roundb ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
bool octave_base_diag< DMT, MT >::save_ascii ( std::ostream os  )  [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
double octave_base_diag< DMT, MT >::scalar_value ( bool  frc_str_conv = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::signum ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::sin ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::sinh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::sort ( Array< octave_idx_type > &  sidx,
octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::sort ( octave_idx_type  dim = 0,
sortmode  mode = ASCENDING 
) const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
Array<octave_idx_type> octave_base_diag< DMT, MT >::sort_rows_idx ( sortmode  mode = ASCENDING  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
SparseComplexMatrix octave_base_diag< DMT, MT >::sparse_complex_matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
SparseMatrix octave_base_diag< DMT, MT >::sparse_matrix_value ( bool  = false  )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::squeeze ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::subsasgn ( const std::string type,
const std::list< octave_value_list > &  idx,
const octave_value rhs 
) [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value_list octave_base_diag< DMT, MT >::subsref ( const std::string type,
const std::list< octave_value_list > &  idx,
int   
) [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::subsref ( const std::string type,
const std::list< octave_value_list > &  idx 
) [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::tan ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
octave_value octave_base_diag< DMT, MT >::tanh ( void   )  const [virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
octave_value octave_base_diag< DMT, MT >::to_dense ( void   )  const [inline, protected]

template<class DMT, class MT>
uint16NDArray octave_base_diag< DMT, MT >::uint16_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
uint32NDArray octave_base_diag< DMT, MT >::uint32_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
uint64NDArray octave_base_diag< DMT, MT >::uint64_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT, class MT>
uint8NDArray octave_base_diag< DMT, MT >::uint8_array_value ( void   )  const [inline, virtual]

Reimplemented from octave_base_value.

template<class DMT , class MT >
int octave_base_diag< DMT, MT >::write ( octave_stream os,
int  block_size,
oct_data_conv::data_type  output_type,
int  skip,
oct_mach_info::float_format  flt_fmt 
) const [inline, virtual]

Reimplemented from octave_base_value.


Member Data Documentation

template<class DMT, class MT>
DMT octave_base_diag< DMT, MT >::matrix [protected]


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