#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 665 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cols(), pow(), and Sparse< T, Alloc >::rows().
octave_value elem_xpow | ( | const Complex & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 640 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cols(), pow(), Sparse< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 786 of file sparse-xpow.cc.
References Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), octave_value(), and pow().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 816 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::numel(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), scalar_xpow(), and Sparse< T, Alloc >::xelem().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 749 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::numel(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), scalar_xpow(), Sparse< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 683 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 581 of file sparse-xpow.cc.
References Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), octave_value(), and pow().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 609 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::numel(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), scalar_xpow(), and Sparse< T, Alloc >::xelem().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 505 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), err_nonconformant(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::numel(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), scalar_xpow(), Sparse< T, Alloc >::xelem(), and xisint().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 415 of file sparse-xpow.cc.
References SparseMatrix::any_element_is_negative(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), octave_value(), pow(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and xisint().
octave_value elem_xpow | ( | double | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 393 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cols(), pow(), and Sparse< T, Alloc >::rows().
octave_value elem_xpow | ( | double | a, |
const SparseMatrix & | b | ||
) |
Definition at line 347 of file sparse-xpow.cc.
References SparseMatrix::all_integers(), Sparse< T, Alloc >::cols(), pow(), and Sparse< T, Alloc >::rows().
Referenced by oct_binop_el_pow(), and scalar_xpow().
|
inline |
Definition at line 306 of file sparse-xpow.cc.
References octave_value::complex_matrix_value(), elem_xpow(), octave_value::iscomplex(), octave_value::matrix_value(), SparseComplexMatrix, and SparseMatrix.
Referenced by elem_xpow().
|
inlinestatic |
Definition at line 51 of file sparse-xpow.cc.
References max(), min(), x, and x_nint().
Referenced by elem_xpow(), and xpow().
octave_value xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 176 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), error(), SparseComplexMatrix::inverse(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::numel(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), SparseMatrix, warning(), and xisint().
octave_value xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 62 of file sparse-xpow.cc.
References Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), error(), SparseMatrix::inverse(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::numel(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), SparseMatrix, warning(), and xisint().
Referenced by oct_binop_dmspow(), and oct_binop_pow().