RNifti
Fast R and C++ Access to NIfTI Images
|
A simple object-oriented wrapper around a fixed-length array. More...
#include <NiftiImage.h>
Public Member Functions | |
Vector (const ElementType value=0.0) | |
Initialise with a fixed element value, defaulting to zero. | |
Vector (const ElementType *source) | |
Initialise from a C-style array of the appropriate type and length. | |
Vector< ElementType, Length > | operator- () const |
Unary negation operator, which reverses the signs of all elements. | |
const ElementType & | operator[] (const size_t i) const |
ElementType & | operator[] (const size_t i) |
Protected Attributes | |
ElementType | elements [Length] |
A simple object-oriented wrapper around a fixed-length array.