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
bool operator!=(const dim_vector &a, const dim_vector &b)
identity matrix If supplied two scalar respectively For allows like xample val
MDiagArray2< T > & operator=(const MDiagArray2< T > &a)
DiagMatrix(octave_idx_type r, octave_idx_type c)
SparseBoolMatrix & operator=(const SparseBoolMatrix &a)
OCTAVE_API DiagMatrix imag(const ComplexDiagMatrix &a)
DiagMatrix transpose(void) const
Array< T > extract_diag(octave_idx_type k=0) const
#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)
ColumnVector extract_diag(octave_idx_type k=0) const
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)
Template for two dimensional diagonal array with math operators.
the sparsity preserving column transformation such that that defines the pivoting threshold can be given in which case it defines the c
bool operator==(const dim_vector &a, const dim_vector &b)
=val(i)}if ode{val(i)}occurs in table i
OCTAVE_EXPORT octave_value_list return the value of the option it must match the dimension of the state and the relative tolerance must also be a vector of the same length tem it must match the dimension of the state and the absolute tolerance must also be a vector of the same length The local error test applied at each integration step is xample roup abs(local error in x(i))<
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
issues an error eealso double
DiagMatrix(const MDiagArray2< double > &a)
MDiagArray2< T > 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