#include <cassert>
#include <limits>
#include "Array-util.h"
#include "CColVector.h"
#include "CDiagMatrix.h"
#include "fCDiagMatrix.h"
#include "fCMatrix.h"
#include "CMatrix.h"
#include "EIG.h"
#include "fEIG.h"
#include "dDiagMatrix.h"
#include "fDiagMatrix.h"
#include "dMatrix.h"
#include "PermMatrix.h"
#include "mx-cm-cdm.h"
#include "mx-fcm-fcdm.h"
#include "oct-cmplx.h"
#include "Range.h"
#include "quit.h"
#include "error.h"
#include "ovl.h"
#include "utils.h"
#include "xpow.h"
#include "bsxfun.h"
Go to the source code of this file.
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 925 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1362 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 902 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const NDArray & | b | ||
) |
Definition at line 1343 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const Range & | r | ||
) |
Definition at line 943 of file xpow.cc.
References elem_xpow(), n, pow(), r, retval, and same_sign().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 1044 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 1063 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Matrix & | b | ||
) |
Definition at line 1015 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 983 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1442 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1457 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1412 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
double | b | ||
) |
Definition at line 1377 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), pow(), Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2271 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2671 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2248 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2652 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2351 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2370 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2322 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 2290 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2751 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2766 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2721 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
float | b | ||
) |
Definition at line 2686 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), pow(), Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2204 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2223 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2141 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), retval, Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 2099 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T >::cols(), pow(), retval, Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2611 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2626 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2541 of file xpow.cc.
References FloatNDArray::all_integers(), FloatNDArray::any_element_is_negative(), bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), len, Array< T >::numel(), octave_value(), octave_value_extract< FloatNDArray >(), pow(), retval, and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
float | b | ||
) |
Definition at line 2471 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T >::dims(), Array< T >::numel(), pow(), retval, Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 858 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Matrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 877 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Matrix & | a, |
const Matrix & | b | ||
) |
Definition at line 795 of file xpow.cc.
References Array< T >::cols(), octave::err_nonconformant(), pow(), retval, Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 753 of file xpow.cc.
References NDArray::any_element_is_negative(), Array< T >::cols(), pow(), retval, Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1302 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1317 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1232 of file xpow.cc.
References NDArray::all_integers(), NDArray::any_element_is_negative(), bsxfun_pow(), Array< T >::dims(), octave::err_nonconformant(), is_valid_bsxfun(), len, Array< T >::numel(), octave_value(), octave_value_extract< NDArray >(), pow(), retval, and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
double | b | ||
) |
Definition at line 1164 of file xpow.cc.
References NDArray::any_element_is_negative(), Array< T >::dims(), Array< T >::numel(), pow(), retval, Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 689 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | double | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1149 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 647 of file xpow.cc.
References NDArray::all_integers(), Array< T >::cols(), pow(), retval, and Array< T >::rows().
Referenced by elem_xpow().
octave_value elem_xpow | ( | double | a, |
const NDArray & | b | ||
) |
Definition at line 1116 of file xpow.cc.
References NDArray::all_integers(), Array< T >::dims(), Array< T >::numel(), pow(), and retval.
octave_value elem_xpow | ( | double | a, |
const Range & | r | ||
) |
Definition at line 714 of file xpow.cc.
References elem_xpow(), n, pow(), r, retval, and same_sign().
octave_value elem_xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2079 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2456 of file xpow.cc.
References Array< T >::dims(), Array< T >::numel(), and pow().
octave_value elem_xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2037 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T >::cols(), pow(), retval, and Array< T >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2423 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T >::dims(), Array< T >::numel(), pow(), and retval.
|
static |
|
static |
|
inlinestatic |
Definition at line 708 of file xpow.cc.
Referenced by elem_xpow().
|
inlinestatic |
Definition at line 75 of file xpow.cc.
References max(), min(), x, and octave::math::x_nint().
Referenced by elem_xpow(), and xpow().
octave_value xpow | ( | const Complex & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 427 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 379 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const Complex & | a, |
double | b | ||
) |
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 586 of file xpow.cc.
References DiagArray2< T >::cols(), err_nonsquare_matrix(), pow(), r, retval, and DiagArray2< T >::rows().
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
double | b | ||
) |
octave_value xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 552 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), pow(), Q, retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 466 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), ComplexMatrix::inverse(), pow(), Q, retval, EIG::right_eigenvectors(), Array< T >::rows(), warning(), and xisint().
octave_value xpow | ( | const DiagMatrix & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const DiagMatrix & | a, |
double | b | ||
) |
Definition at line 291 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgelem(), err_nonsquare_matrix(), pow(), r, retval, DiagArray2< T >::rows(), and xisint().
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1817 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1769 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1976 of file xpow.cc.
References DiagArray2< T >::cols(), err_nonsquare_matrix(), pow(), r, retval, and DiagArray2< T >::rows().
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1942 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), pow(), Q, retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 1856 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix::inverse(), pow(), Q, retval, FloatEIG::right_eigenvectors(), Array< T >::rows(), warning(), and xisint().
octave_value xpow | ( | const FloatDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatDiagMatrix & | a, |
float | b | ||
) |
Definition at line 1691 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgelem(), err_nonsquare_matrix(), pow(), r, retval, DiagArray2< T >::rows(), and xisint().
octave_value xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1721 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), pow(), Q, retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 1605 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatMatrix::inverse(), pow(), Q, retval, FloatEIG::right_eigenvectors(), Array< T >::rows(), warning(), and xisint().
octave_value xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 331 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), pow(), Q, retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 205 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix::inverse(), pow(), Q, retval, EIG::right_eigenvectors(), Array< T >::rows(), warning(), and xisint().
octave_value xpow | ( | const PermMatrix & | a, |
double | b | ||
) |
Definition at line 321 of file xpow.cc.
References PermMatrix::power(), xisint(), and xpow().
octave_value xpow | ( | double | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 166 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 115 of file xpow.cc.
References C, Array< T >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, EIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | double | a, |
double | b | ||
) |
octave_value xpow | ( | float | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1566 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().
octave_value xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1514 of file xpow.cc.
References C, Array< T >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), imag(), pow(), Q, real(), retval, FloatEIG::right_eigenvectors(), and Array< T >::rows().