#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<class U , class T , class R , class F > | |
Array< U > | binmap (const T &x, const Array< R > &ya, F fcn) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(T, const R &)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(T, const R &)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(T, const R &), const char *name) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(T, const R &)) |
template<class U , class T , class R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(T, const R &)) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(T, const R &), const char *name) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(const T &, R)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(const T &, R)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(const T &, R), const char *name) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(const T &, R)) |
template<class U , class T , class R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(const T &, R)) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(const T &, R), const char *name) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(const T &, const R &)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(const T &, const R &)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(const T &, const R &), const char *name) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(const T &, const R &)) |
template<class U , class T , class R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(const T &, const R &)) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(const T &, const R &), const char *name) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const R &y, U(*fcn)(T, R)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ya, U(*fcn)(T, R)) |
template<class U , class T , class R > | |
Sparse< U > | binmap (const Sparse< T > &xa, const Sparse< R > &ya, U(*fcn)(T, R), const char *name) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const R &y, U(*fcn)(T, R)) |
template<class U , class T , class R > | |
Array< U > | binmap (const T &x, const Array< R > &ya, U(*fcn)(T, R)) |
template<class U , class T , class R > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, U(*fcn)(T, R), const char *name) |
template<class U , class T , class R , class F > | |
Sparse< U > | binmap (const Sparse< T > &xs, const Sparse< R > &ys, F fcn, const char *name) |
template<class U , class T , class R , class F > | |
Sparse< U > | binmap (const Sparse< T > &xs, const R &y, F fcn) |
template<class U , class T , class R , class F > | |
Sparse< U > | binmap (const T &x, const Sparse< R > &ys, F fcn) |
template<class U , class T , class R , class F > | |
Array< U > | binmap (const Array< T > &xa, const Array< R > &ya, F fcn, const char *name) |
template<class U , class T , class R , class F > | |
Array< U > | binmap (const Array< T > &xa, const R &y, F fcn) |
Array<U> binmap | ( | const T & | x, | |
const Array< R > & | ya, | |||
F | fcn | |||
) |
Definition at line 106 of file oct-binmap.h.
References Array< T >::data(), Array< T >::dims(), and Array< T >::numel().
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const R & | y, | |||
U(*)(T, const R &) | fcn | |||
) | [inline] |
Definition at line 464 of file oct-binmap.h.
Sparse<U> binmap | ( | const T & | x, | |
const Sparse< R > & | ya, | |||
U(*)(T, const R &) | fcn | |||
) | [inline] |
Definition at line 459 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const Sparse< R > & | ya, | |||
U(*)(T, const R &) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 454 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const R & | y, | |||
U(*)(T, const R &) | fcn | |||
) | [inline] |
Definition at line 449 of file oct-binmap.h.
Array<U> binmap | ( | const T & | x, | |
const Array< R > & | ya, | |||
U(*)(T, const R &) | fcn | |||
) | [inline] |
Definition at line 444 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const Array< R > & | ya, | |||
U(*)(T, const R &) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 439 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const R & | y, | |||
U(*)(const T &, R) | fcn | |||
) | [inline] |
Definition at line 432 of file oct-binmap.h.
Sparse<U> binmap | ( | const T & | x, | |
const Sparse< R > & | ya, | |||
U(*)(const T &, R) | fcn | |||
) | [inline] |
Definition at line 427 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const Sparse< R > & | ya, | |||
U(*)(const T &, R) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 422 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const R & | y, | |||
U(*)(const T &, R) | fcn | |||
) | [inline] |
Definition at line 417 of file oct-binmap.h.
Array<U> binmap | ( | const T & | x, | |
const Array< R > & | ya, | |||
U(*)(const T &, R) | fcn | |||
) | [inline] |
Definition at line 412 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const Array< R > & | ya, | |||
U(*)(const T &, R) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 407 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const R & | y, | |||
U(*)(const T &, const R &) | fcn | |||
) | [inline] |
Definition at line 400 of file oct-binmap.h.
Sparse<U> binmap | ( | const T & | x, | |
const Sparse< R > & | ya, | |||
U(*)(const T &, const R &) | fcn | |||
) | [inline] |
Definition at line 395 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const Sparse< R > & | ya, | |||
U(*)(const T &, const R &) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 390 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const R & | y, | |||
U(*)(const T &, const R &) | fcn | |||
) | [inline] |
Definition at line 385 of file oct-binmap.h.
Array<U> binmap | ( | const T & | x, | |
const Array< R > & | ya, | |||
U(*)(const T &, const R &) | fcn | |||
) | [inline] |
Definition at line 380 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const Array< R > & | ya, | |||
U(*)(const T &, const R &) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 375 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const R & | y, | |||
U(*)(T, R) | fcn | |||
) | [inline] |
Definition at line 368 of file oct-binmap.h.
Sparse<U> binmap | ( | const T & | x, | |
const Sparse< R > & | ya, | |||
U(*)(T, R) | fcn | |||
) | [inline] |
Definition at line 363 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xa, | |
const Sparse< R > & | ya, | |||
U(*)(T, R) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 358 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const R & | y, | |||
U(*)(T, R) | fcn | |||
) | [inline] |
Definition at line 353 of file oct-binmap.h.
Array<U> binmap | ( | const T & | x, | |
const Array< R > & | ya, | |||
U(*)(T, R) | fcn | |||
) | [inline] |
Definition at line 348 of file oct-binmap.h.
Array<U> binmap | ( | const Array< T > & | xa, | |
const Array< R > & | ya, | |||
U(*)(T, R) | fcn, | |||
const char * | name | |||
) | [inline] |
Definition at line 343 of file oct-binmap.h.
Sparse<U> binmap | ( | const Sparse< T > & | xs, | |
const Sparse< R > & | ys, | |||
F | fcn, | |||
const char * | name | |||
) |
Definition at line 255 of file oct-binmap.h.
References Sparse< T >::array_value(), Sparse< T >::change_capacity(), Sparse< T >::cidx(), Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::dims(), gripe_nonconformant(), Sparse< T >::maybe_compress(), Sparse< T >::ridx(), Sparse< T >::rows(), Sparse< T >::xcidx(), Sparse< T >::xdata(), and Sparse< T >::xridx().
Sparse<U> binmap | ( | const Sparse< T > & | xs, | |
const R & | y, | |||
F | fcn | |||
) |
Definition at line 237 of file oct-binmap.h.
References Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), and Sparse< T >::rows().
Sparse<U> binmap | ( | const T & | x, | |
const Sparse< R > & | ys, | |||
F | fcn | |||
) |
Definition at line 219 of file oct-binmap.h.
References Sparse< T >::cols(), Sparse< T >::data(), Sparse< T >::nnz(), and Sparse< T >::rows().
Array<U> binmap | ( | const Array< T > & | xa, | |
const Array< R > & | ya, | |||
F | fcn, | |||
const char * | name | |||
) |
Definition at line 168 of file oct-binmap.h.
References Array< T >::data(), Array< T >::dims(), do_bsxfun_op(), gripe_nonconformant(), is_valid_bsxfun(), Array< T >::numel(), bsxfun_wrapper< R, X, Y, F >::set_f(), and x.
Array<U> binmap | ( | const Array< T > & | xa, | |
const R & | y, | |||
F | fcn | |||
) |
Definition at line 137 of file oct-binmap.h.
References Array< T >::data(), Array< T >::dims(), Array< T >::numel(), and x.