#include <algorithm>
#include <complex>
#include <iostream>
#include <limits>
#include "Array-util.h"
#include "CDiagMatrix.h"
#include "CMatrix.h"
#include "CNDArray.h"
#include "CRowVector.h"
#include "DET.h"
#include "boolMatrix.h"
#include "chMatrix.h"
#include "chol.h"
#include "dDiagMatrix.h"
#include "dMatrix.h"
#include "dRowVector.h"
#include "functor.h"
#include "lo-blas-proto.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-lapack-proto.h"
#include "lo-mappers.h"
#include "lo-utils.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-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 3645 of file CMatrix.cc.
ComplexMatrix conj | ( | const ComplexMatrix & | a | ) |
Definition at line 674 of file CMatrix.cc.
References a.
Referenced by get_blas_trans_arg(), Givens(), and ComplexMatrix::hermitian().
ComplexMatrix Givens | ( | const Complex & | x, |
const Complex & | y | ||
) |
Definition at line 3395 of file CMatrix.cc.
References conj(), cs, Array< T >::elem(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), x, and y.
ComplexMatrix linspace | ( | const ComplexColumnVector & | x1, |
const ComplexColumnVector & | x2, | ||
octave_idx_type | n | ||
) |
Definition at line 3797 of file CMatrix.cc.
References current_liboctave_error_handler, i, Array< T >::numel(), and retval.
ComplexMatrix max | ( | const Complex & | c, |
const ComplexMatrix & | m | ||
) |
Definition at line 3722 of file CMatrix.cc.
References c, Array< T >::columns(), EMPTY_RETURN_CHECK, i, octave::math::max(), result, and Array< T >::rows().
Referenced by ComplexMatrix::lssolve(), max(), norm1(), and ComplexMatrix::pseudo_inverse().
ComplexMatrix max | ( | const ComplexMatrix & | m, |
const Complex & | c | ||
) |
Definition at line 3742 of file CMatrix.cc.
ComplexMatrix max | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 3748 of file CMatrix.cc.
References a, b, current_liboctave_error_handler, EMPTY_RETURN_CHECK, i, imag(), octave::math::max(), real(), and result.
ComplexMatrix min | ( | const Complex & | c, |
const ComplexMatrix & | m | ||
) |
Definition at line 3650 of file CMatrix.cc.
References c, Array< T >::columns(), EMPTY_RETURN_CHECK, i, octave::math::min(), result, and Array< T >::rows().
Referenced by min(), operator*(), and ComplexMatrix::pseudo_inverse().
ComplexMatrix min | ( | const ComplexMatrix & | m, |
const Complex & | c | ||
) |
Definition at line 3670 of file CMatrix.cc.
ComplexMatrix min | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 3676 of file CMatrix.cc.
References a, b, current_liboctave_error_handler, EMPTY_RETURN_CHECK, i, imag(), octave::math::min(), real(), and result.
boolMatrix mx_el_and | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3835 of file CMatrix.cc.
boolMatrix mx_el_and | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3838 of file CMatrix.cc.
boolMatrix mx_el_and | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3841 of file CMatrix.cc.
boolMatrix mx_el_eq | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_eq | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_eq | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_ge | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_ge | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_ge | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_gt | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_gt | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_gt | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_le | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_le | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_le | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_lt | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_lt | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_lt | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_ne | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3834 of file CMatrix.cc.
boolMatrix mx_el_ne | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3837 of file CMatrix.cc.
boolMatrix mx_el_ne | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3840 of file CMatrix.cc.
boolMatrix mx_el_or | ( | const ComplexMatrix & | m, |
const Complex & | s | ||
) |
Definition at line 3835 of file CMatrix.cc.
boolMatrix mx_el_or | ( | const Complex & | s, |
const ComplexMatrix & | m | ||
) |
Definition at line 3838 of file CMatrix.cc.
boolMatrix mx_el_or | ( | const ComplexMatrix & | m1, |
const ComplexMatrix & | m2 | ||
) |
Definition at line 3841 of file CMatrix.cc.
|
static |
Definition at line 715 of file CMatrix.cc.
References a, i, octave::math::isinf(), octave::math::isnan(), max(), Array< T >::numel(), ComplexMatrix::sum(), and Array< T >::xelem().
Referenced by ComplexMatrix::determinant(), ComplexMatrix::finverse(), ComplexMatrix::fsolve(), ComplexMatrix::lssolve(), and ComplexMatrix::rcond().
ComplexMatrix operator* | ( | const ColumnVector & | v, |
const ComplexRowVector & | a | ||
) |
Definition at line 2792 of file CMatrix.cc.
ComplexMatrix operator* | ( | const ComplexColumnVector & | a, |
const RowVector & | b | ||
) |
Definition at line 2799 of file CMatrix.cc.
ComplexMatrix operator* | ( | const ComplexColumnVector & | v, |
const ComplexRowVector & | a | ||
) |
Definition at line 2806 of file CMatrix.cc.
References a, c, ComplexMatrix::ComplexMatrix(), Array< T >::data(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::numel(), and retval.
ComplexMatrix operator* | ( | const ComplexMatrix & | m, |
const Matrix & | a | ||
) |
Definition at line 3466 of file CMatrix.cc.
References a, Array< T >::columns(), ComplexMatrix::ComplexMatrix(), imag(), min(), real(), and Array< T >::rows().
ComplexMatrix operator* | ( | const Matrix & | m, |
const ComplexMatrix & | a | ||
) |
Definition at line 3475 of file CMatrix.cc.
References a, ComplexMatrix::ComplexMatrix(), imag(), min(), real(), and Array< T >::rows().
ComplexMatrix operator* | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 3638 of file CMatrix.cc.
std::ostream& operator<< | ( | std::ostream & | os, |
const ComplexMatrix & | a | ||
) |
Definition at line 3357 of file CMatrix.cc.
References a, i, octave_write_complex(), and os.
std::istream& operator>> | ( | std::istream & | is, |
ComplexMatrix & | a | ||
) |
ComplexMatrix Sylvester | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b, | ||
const ComplexMatrix & | c | ||
) |
Definition at line 3417 of file CMatrix.cc.
References a, a_nr, b, b_nr, c, F77_DBLE_CMPLX_ARG, F77_XFCN, Array< T >::fortran_vec(), ComplexMatrix::hermitian(), retval, scale(), octave::math::schur< T >::schur_matrix(), and octave::math::schur< T >::unitary_matrix().
Referenced by if().
ComplexMatrix xgemm | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b, | ||
blas_trans_type | transa, | ||
blas_trans_type | transb | ||
) |
Definition at line 3515 of file CMatrix.cc.
References a, a_nc, a_nr, b, b_nc, b_nr, blas_conj_trans, blas_no_trans, c, ComplexMatrix::ComplexMatrix(), octave::math::conj(), octave::err_nonconformant(), F77_CONST_DBLE_CMPLX_ARG, F77_DBLE_CMPLX_ARG, F77_FUNC(), F77_XFCN, get_blas_trans_arg(), i, retval, xzdotc(), and xzdotu().
Referenced by do_sqrtm(), oct_binop_herm_mul(), oct_binop_mul_herm(), oct_binop_mul_trans(), oct_binop_trans_mul(), and operator*().