GNU Octave  4.4.1
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
oct-binmap.h File Reference
#include "octave-config.h"
#include "Array.h"
#include "Sparse.h"
#include "Array-util.h"
#include "bsxfun.h"
Include dependency graph for oct-binmap.h:
This graph shows which files directly or indirectly include this file:

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 T &x, const Array< R > &ya, F fcn)
 
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 , 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 , typename F >
Sparse< U > binmap (const T &x, const Sparse< R > &ys, F fcn)
 
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 >
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 >
Array< U > binmap (const T &x, const Array< R > &ya, U(*fcn)(T, 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 Sparse< R > &ya, U(*fcn)(T, R), const char *name)
 
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 >
Sparse< U > binmap (const Sparse< T > &xa, const R &y, U(*fcn)(T, R))
 
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 T &x, const Array< R > &ya, 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 &, const 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 T &x, const Sparse< R > &ya, 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 &, const R &))
 
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 T &x, const Array< R > &ya, U(*fcn)(const T &, 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 >
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 T &x, const Sparse< R > &ya, U(*fcn)(const T &, 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 >
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 T &x, const Array< R > &ya, 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, const R &))
 
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 T &x, const Sparse< R > &ya, 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, const R &))
 

Function Documentation

◆ binmap() [1/30]

template<typename U , typename T , typename R , typename F >
Array<U> binmap ( const T &  x,
const Array< R > &  ya,
F  fcn 
)

Definition at line 107 of file oct-binmap.h.

References Array< T >::data(), Array< T >::dims(), fcn, i, Array< T >::numel(), p, result, x, and y.

◆ binmap() [2/30]

template<typename U , typename T , typename R , typename F >
Array<U> binmap ( const Array< T > &  xa,
const R &  y,
F  fcn 
)

Definition at line 138 of file oct-binmap.h.

References Array< T >::data(), Array< T >::dims(), fcn, i, Array< T >::numel(), p, result, x, and y.

◆ binmap() [3/30]

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 
)

◆ binmap() [4/30]

template<typename U , typename T , typename R , typename F >
Sparse<U> binmap ( const T &  x,
const Sparse< R > &  ys,
F  fcn 
)

◆ binmap() [5/30]

template<typename U , typename T , typename R , typename F >
Sparse<U> binmap ( const Sparse< T > &  xs,
const R &  y,
F  fcn 
)

◆ binmap() [6/30]

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 
)

◆ binmap() [7/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const Array< R > &  ya,
U(*)(T, R)  fcn,
const char *  name 
)
inline

Definition at line 360 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [8/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const T &  x,
const Array< R > &  ya,
U(*)(T, R)  fcn 
)
inline

Definition at line 366 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [9/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const R &  y,
U(*)(T, R)  fcn 
)
inline

Definition at line 371 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [10/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const Sparse< R > &  ya,
U(*)(T, R)  fcn,
const char *  name 
)
inline

Definition at line 376 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [11/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const T &  x,
const Sparse< R > &  ya,
U(*)(T, R)  fcn 
)
inline

Definition at line 382 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [12/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const R &  y,
U(*)(T, R)  fcn 
)
inline

Definition at line 387 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [13/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const Array< R > &  ya,
U(*)(const T &, const R &)  fcn,
const char *  name 
)
inline

Definition at line 394 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [14/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const T &  x,
const Array< R > &  ya,
U(*)(const T &, const R &)  fcn 
)
inline

Definition at line 400 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [15/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const R &  y,
U(*)(const T &, const R &)  fcn 
)
inline

Definition at line 405 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [16/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const Sparse< R > &  ya,
U(*)(const T &, const R &)  fcn,
const char *  name 
)
inline

Definition at line 410 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [17/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const T &  x,
const Sparse< R > &  ya,
U(*)(const T &, const R &)  fcn 
)
inline

Definition at line 416 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [18/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const R &  y,
U(*)(const T &, const R &)  fcn 
)
inline

Definition at line 421 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [19/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const Array< R > &  ya,
U(*)(const T &, R)  fcn,
const char *  name 
)
inline

Definition at line 428 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [20/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const T &  x,
const Array< R > &  ya,
U(*)(const T &, R)  fcn 
)
inline

Definition at line 434 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [21/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const R &  y,
U(*)(const T &, R)  fcn 
)
inline

Definition at line 439 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [22/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const Sparse< R > &  ya,
U(*)(const T &, R)  fcn,
const char *  name 
)
inline

Definition at line 444 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [23/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const T &  x,
const Sparse< R > &  ya,
U(*)(const T &, R)  fcn 
)
inline

Definition at line 450 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [24/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const R &  y,
U(*)(const T &, R)  fcn 
)
inline

Definition at line 455 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [25/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const Array< R > &  ya,
U(*)(T, const R &)  fcn,
const char *  name 
)
inline

Definition at line 462 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [26/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const T &  x,
const Array< R > &  ya,
U(*)(T, const R &)  fcn 
)
inline

Definition at line 468 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [27/30]

template<typename U , typename T , typename R >
Array<U> binmap ( const Array< T > &  xa,
const R &  y,
U(*)(T, const R &)  fcn 
)
inline

Definition at line 473 of file oct-binmap.h.

References fcn, and y.

◆ binmap() [28/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const Sparse< R > &  ya,
U(*)(T, const R &)  fcn,
const char *  name 
)
inline

Definition at line 478 of file oct-binmap.h.

References fcn, and name.

◆ binmap() [29/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const T &  x,
const Sparse< R > &  ya,
U(*)(T, const R &)  fcn 
)
inline

Definition at line 484 of file oct-binmap.h.

References fcn, and x.

◆ binmap() [30/30]

template<typename U , typename T , typename R >
Sparse<U> binmap ( const Sparse< T > &  xa,
const R &  y,
U(*)(T, const R &)  fcn 
)
inline

Definition at line 489 of file oct-binmap.h.

References fcn, and y.