#include <cmath>
#include "lo-array-errwarn.h"
#include "defun.h"
#include "error.h"
#include "errwarn.h"
Go to the source code of this file.
Functions | |
OCTAVE_EXPORT octave_value_list | Fpow2 (const octave_value_list &args, int) |
template<typename T > | |
void | map_2_xldexp (Array< T > &y, const Array< T > &f, const Array< T > &e) |
void | map_2_xldexp_sparse (SparseMatrix &y, const SparseMatrix &f, const SparseMatrix &e) |
OCTAVE_EXPORT octave_value_list Fpow2 | ( | const octave_value_list & | args, |
int | |||
) |
Definition at line 113 of file pow2.cc.
References binary_op(), err_wrong_type_arg(), exp2(), f, map_2_xldexp(), map_2_xldexp_sparse(), Array< T, Alloc >::numel(), octave_value(), octave_value::op_el_pow, ovl(), print_usage(), octave_value::sparse_complex_matrix_value(), SparseMatrix, warning_with_id(), x, and Array< T, Alloc >::xelem().
void map_2_xldexp | ( | Array< T > & | y, |
const Array< T > & | f, | ||
const Array< T > & | e | ||
) |
Definition at line 44 of file pow2.cc.
References Array< T, Alloc >::dims(), err_nonconformant(), f, Array< T, Alloc >::numel(), and Array< T, Alloc >::xelem().
Referenced by Fpow2().
void map_2_xldexp_sparse | ( | SparseMatrix & | y, |
const SparseMatrix & | f, | ||
const SparseMatrix & | e | ||
) |
Definition at line 62 of file pow2.cc.
References Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), err_nonconformant(), f, Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::numel(), and Sparse< T, Alloc >::xelem().
Referenced by Fpow2().