ndArray< N, T > Class Template Reference

An N-dimensional array of elements of type T, defined recursively. More...

#include <ndArray.h>

Public Member Functions

ndArray< N-1, T > & operator* (uint64_t sz)
 Set the dimension along this index.
 
const ndArray< N-1, T > & operator[] (uint64_t idat) const
 
ndArray< N-1, T > & operator[] (uint64_t idat)
 
uint64_t stride () const
 
uint64_t size () const
 

Friends

class ndArray< N+1, T >
 

Detailed Description

template<unsigned N, typename T>
class ndArray< N, T >

An N-dimensional array of elements of type T, defined recursively.

This template implements row-major order calculation of offsets using C-style array index notation; e.g. data[i][j][k]


The documentation for this class was generated from the following file:

Generated using doxygen 1.8.17