#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 | ( | double | a, |
const Matrix & | b | ||
) |
octave_value elem_xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | double | a, |
const Range & | r | ||
) |
Definition at line 712 of file xpow.cc.
References a, Range::all_elements_are_ints(), Range::base(), elem_xpow(), i, Range::inc(), Range::limit(), Range::matrix_value(), Range::numel(), pow(), result, retval, and same_sign().
octave_value elem_xpow | ( | const Matrix & | a, |
double | b | ||
) |
octave_value elem_xpow | ( | const Matrix & | a, |
const Matrix & | b | ||
) |
octave_value elem_xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
octave_value elem_xpow | ( | const Matrix & | a, |
const ComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | const Complex & | a, |
const Range & | r | ||
) |
Definition at line 941 of file xpow.cc.
References a, Range::all_elements_are_ints(), Range::base(), elem_xpow(), i, Range::inc(), Range::limit(), Range::matrix_value(), Range::numel(), pow(), result, retval, and same_sign().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Matrix & | b | ||
) |
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const ComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | double | a, |
const NDArray & | b | ||
) |
octave_value elem_xpow | ( | double | a, |
const ComplexNDArray & | b | ||
) |
octave_value elem_xpow | ( | const NDArray & | a, |
double | b | ||
) |
octave_value elem_xpow | ( | const NDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1230 of file xpow.cc.
References a, NDArray::any_element_is_negative(), b, bsxfun_pow(), done, octave::err_nonconformant(), i, is_valid_bsxfun(), octave_value(), octave_value_extract< NDArray >(), pow(), result, retval, and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
const Complex & | b | ||
) |
octave_value elem_xpow | ( | const NDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1315 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), and result.
octave_value elem_xpow | ( | const Complex & | a, |
const NDArray & | b | ||
) |
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexNDArray & | b | ||
) |
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
double | b | ||
) |
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1410 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), result, and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const Complex & | b | ||
) |
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1455 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), and result.
octave_value elem_xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
octave_value elem_xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplexMatrix & | b | ||
) |
octave_value elem_xpow | ( | float | a, |
const FloatNDArray & | b | ||
) |
octave_value elem_xpow | ( | float | a, |
const FloatComplexNDArray & | b | ||
) |
octave_value elem_xpow | ( | const FloatNDArray & | a, |
float | b | ||
) |
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2539 of file xpow.cc.
References a, FloatNDArray::any_element_is_negative(), b, bsxfun_pow(), done, octave::err_nonconformant(), i, is_valid_bsxfun(), octave_value(), octave_value_extract< FloatNDArray >(), pow(), result, retval, and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplex & | b | ||
) |
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2624 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), and result.
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatNDArray & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexNDArray & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
float | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2719 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), result, and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplex & | b | ||
) |
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2764 of file xpow.cc.
References a, b, bsxfun_pow(), octave::err_nonconformant(), i, is_valid_bsxfun(), pow(), and result.
|
static |
|
static |
|
inlinestatic |
Definition at line 73 of file xpow.cc.
References max(), min(), x, and octave::math::x_nint().
Referenced by elem_xpow(), and xpow().
octave_value xpow | ( | double | a, |
double | b | ||
) |
octave_value xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 113 of file xpow.cc.
References a, b, C, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and EIG::right_eigenvectors().
octave_value xpow | ( | double | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 164 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and EIG::right_eigenvectors().
octave_value xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 203 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, result, retval, EIG::right_eigenvectors(), warning(), and xisint().
octave_value xpow | ( | const DiagMatrix & | a, |
double | b | ||
) |
Definition at line 289 of file xpow.cc.
References a, b, DiagArray2< T >::dgelem(), err_nonsquare_matrix(), i, pow(), retval, and xisint().
octave_value xpow | ( | const PermMatrix & | a, |
double | b | ||
) |
octave_value xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 329 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, retval, and EIG::right_eigenvectors().
octave_value xpow | ( | const Complex & | a, |
double | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 377 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and EIG::right_eigenvectors().
octave_value xpow | ( | const Complex & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 425 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and EIG::right_eigenvectors().
octave_value xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 464 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, result, retval, EIG::right_eigenvectors(), warning(), and xisint().
octave_value xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 550 of file xpow.cc.
References a, b, EIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, retval, and EIG::right_eigenvectors().
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
double | b | ||
) |
octave_value xpow | ( | const DiagMatrix & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | float | a, |
float | b | ||
) |
octave_value xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1512 of file xpow.cc.
References a, b, C, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | float | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1564 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 1603 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), f, i, pow(), Q, result, retval, FloatEIG::right_eigenvectors(), warning(), and xisint().
octave_value xpow | ( | const FloatDiagMatrix & | a, |
float | b | ||
) |
Definition at line 1689 of file xpow.cc.
References a, b, DiagArray2< T >::dgelem(), err_nonsquare_matrix(), i, pow(), retval, and xisint().
octave_value xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1719 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | const FloatComplex & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1767 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1815 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, imag(), pow(), Q, real(), retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 1854 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, result, retval, FloatEIG::right_eigenvectors(), warning(), and xisint().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1940 of file xpow.cc.
References a, b, FloatEIG::eigenvalues(), err_failed_diagonalization(), err_nonsquare_matrix(), i, pow(), Q, retval, and FloatEIG::right_eigenvectors().
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatDiagMatrix & | a, |
const FloatComplex & | b | ||
) |