#include <algorithm>#include <cmath>#include <complex>#include <istream>#include <limits>#include <ostream>#include "Array-util.h"#include "CDiagMatrix.h"#include "CMatrix.h"#include "CNDArray.h"#include "CRowVector.h"#include "DET.h"#include "blas-proto.h"#include "boolMatrix.h"#include "chMatrix.h"#include "chol.h"#include "dDiagMatrix.h"#include "dMatrix.h"#include "dRowVector.h"#include "lapack-proto.h"#include "lo-ieee.h"#include "lo-utils.h"#include "mappers.h"#include "mx-cm-dm.h"#include "mx-cm-s.h"#include "mx-dm-cm.h"#include "mx-inlines.cc"#include "mx-op-defs.h"#include "oct-cmplx.h"#include "oct-error.h"#include "oct-fftw.h"#include "oct-locbuf.h"#include "oct-norm.h"#include "schur.h"#include "svd.h"Go to the source code of this file.
Macros | |
| #define | EMPTY_RETURN_CHECK(T) |
| #define EMPTY_RETURN_CHECK | ( | T | ) |
Definition at line 3483 of file CMatrix.cc.
| ComplexMatrix conj | ( | const ComplexMatrix & | a | ) |
Definition at line 676 of file CMatrix.cc.
Referenced by Givens().
| ComplexMatrix Givens | ( | const Complex & | x, |
| const Complex & | y | ||
| ) |
Definition at line 3233 of file CMatrix.cc.
References conj(), Array< T, Alloc >::elem(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), and x.
Referenced by Fgivens().
| ComplexMatrix linspace | ( | const ComplexColumnVector & | x1, |
| const ComplexColumnVector & | x2, | ||
| octave_idx_type | n | ||
| ) |
Definition at line 3684 of file CMatrix.cc.
References Array< T, Alloc >::clear(), linspace(), and Array< T, Alloc >::numel().
Referenced by linspace().
| ComplexMatrix max | ( | const Complex & | c, |
| const ComplexMatrix & | m | ||
| ) |
| ComplexMatrix max | ( | const Complex & | c, |
| const ComplexMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3594 of file CMatrix.cc.
References max().
| ComplexMatrix max | ( | const Complex & | c, |
| const ComplexMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3601 of file CMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
| ComplexMatrix max | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b | ||
| ) |
Definition at line 3644 of file CMatrix.cc.
References max().
| ComplexMatrix max | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3652 of file CMatrix.cc.
References max().
| ComplexMatrix max | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3659 of file CMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
| ComplexMatrix max | ( | const ComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 3622 of file CMatrix.cc.
References max().
| ComplexMatrix max | ( | const ComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3630 of file CMatrix.cc.
References max().
| ComplexMatrix max | ( | const ComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3637 of file CMatrix.cc.
References max().
| ComplexMatrix min | ( | const Complex & | c, |
| const ComplexMatrix & | m | ||
| ) |
| ComplexMatrix min | ( | const Complex & | c, |
| const ComplexMatrix & | m, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3496 of file CMatrix.cc.
References min().
| ComplexMatrix min | ( | const Complex & | c, |
| const ComplexMatrix & | m, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3503 of file CMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
| ComplexMatrix min | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b | ||
| ) |
Definition at line 3546 of file CMatrix.cc.
References min().
| ComplexMatrix min | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3554 of file CMatrix.cc.
References min().
| ComplexMatrix min | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3561 of file CMatrix.cc.
References Array< T, Alloc >::columns(), EMPTY_RETURN_CHECK, and Array< T, Alloc >::rows().
| ComplexMatrix min | ( | const ComplexMatrix & | m, |
| const Complex & | c | ||
| ) |
Definition at line 3524 of file CMatrix.cc.
References min().
| ComplexMatrix min | ( | const ComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag | ||
| ) |
Definition at line 3532 of file CMatrix.cc.
References min().
| ComplexMatrix min | ( | const ComplexMatrix & | m, |
| const Complex & | c, | ||
| const bool | nanflag, | ||
| const bool | realabs | ||
| ) |
Definition at line 3539 of file CMatrix.cc.
References min().
| boolMatrix mx_el_and | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3713 of file CMatrix.cc.
| boolMatrix mx_el_and | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3710 of file CMatrix.cc.
| boolMatrix mx_el_and | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3716 of file CMatrix.cc.
| boolMatrix mx_el_eq | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_eq | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_eq | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_ge | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_ge | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_ge | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_gt | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_gt | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_gt | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_le | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_le | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_le | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_lt | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_lt | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_lt | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_ne | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3712 of file CMatrix.cc.
| boolMatrix mx_el_ne | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3709 of file CMatrix.cc.
| boolMatrix mx_el_ne | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3715 of file CMatrix.cc.
| boolMatrix mx_el_or | ( | const Complex & | s, |
| const ComplexMatrix & | m | ||
| ) |
Definition at line 3713 of file CMatrix.cc.
| boolMatrix mx_el_or | ( | const ComplexMatrix & | m, |
| const Complex & | s | ||
| ) |
Definition at line 3710 of file CMatrix.cc.
| boolMatrix mx_el_or | ( | const ComplexMatrix & | m1, |
| const ComplexMatrix & | m2 | ||
| ) |
Definition at line 3716 of file CMatrix.cc.
| ComplexMatrix operator* | ( | const ColumnVector & | v, |
| const ComplexRowVector & | a | ||
| ) |
Definition at line 2624 of file CMatrix.cc.
| ComplexMatrix operator* | ( | const ComplexColumnVector & | a, |
| const RowVector & | b | ||
| ) |
Definition at line 2631 of file CMatrix.cc.
| ComplexMatrix operator* | ( | const ComplexColumnVector & | v, |
| const ComplexRowVector & | a | ||
| ) |
Definition at line 2638 of file CMatrix.cc.
References Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, len, Array< T, Alloc >::numel(), and Array< T, Alloc >::rwdata().
| ComplexMatrix operator* | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b | ||
| ) |
Definition at line 3476 of file CMatrix.cc.
References xgemm().
| ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
| const Matrix & | a | ||
| ) |
Definition at line 3304 of file CMatrix.cc.
References Array< T, Alloc >::columns(), imag(), real(), and Array< T, Alloc >::rows().
| ComplexMatrix operator* | ( | const Matrix & | m, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 3313 of file CMatrix.cc.
References Array< T, Alloc >::columns(), imag(), real(), and Array< T, Alloc >::rows().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const ComplexMatrix & | a | ||
| ) |
Definition at line 3194 of file CMatrix.cc.
| std::istream & operator>> | ( | std::istream & | is, |
| ComplexMatrix & | a | ||
| ) |
Definition at line 3210 of file CMatrix.cc.
| ComplexMatrix Sylvester | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| const ComplexMatrix & | c | ||
| ) |
Definition at line 3255 of file CMatrix.cc.
References F77_DBLE_CMPLX_ARG, F77_XFCN, ComplexMatrix::hermitian(), Array< T, Alloc >::rows(), Array< T, Alloc >::rwdata(), and scale().
Referenced by Fsylvester().
| ComplexMatrix xgemm | ( | const ComplexMatrix & | a, |
| const ComplexMatrix & | b, | ||
| blas_trans_type | transa, | ||
| blas_trans_type | transb | ||
| ) |
Definition at line 3353 of file CMatrix.cc.
References blas_conj_trans, blas_no_trans, Array< T, Alloc >::cols(), Array< T, Alloc >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, Array< T, Alloc >::rows(), Array< T, Alloc >::rwdata(), Array< T, Alloc >::xelem(), xzdotc(), and xzdotu().
Referenced by operator*().