#include <cassert>
#include <limits>
#include "Array-util.h"
#include "oct-cmplx.h"
#include "quit.h"
#include "error.h"
#include "ovl.h"
#include "utils.h"
#include "dSparse.h"
#include "CSparse.h"
#include "ov-re-sparse.h"
#include "ov-cx-sparse.h"
#include "sparse-xpow.h"
Go to the source code of this file.
octave_value elem_xpow | ( | const Complex & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 567 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), and Sparse< T >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 542 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), Sparse< T >::rows(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 688 of file sparse-xpow.cc.
References Sparse< T >::data(), Sparse< T >::dims(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), octave_value(), pow(), and retval.
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 718 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave::err_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), and Sparse< T >::xelem().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 651 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave::err_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), Sparse< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 585 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), pow(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), and xisint().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 483 of file sparse-xpow.cc.
References Sparse< T >::data(), Sparse< T >::dims(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), octave_value(), pow(), and retval.
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 511 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave::err_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), and Sparse< T >::xelem().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 407 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), octave::err_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), pow(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), Sparse< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 317 of file sparse-xpow.cc.
References SparseMatrix::any_element_is_negative(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), octave_value(), pow(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), and xisint().
octave_value elem_xpow | ( | double | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 295 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), and Sparse< T >::rows().
octave_value elem_xpow | ( | double | a, |
const SparseMatrix & | b | ||
) |
Definition at line 249 of file sparse-xpow.cc.
References SparseMatrix::all_integers(), Sparse< T >::cols(), pow(), retval, and Sparse< T >::rows().
Referenced by oct_binop_el_pow(), and scalar_xpow().
|
inline |
Definition at line 232 of file sparse-xpow.cc.
References octave_value::complex_matrix_value(), elem_xpow(), octave_value::iscomplex(), and octave_value::matrix_value().
Referenced by elem_xpow().
|
inlinestatic |
Definition at line 49 of file sparse-xpow.cc.
References max(), min(), x, and octave::math::x_nint().
Referenced by elem_xpow(), and xpow().
octave_value xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 128 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), SparseComplexMatrix::inverse(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), warning(), and xisint().
octave_value xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 60 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), SparseMatrix::inverse(), retval, Sparse< T >::ridx(), Sparse< T >::rows(), warning(), and xisint().
Referenced by oct_binop_dmspow(), and oct_binop_pow().