23 #if ! defined (octave_dDiagMatrix_h) 24 #define octave_dDiagMatrix_h 1 26 #include "octave-config.h" 100 DiagMatrix pseudo_inverse (
double tol = 0.0)
const;
107 DET determinant (
void)
const;
108 double rcond (
void)
const;
112 friend OCTAVE_API std::ostream&
operator << (std::ostream&
os,
OCTAVE_API DiagMatrix operator*(const DiagMatrix &a, const DiagMatrix &b)
OCTAVE_API DiagMatrix real(const ComplexDiagMatrix &a)
OCTAVE_EXPORT octave_value_list column
ColumnVector extract_diag(octave_idx_type k=0) const
bool operator!=(const dim_vector &a, const dim_vector &b)
identity matrix If supplied two scalar respectively For allows like xample val
DiagMatrix(octave_idx_type r, octave_idx_type c)
SparseBoolMatrix & operator=(const SparseBoolMatrix &a)
OCTAVE_API DiagMatrix imag(const ComplexDiagMatrix &a)
#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)
nd example oindent opens the file binary numeric values will be read assuming they are stored in IEEE format with the least significant bit and then converted to the native representation Opening a file that is already open simply opens it again and returns a separate file id It is not an error to open a file several though writing to the same file through several different file ids may produce unexpected results The possible values of text mode reading and writing automatically converts linefeeds to the appropriate line end character for the you may append a you must also open the file in binary mode The parameter conversions are currently only supported for and permissions will be set to and then everything is written in a single operation This is very efficient and improves performance c
Template for two dimensional diagonal array with math operators.
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
DiagMatrix(const DiagMatrix &a)
DiagMatrix(octave_idx_type r, octave_idx_type c, double val)
DiagMatrix(const DiagArray2< U > &a)
MDiagArray2< T > & operator=(const MDiagArray2< T > &a)
bool operator==(const dim_vector &a, const dim_vector &b)
MDiagArray2< T > transpose(void) const
Array< T > extract_diag(octave_idx_type k=0) const
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
DiagMatrix(const MDiagArray2< double > &a)
DiagMatrix transpose(void) const
DiagMatrix(const Array< double > &a, octave_idx_type r, octave_idx_type c)
DiagMatrix(const Array< double > &a)
where the brackets indicate optional arguments and and character or cell array For character arrays the conversion is repeated for every row