#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 949 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1388 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 926 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const NDArray & | b | ||
) |
Definition at line 1369 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const octave::range< double > & | r | ||
) |
Definition at line 967 of file xpow.cc.
References elem_xpow(), n, pow(), r, and same_sign().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 1070 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 1089 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Matrix & | b | ||
) |
Definition at line 1041 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 1009 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1468 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1483 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1438 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
double | b | ||
) |
Definition at line 1403 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), Array< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2308 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2708 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2285 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2689 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2388 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2407 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2359 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 2327 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2788 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2803 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2758 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
float | b | ||
) |
Definition at line 2723 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), Array< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2241 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2260 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2178 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 2136 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2648 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2663 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2578 of file xpow.cc.
References FloatNDArray::all_integers(), FloatNDArray::any_element_is_negative(), bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), len, Array< T, Alloc >::numel(), octave_value(), octave_value_extract< FloatNDArray >(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
float | b | ||
) |
Definition at line 2508 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), Array< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 882 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const Matrix & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 901 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | const Matrix & | a, |
const Matrix & | b | ||
) |
Definition at line 819 of file xpow.cc.
References Array< T, Alloc >::cols(), err_nonconformant(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 777 of file xpow.cc.
References NDArray::any_element_is_negative(), Array< T, Alloc >::cols(), pow(), Array< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1328 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1343 of file xpow.cc.
References bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1258 of file xpow.cc.
References NDArray::all_integers(), NDArray::any_element_is_negative(), bsxfun_pow(), Array< T, Alloc >::dims(), err_nonconformant(), is_valid_bsxfun(), len, Array< T, Alloc >::numel(), octave_value(), octave_value_extract< NDArray >(), pow(), and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
double | b | ||
) |
Definition at line 1190 of file xpow.cc.
References NDArray::any_element_is_negative(), Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), pow(), Array< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 711 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | double | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1175 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 669 of file xpow.cc.
References NDArray::all_integers(), Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
Referenced by elem_xpow().
octave_value elem_xpow | ( | double | a, |
const NDArray & | b | ||
) |
Definition at line 1142 of file xpow.cc.
References NDArray::all_integers(), Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | double | a, |
const octave::range< double > & | r | ||
) |
Definition at line 736 of file xpow.cc.
References elem_xpow(), n, pow(), r, and same_sign().
octave_value elem_xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2116 of file xpow.cc.
References Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2493 of file xpow.cc.
References Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
octave_value elem_xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2074 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T, Alloc >::cols(), pow(), and Array< T, Alloc >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2460 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T, Alloc >::dims(), Array< T, Alloc >::numel(), and pow().
|
static |
|
static |
|
inlinestatic |
Definition at line 730 of file xpow.cc.
Referenced by elem_xpow().
|
inlinestatic |
|
inlinestatic |
octave_value xpow | ( | const Complex & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 442 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, EIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 396 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, EIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const Complex & | a, |
double | b | ||
) |
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 605 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgxelem(), err_nonsquare_matrix(), Matrix, pow(), r, and DiagArray2< T >::rows().
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
double | b | ||
) |
octave_value xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 568 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, EIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 479 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, DiagMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), ComplexMatrix::inverse(), Matrix, pow(), Q, EIG::right_eigenvectors(), Array< T, Alloc >::rows(), warning(), and xisint().
octave_value xpow | ( | const DiagMatrix & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const DiagMatrix & | a, |
double | b | ||
) |
Definition at line 301 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgxelem(), err_nonsquare_matrix(), Matrix, pow(), r, 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 1847 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatMatrix, pow(), Q, FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1801 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatMatrix, pow(), Q, FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2010 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgxelem(), err_nonsquare_matrix(), FloatMatrix, pow(), r, and DiagArray2< T >::rows().
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1973 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatMatrix, pow(), Q, FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 1884 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatDiagMatrix, FloatMatrix, FloatComplexMatrix::inverse(), pow(), Q, FloatEIG::right_eigenvectors(), Array< T, Alloc >::rows(), warning(), and xisint().
octave_value xpow | ( | const FloatDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatDiagMatrix & | a, |
float | b | ||
) |
Definition at line 1716 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgxelem(), err_nonsquare_matrix(), FloatMatrix, pow(), r, DiagArray2< T >::rows(), and xisint().
octave_value xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1750 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatMatrix, pow(), Q, FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 1627 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatDiagMatrix, FloatMatrix, FloatMatrix::inverse(), pow(), Q, FloatEIG::right_eigenvectors(), Array< T, Alloc >::rows(), warning(), and xisint().
octave_value xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 345 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, EIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 212 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, DiagMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix::inverse(), Matrix, pow(), Q, EIG::right_eigenvectors(), Array< T, Alloc >::rows(), warning(), and xisint().
octave_value xpow | ( | const PermMatrix & | a, |
double | b | ||
) |
Definition at line 335 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 175 of file xpow.cc.
References Array< T, Alloc >::cols(), ComplexMatrix, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, EIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 126 of file xpow.cc.
References C, Array< T, Alloc >::cols(), EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), Matrix, pow(), Q, real(), EIG::right_eigenvectors(), and Array< T, Alloc >::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 1590 of file xpow.cc.
References Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatComplexMatrix, FloatMatrix, pow(), Q, FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1540 of file xpow.cc.
References C, Array< T, Alloc >::cols(), FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), FloatMatrix, pow(), Q, real(), FloatEIG::right_eigenvectors(), and Array< T, Alloc >::rows().
octave_value xpow | ( | float | a, |
float | b | ||
) |