GNU Octave
3.8.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#include <iostream>
#include "Array-util.h"
#include "lo-error.h"
#include "mx-base.h"
#include "mx-inlines.cc"
#include "oct-cmplx.h"
Go to the source code of this file.
Functions | |
DiagMatrix | imag (const ComplexDiagMatrix &a) |
DiagMatrix | operator* (const DiagMatrix &a, const DiagMatrix &b) |
std::ostream & | operator<< (std::ostream &os, const DiagMatrix &a) |
DiagMatrix | real (const ComplexDiagMatrix &a) |
DiagMatrix imag | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 154 of file dDiagMatrix.cc.
References DiagArray2< T >::cols(), ComplexDiagMatrix::extract_diag(), imag(), and DiagArray2< T >::rows().
DiagMatrix operator* | ( | const DiagMatrix & | a, |
const DiagMatrix & | b | ||
) |
Definition at line 319 of file dDiagMatrix.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgelem(), DiagArray2< T >::dgxelem(), gripe_nonconformant(), DiagArray2< T >::length(), and DiagArray2< T >::rows().
std::ostream& operator<< | ( | std::ostream & | os, |
const DiagMatrix & | a | ||
) |
Definition at line 372 of file dDiagMatrix.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::elem(), and DiagArray2< T >::rows().
DiagMatrix real | ( | const ComplexDiagMatrix & | a | ) |
Definition at line 148 of file dDiagMatrix.cc.
References DiagArray2< T >::cols(), ComplexDiagMatrix::extract_diag(), real, and DiagArray2< T >::rows().