AFF --- A container for numbers (array) by Friederich and Forbriger.
|
find appropriate leading dimensions More...
#include <fortranshape.h>
Public Types | |
typedef aff::Strided | Tshape |
This is coded for Strided shapes. More... | |
typedef Tshape::TIndexVec | TIndexVec |
Vector of index values. More... | |
typedef Tshape::TSizeVec | TSizeVec |
Vector of size values. More... | |
Public Member Functions | |
FortranShape (const Tshape &shape, const bool &BaseOne=true) | |
construct from shape More... | |
const Tsubscript & | first (const Tdim &i) const |
first index in dimension i More... | |
const Tsubscript & | last (const Tdim &i) const |
last index in dimension i More... | |
const Tsubscript & | dimlast (const Tdim &i) const |
last index as dimensioned in dimension i More... | |
const Tsubscript & | offset () const |
offset to access representation More... | |
const TIndexVec & | first () const |
full first vector More... | |
const TIndexVec & | last () const |
full last vector More... | |
const TIndexVec & | dimlast () const |
full dimlast vector More... | |
Private Attributes | |
TIndexVec | Mfirst |
first index More... | |
TIndexVec | Mlast |
last index More... | |
TIndexVec | Mdimlast |
last index as dimensioned in memory More... | |
Tsubscript | Moffset |
offset of first element in representation More... | |
find appropriate leading dimensions
This class is used to calculate appropriate leading dimensions from a aff::Strided shape. These values are needed to pass an array to a Fortran 77 subroutine.
Definition at line 64 of file fortranshape.h.