23 #if !defined (octave_CDiagMatrix_h)
24 #define octave_CDiagMatrix_h 1
121 bool all_elements_are_real (
void)
const;
134 double rcond (
void)
const;
138 friend std::ostream&
operator << (std::ostream& os,
MDiagArray2< T > hermitian(T(*fcn)(const T &)=0) const
ComplexRowVector & fill(double val)
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)
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
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type r2
ComplexRowVector & operator=(const ComplexRowVector &a)
#define MDIAGARRAY2_FORWARD_DEFS(B, R, T)
ComplexDiagMatrix(octave_idx_type r, octave_idx_type c, const Complex &val)
ComplexColumnVector operator-=(ComplexColumnVector &x, const Complex &y)
Array< Complex > column(octave_idx_type k) const
Extract column: A(:,k+1).
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)
ComplexDiagMatrix(const MDiagArray2< Complex > &a)
template OCTAVE_API std::ostream & operator<<(std::ostream &, const Array< bool > &)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type octave_idx_type octave_idx_type c1
ComplexDiagMatrix(const Array< Complex > &a)
static MArray< double > const octave_idx_type const octave_idx_type octave_idx_type r1
std::complex< double > Complex
MDiagArray2< T > transpose(void) const
ComplexDiagMatrix(const ComplexDiagMatrix &a)