GNU Octave  4.2.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Functions
sparse-xpow.cc File Reference
#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"
Include dependency graph for sparse-xpow.cc:

Go to the source code of this file.

Functions

octave_value elem_xpow (double a, const SparseMatrix &b)
 
octave_value elem_xpow (double a, const SparseComplexMatrix &b)
 
octave_value elem_xpow (const SparseMatrix &a, double b)
 
octave_value elem_xpow (const SparseMatrix &a, const SparseMatrix &b)
 
octave_value elem_xpow (const SparseMatrix &a, const Complex &b)
 
octave_value elem_xpow (const SparseMatrix &a, const SparseComplexMatrix &b)
 
octave_value elem_xpow (const Complex &a, const SparseMatrix &b)
 
octave_value elem_xpow (const Complex &a, const SparseComplexMatrix &b)
 
octave_value elem_xpow (const SparseComplexMatrix &a, double b)
 
octave_value elem_xpow (const SparseComplexMatrix &a, const SparseMatrix &b)
 
octave_value elem_xpow (const SparseComplexMatrix &a, const Complex &b)
 
octave_value elem_xpow (const SparseComplexMatrix &a, const SparseComplexMatrix &b)
 
template<typename S , typename SM >
octave_value scalar_xpow (const S &a, const SM &b)
 
static int xisint (double x)
 
octave_value xpow (const SparseMatrix &a, double b)
 
octave_value xpow (const SparseComplexMatrix &a, double b)
 

Function Documentation

octave_value elem_xpow ( double  a,
const SparseMatrix b 
)
octave_value elem_xpow ( double  a,
const SparseComplexMatrix b 
)

Definition at line 293 of file sparse-xpow.cc.

References b, Sparse< T >::cols(), pow(), result, and Sparse< T >::rows().

octave_value elem_xpow ( const SparseMatrix a,
double  b 
)
octave_value elem_xpow ( const SparseMatrix a,
const SparseMatrix b 
)
octave_value elem_xpow ( const SparseMatrix a,
const Complex b 
)
octave_value elem_xpow ( const SparseMatrix a,
const SparseComplexMatrix b 
)
octave_value elem_xpow ( const Complex a,
const SparseMatrix b 
)

Definition at line 540 of file sparse-xpow.cc.

References b, Sparse< T >::cols(), pow(), result, Sparse< T >::rows(), and xisint().

octave_value elem_xpow ( const Complex a,
const SparseComplexMatrix b 
)

Definition at line 565 of file sparse-xpow.cc.

References Sparse< T >::cols(), pow(), result, and Sparse< T >::rows().

octave_value elem_xpow ( const SparseComplexMatrix a,
double  b 
)
octave_value elem_xpow ( const SparseComplexMatrix a,
const SparseMatrix b 
)
octave_value elem_xpow ( const SparseComplexMatrix a,
const Complex b 
)
octave_value elem_xpow ( const SparseComplexMatrix a,
const SparseComplexMatrix b 
)
template<typename S , typename SM >
octave_value scalar_xpow ( const S &  a,
const SM &  b 
)
inline
static int xisint ( double  x)
inlinestatic

Definition at line 47 of file sparse-xpow.cc.

References max(), min(), and octave::math::x_nint().

Referenced by elem_xpow().

octave_value xpow ( const SparseMatrix a,
double  b 
)
octave_value xpow ( const SparseComplexMatrix a,
double  b 
)