Scopira 20080306

scopira::basekit::nindex< DIM > Class Template Reference

#include <narray.h>

Inheritance diagram for scopira::basekit::nindex< DIM >:
scopira::tool::fixed_array< size_t, DIM >

List of all members.

Public Member Functions

 nindex (size_t val)
 ctor, that inits
 nindex (void)
 ctor, that does nothing
bool operator< (const this_type &rhs) const
 comparison
bool operator== (const this_type &rhs) const
 equality
size_t operator* (const this_type &rhs) const
 multiplication
size_t product (void) const
 Return the product of this coord.
size_t offset (const this_type &c) const
 calc ofset, using this as the size
this_type strides (void) const
 calc a stride value array, using this as the size
nindex< DIM-1 > shrink (void) const
 returns the same, but one less

Static Public Member Functions

static this_type steps (void)
 make a stair case step wise style 0, 1, 2, 3 etc

Detailed Description

template<int DIM>
class scopira::basekit::nindex< DIM >

A n-dimen coordinate specifier. Lots of stuff inherited from fixed_array

Author:
Aleksander Demko

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