#include "octave-config.h"
#include "Array.h"
#include "Sparse.h"
#include "Array-util.h"
#include "bsxfun.h"
Go to the source code of this file.
Classes | |
class | bsxfun_wrapper< R, X, Y, F > |
Functions | |
template<typename U , typename T , typename R , typename F > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, F fcn, const char *name) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(const T &, const R &), const char *name) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(const T &, R), const char *name) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(T, const R &), const char *name) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(T, R), const char *name) |
template<typename U , typename T , typename R , typename F > | |
Array< U > | binmap (const Array< T > &xa, const R &y, F fcn) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(const T &, const R &)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(const T &, R)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(T, const R &)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(T, R)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(const T &, const R &)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(const T &, R)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(T, const R &)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(T, R)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(const T &, const R &), const char *name) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(const T &, R), const char *name) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(T, const R &), const char *name) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(T, R), const char *name) |
template<typename U , typename T , typename R , typename F > | |
Sparse< U > | binmap (const Sparse< T > &xs, const R &y, F fcn) |
template<typename U , typename T , typename R , typename F > | |
Sparse< U > | binmap (const Sparse< T > &xs, const Sparse< R > &ys, F fcn, const char *name) |
template<typename U , typename T , typename R , typename F > | |
Array< U > | binmap (const T &x, const Array< R > &ya, F fcn) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(const T &, const R &)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(const T &, R)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(T, const R &)) |
template<typename U , typename T , typename R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(T, R)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(const T &, const R &)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(const T &, R)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(T, const R &)) |
template<typename U , typename T , typename R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(T, R)) |
template<typename U , typename T , typename R , typename F > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ys, F fcn) |
Array<U> binmap | ( | const Array< T > & | xa, |
const Array< R > & | ya, | ||
F | fcn, | ||
const char * | name | ||
) |
Definition at line 174 of file oct-binmap.h.
References Array< T, Alloc >::data(), Array< T, Alloc >::dims(), do_bsxfun_op(), err_nonconformant(), Array< T, Alloc >::fortran_vec(), is_valid_bsxfun(), len, Array< T, Alloc >::numel(), bsxfun_wrapper< R, X, Y, F >::set_f(), and x.
|
inline |
Definition at line 399 of file oct-binmap.h.
|
inline |
Definition at line 433 of file oct-binmap.h.
|
inline |
Definition at line 467 of file oct-binmap.h.
|
inline |
Definition at line 365 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, |
const R & | y, | ||
F | fcn | ||
) |
Definition at line 143 of file oct-binmap.h.
References Array< T, Alloc >::data(), Array< T, Alloc >::dims(), Array< T, Alloc >::fortran_vec(), len, Array< T, Alloc >::numel(), and x.
|
inline |
Definition at line 410 of file oct-binmap.h.
|
inline |
Definition at line 444 of file oct-binmap.h.
|
inline |
Definition at line 478 of file oct-binmap.h.
|
inline |
Definition at line 376 of file oct-binmap.h.
|
inline |
Definition at line 426 of file oct-binmap.h.
|
inline |
Definition at line 460 of file oct-binmap.h.
|
inline |
Definition at line 494 of file oct-binmap.h.
|
inline |
Definition at line 392 of file oct-binmap.h.
|
inline |
Definition at line 415 of file oct-binmap.h.
|
inline |
Definition at line 449 of file oct-binmap.h.
|
inline |
Definition at line 483 of file oct-binmap.h.
|
inline |
Definition at line 381 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xs, |
const R & | y, | ||
F | fcn | ||
) |
Definition at line 255 of file oct-binmap.h.
References Sparse< T, Alloc >::array_value(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), and Sparse< T, Alloc >::xdata().
Sparse<U> binmap | ( | const Sparse< T > & | xs, |
const Sparse< R > & | ys, | ||
F | fcn, | ||
const char * | name | ||
) |
Definition at line 286 of file oct-binmap.h.
References Sparse< T, Alloc >::array_value(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::dims(), err_nonconformant(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), Sparse< T, Alloc >::xcidx(), Sparse< T, Alloc >::xdata(), and Sparse< T, Alloc >::xridx().
Array<U> binmap | ( | const T & | x, |
const Array< R > & | ya, | ||
F | fcn | ||
) |
Definition at line 112 of file oct-binmap.h.
References Array< T, Alloc >::data(), Array< T, Alloc >::dims(), Array< T, Alloc >::fortran_vec(), len, Array< T, Alloc >::numel(), and x.
|
inline |
Definition at line 405 of file oct-binmap.h.
References x.
|
inline |
Definition at line 439 of file oct-binmap.h.
References x.
|
inline |
Definition at line 473 of file oct-binmap.h.
References x.
|
inline |
Definition at line 371 of file oct-binmap.h.
References x.
|
inline |
Definition at line 421 of file oct-binmap.h.
References x.
|
inline |
Definition at line 455 of file oct-binmap.h.
References x.
|
inline |
Definition at line 489 of file oct-binmap.h.
References x.
|
inline |
Definition at line 387 of file oct-binmap.h.
References x.
Sparse<U> binmap | ( | const T & | x, |
const Sparse< R > & | ys, | ||
F | fcn | ||
) |
Definition at line 224 of file oct-binmap.h.
References Sparse< T, Alloc >::array_value(), Sparse< T, Alloc >::cidx(), Sparse< T, Alloc >::cols(), Sparse< T, Alloc >::data(), Sparse< T, Alloc >::maybe_compress(), Sparse< T, Alloc >::nnz(), Sparse< T, Alloc >::ridx(), Sparse< T, Alloc >::rows(), x, and Sparse< T, Alloc >::xdata().