I have forgotten
my Password

Or login with:

  • Facebookhttp://facebook.com/
  • Googlehttps://www.google.com/accounts/o8/id
  • Yahoohttps://me.yahoo.com

Array

Matrix

Dynamically allocates a zero-based 2D block (matrix) of data.
template<class T>T** matrix (long Rows, long Columns)[inline]
template<class T>void free_matrix (T** Matrix)[inline]
Icon

Vector

Dynamically allocates a 1D block (vector) of data.
template<class T> T* vector (long Columns)[inline]
template<class T> T* vector (long Columns_start, long Columns_end)[inline]
template<class T> void free_vector (T* Vector, int offset=0)[inline]
IconIcon

Cube

Dynamically allocates a zero_based 3D block (cube) of data.
template<class T> T*** cube (long Depth, long Rows, long Columns)[inline]
template<class T> void free_cube (T*** Cube)[inline]
Icon

Lookup

Array namespace
template<...> B lookup (A value, std::vector<A> lookup, std::vector<B> result, bool sorted=true)

Grid

A stl-compliant N-dimensional grid class
template<...> bool operator== (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]
template<...> bool operator!= (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]
template<...> bool operator< (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]
template<...> bool operator> (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]
template<...> bool operator>= (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]
template<...> bool operator<= (const Grid<T, dimensions, alloc>& a, const Grid<T, dimensions, alloc>& b)[inline]