GNU Octave
4.0.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
|
#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 "oct-obj.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 | ||
) |
Definition at line 635 of file xpow.cc.
References NDArray::all_integers(), Array< T >::cols(), pow(), and Array< T >::rows().
Referenced by elem_xpow().
octave_value elem_xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 677 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | double | a, |
const Range & | r | ||
) |
Definition at line 702 of file xpow.cc.
References Range::all_elements_are_ints(), Range::base(), elem_xpow(), Range::inc(), Range::limit(), Range::matrix_value(), Range::nelem(), pow(), and same_sign().
octave_value elem_xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 741 of file xpow.cc.
References NDArray::any_element_is_negative(), Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const Matrix & | a, |
const Matrix & | b | ||
) |
Definition at line 783 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 849 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 868 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 896 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 919 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const Range & | r | ||
) |
Definition at line 937 of file xpow.cc.
References Range::all_elements_are_ints(), Range::base(), elem_xpow(), Range::inc(), Range::limit(), Range::matrix_value(), Range::nelem(), pow(), and same_sign().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 978 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Matrix & | b | ||
) |
Definition at line 1009 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 1041 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 1060 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
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 >::length(), and pow().
octave_value elem_xpow | ( | double | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1149 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
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 >::length(), pow(), and xisint().
octave_value elem_xpow | ( | const NDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1234 of file xpow.cc.
References NDArray::any_element_is_negative(), bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), octave_value_extract< NDArray >(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1309 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const NDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1324 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), and pow().
octave_value elem_xpow | ( | const Complex & | a, |
const NDArray & | b | ||
) |
Definition at line 1355 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), pow(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1374 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
double | b | ||
) |
Definition at line 1389 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), pow(), Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const NDArray & | b | ||
) |
Definition at line 1423 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), pow(), and xisint().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const Complex & | b | ||
) |
Definition at line 1458 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const ComplexNDArray & | a, |
const ComplexNDArray & | b | ||
) |
Definition at line 1473 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), and pow().
octave_value elem_xpow | ( | float | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2069 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2111 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 2131 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2173 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2239 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 2258 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2286 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2309 of file xpow.cc.
References Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 2328 of file xpow.cc.
References Array< T >::cols(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 2359 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), Array< T >::rows(), and xisint().
octave_value elem_xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2391 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 2410 of file xpow.cc.
References Array< T >::cols(), gripe_nonconformant(), octave_value(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2466 of file xpow.cc.
References FloatNDArray::all_integers(), Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | float | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2499 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
float | b | ||
) |
Definition at line 2514 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), Array< T >::dims(), Array< T >::length(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2584 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), octave_value_extract< FloatNDArray >(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2659 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const FloatNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2674 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), and pow().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2705 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplex & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2724 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
float | b | ||
) |
Definition at line 2739 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), pow(), Array< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatNDArray & | b | ||
) |
Definition at line 2773 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), pow(), and xisint().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2808 of file xpow.cc.
References Array< T >::dims(), Array< T >::length(), and pow().
octave_value elem_xpow | ( | const FloatComplexNDArray & | a, |
const FloatComplexNDArray & | b | ||
) |
Definition at line 2823 of file xpow.cc.
References bsxfun_pow(), Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), and pow().
Definition at line 696 of file xpow.cc.
Referenced by elem_xpow().
octave_value xpow | ( | double | a, |
double | b | ||
) |
octave_value xpow | ( | double | a, |
const Matrix & | b | ||
) |
Definition at line 98 of file xpow.cc.
References C, Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | double | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 149 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const Matrix & | a, |
double | b | ||
) |
Definition at line 188 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, Matrix::inverse(), pow(), Q, Array< T >::rows(), and warning().
octave_value xpow | ( | const DiagMatrix & | a, |
double | b | ||
) |
Definition at line 273 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgelem(), error(), pow(), and DiagArray2< T >::rows().
octave_value xpow | ( | const PermMatrix & | a, |
double | b | ||
) |
Definition at line 305 of file xpow.cc.
References PermMatrix::power(), and xpow().
octave_value xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 317 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, pow(), Q, and Array< T >::rows().
octave_value xpow | ( | const Complex & | a, |
double | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const Matrix & | b | ||
) |
Definition at line 365 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const Complex & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 413 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const ComplexMatrix & | a, |
double | b | ||
) |
Definition at line 452 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, ComplexMatrix::inverse(), pow(), Q, Array< T >::rows(), and warning().
octave_value xpow | ( | const ComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 537 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, pow(), Q, and Array< T >::rows().
octave_value xpow | ( | const ComplexDiagMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 571 of file xpow.cc.
References DiagArray2< T >::cols(), error(), pow(), and DiagArray2< T >::rows().
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 1543 of file xpow.cc.
References C, Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | float | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1595 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const FloatMatrix & | a, |
float | b | ||
) |
Definition at line 1634 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, FloatMatrix::inverse(), pow(), Q, Array< T >::rows(), and warning().
octave_value xpow | ( | const FloatDiagMatrix & | a, |
float | b | ||
) |
Definition at line 1719 of file xpow.cc.
References DiagArray2< T >::cols(), DiagArray2< T >::dgelem(), error(), pow(), and DiagArray2< T >::rows().
octave_value xpow | ( | const FloatMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1752 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, pow(), Q, and Array< T >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatComplex & | a, |
const FloatMatrix & | b | ||
) |
Definition at line 1800 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplex & | b | ||
) |
octave_value xpow | ( | const FloatComplex & | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 1848 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real(), and Array< T >::rows().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
float | b | ||
) |
Definition at line 1887 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, FloatComplexMatrix::inverse(), pow(), Q, Array< T >::rows(), and warning().
octave_value xpow | ( | const FloatComplexMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 1972 of file xpow.cc.
References Array< T >::cols(), FloatEIG::eigenvalues(), FloatEIG::eigenvectors(), error(), error_state, pow(), Q, and Array< T >::rows().
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
const FloatComplex & | b | ||
) |
Definition at line 2006 of file xpow.cc.
References DiagArray2< T >::cols(), error(), pow(), and DiagArray2< T >::rows().
octave_value xpow | ( | const FloatComplexDiagMatrix & | a, |
float | b | ||
) |
octave_value xpow | ( | const FloatDiagMatrix & | a, |
const FloatComplex & | b | ||
) |