23 #if ! defined (octave_CDiagMatrix_h)
24 #define octave_CDiagMatrix_h 1
26 #include "octave-config.h"
123 bool all_elements_are_real (
void)
const;
136 double rcond (
void)
const;
140 friend std::ostream&
operator << (std::ostream& os,
MDiagArray2< T > hermitian(T(*fcn)(const T &)=0) const
ComplexRowVector & fill(double val)
OCTAVE_EXPORT octave_value_list column
ComplexDiagMatrix(const Array< Complex > &a, octave_idx_type r, octave_idx_type c)
bool operator!=(const dim_vector &a, const dim_vector &b)
OCTAVE_API ComplexDiagMatrix conj(const ComplexDiagMatrix &a)
identity matrix If supplied two scalar respectively For allows like xample val
ComplexDiagMatrix(const Array< double > &a)
MDiagArray2< T > & operator=(const MDiagArray2< T > &a)
ComplexColumnVector extract_diag(octave_idx_type k=0) const
ComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
Array< T > extract_diag(octave_idx_type k=0) const
ComplexDiagMatrix(const DiagArray2< U > &a)
ComplexDiagMatrix hermitian(void) const
#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)
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
ComplexRowVector & operator=(const ComplexRowVector &a)
ComplexDiagMatrix(octave_idx_type r, octave_idx_type c, const Complex &val)
ComplexColumnVector operator-=(ComplexColumnVector &x, const Complex &y)
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)
ComplexDiagMatrix(octave_idx_type r, octave_idx_type c)
ComplexDiagMatrix transpose(void) const
OCTAVE_API ComplexDiagMatrix operator*(const ComplexDiagMatrix &a, const ComplexDiagMatrix &b)
ComplexColumnVector operator+=(ComplexColumnVector &x, const Complex &y)
=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))<
ComplexDiagMatrix(const MDiagArray2< Complex > &a)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
ComplexDiagMatrix(const Array< Complex > &a)
std::complex< double > Complex
MDiagArray2< T > transpose(void) const
ComplexDiagMatrix(const ComplexDiagMatrix &a)
where the brackets indicate optional arguments and and character or cell array For character arrays the conversion is repeated for every row