GNU Octave
3.8.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 "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 "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 637 of file xpow.cc.
References Matrix::all_integers(), Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | double | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 679 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 704 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 743 of file xpow.cc.
References Matrix::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 785 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 851 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 870 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 898 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 921 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 939 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 980 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 1011 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 1043 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 1062 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 1118 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 1151 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 1166 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 1236 of file xpow.cc.
References NDArray::any_element_is_negative(), 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 1311 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 1326 of file xpow.cc.
References 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 1357 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 1376 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 1391 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 1425 of file xpow.cc.
References 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 1460 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 1475 of file xpow.cc.
References 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 2071 of file xpow.cc.
References FloatMatrix::all_integers(), Array< T >::cols(), pow(), and Array< T >::rows().
octave_value elem_xpow | ( | float | a, |
const FloatComplexMatrix & | b | ||
) |
Definition at line 2113 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 2133 of file xpow.cc.
References FloatMatrix::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 2175 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 2241 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 2260 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 2288 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 2311 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 2330 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 2361 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 2393 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 2412 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 2468 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 2501 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 2516 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 2586 of file xpow.cc.
References FloatNDArray::any_element_is_negative(), 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 2661 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 2676 of file xpow.cc.
References 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 2707 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 2726 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 2741 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 2775 of file xpow.cc.
References 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 2810 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 2825 of file xpow.cc.
References Array< T >::dims(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::length(), octave_value(), and pow().
Definition at line 698 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 100 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 151 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 190 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 275 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 307 of file xpow.cc.
References PermMatrix::power(), and xpow().
octave_value xpow | ( | const Matrix & | a, |
const Complex & | b | ||
) |
Definition at line 319 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 367 of file xpow.cc.
References Array< T >::cols(), EIG::eigenvalues(), EIG::eigenvectors(), error(), error_state, imag(), pow(), Q, real, and Array< T >::rows().
OCTINTERP_API octave_value xpow | ( | const Complex & | a, |
const Complex & | b | ||
) |
octave_value xpow | ( | const Complex & | a, |
const ComplexMatrix & | b | ||
) |
Definition at line 415 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 454 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 539 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 573 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 1545 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 1597 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 1636 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 1721 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 1754 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 1802 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 FloatComplexMatrix & | b | ||
) |
Definition at line 1850 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 1889 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 1974 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 2008 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 | ||
) |