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 "oct-cmplx.h"
#include "quit.h"
#include "error.h"
#include "oct-obj.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 | ( | double | a, |
const SparseMatrix & | b | ||
) |
Definition at line 258 of file sparse-xpow.cc.
References SparseMatrix::all_integers(), Sparse< T >::cols(), pow(), and Sparse< T >::rows().
Referenced by elem_xpow(), oct_binop_el_pow(), and scalar_xpow().
octave_value elem_xpow | ( | double | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 304 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), and Sparse< T >::rows().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 326 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(), Sparse< T >::ridx(), and Sparse< T >::rows().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 416 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), octave_value(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), and Sparse< T >::xelem().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 495 of file sparse-xpow.cc.
References Sparse< T >::data(), Sparse< T >::dims(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), octave_value(), and pow().
octave_value elem_xpow | ( | const SparseMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 523 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), octave_value(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), and Sparse< T >::xelem().
octave_value elem_xpow | ( | const Complex & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 557 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), Sparse< T >::rows(), and xisint().
octave_value elem_xpow | ( | const Complex & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 582 of file sparse-xpow.cc.
References Sparse< T >::cols(), pow(), and Sparse< T >::rows().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 600 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseMatrix & | b | ||
) |
Definition at line 666 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), octave_value(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), Sparse< T >::xelem(), and xisint().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const Complex & | b | ||
) |
Definition at line 707 of file sparse-xpow.cc.
References Sparse< T >::data(), Sparse< T >::dims(), Sparse< T >::maybe_compress(), Sparse< T >::nnz(), octave_value(), and pow().
octave_value elem_xpow | ( | const SparseComplexMatrix & | a, |
const SparseComplexMatrix & | b | ||
) |
Definition at line 737 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::numel(), octave_value(), pow(), Sparse< T >::ridx(), Sparse< T >::rows(), scalar_xpow(), and Sparse< T >::xelem().
|
inline |
Definition at line 241 of file sparse-xpow.cc.
References octave_value::complex_matrix_value(), elem_xpow(), octave_value::is_complex_type(), and octave_value::matrix_value().
Referenced by elem_xpow().
Definition at line 47 of file sparse-xpow.cc.
References D_NINT(), max(), and min().
Referenced by elem_xpow().
octave_value xpow | ( | const SparseMatrix & | a, |
double | b | ||
) |
Definition at line 59 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), SparseMatrix::inverse(), Sparse< T >::ridx(), Sparse< T >::rows(), and warning().
Referenced by oct_binop_dmspow(), oct_binop_pow(), and xpow().
octave_value xpow | ( | const SparseComplexMatrix & | a, |
double | b | ||
) |
Definition at line 132 of file sparse-xpow.cc.
References Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), error(), SparseComplexMatrix::inverse(), Sparse< T >::ridx(), Sparse< T >::rows(), and warning().