23 #if ! defined (octave_CDiagMatrix_h) 24 #define octave_CDiagMatrix_h 1 26 #include "octave-config.h" 127 bool all_elements_are_real (
void)
const;
140 double rcond (
void)
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)
ComplexDiagMatrix transpose(void) const
OCTAVE_API ComplexDiagMatrix conj(const ComplexDiagMatrix &a)
identity matrix If supplied two scalar respectively For allows like xample val
ComplexDiagMatrix(const Array< double > &a)
ComplexColumnVector extract_diag(octave_idx_type k=0) const
ComplexDiagMatrix(const DiagArray2< U > &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
ComplexRowVector extract(octave_idx_type c1, octave_idx_type c2) const
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
ComplexRowVector & operator=(const ComplexRowVector &a)
ComplexDiagMatrix(octave_idx_type r, octave_idx_type c, const Complex &val)
ComplexMatrix full_matrix_type
ComplexColumnVector operator-=(ComplexColumnVector &x, const Complex &y)
MDiagArray2< T > & operator=(const MDiagArray2< T > &a)
bool operator==(const dim_vector &a, const dim_vector &b)
ComplexDiagMatrix hermitian(void) const
ComplexDiagMatrix(octave_idx_type r, octave_idx_type c)
MDiagArray2< T > transpose(void) const
OCTAVE_API ComplexDiagMatrix operator*(const ComplexDiagMatrix &a, const ComplexDiagMatrix &b)
ComplexColumnVector operator+=(ComplexColumnVector &x, const Complex &y)
Array< T > extract_diag(octave_idx_type k=0) const
ComplexDiagMatrix(const MDiagArray2< Complex > &a)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
MDiagArray2< T > hermitian(T(*fcn)(const T &)=nullptr) const
ComplexDiagMatrix(const Array< Complex > &a)
std::complex< double > Complex
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