AFF --- A container for numbers (array) by Friederich and Forbriger.
◆
setfirst()
[2/2]
Strided
& aff::Strided::setfirst
(
const
TIndexVec
&
index
)
setfirst
Definition at line
290
of file
strided.cc
.
References
Mfirst
,
Mmax_dimen
, and
shift()
.
291
{
292
TIndexVec
ishift(index);
293
for
(
Tdim
i=0; i<
Mmax_dimen
; i++)
294
{
295
ishift[i]-=
Mfirst
[i];
296
}
297
return
(this->
shift
(ishift));
298
}
aff::Strided::shift
Strided & shift(const Tdim &i, const Tsubscript &index)
shift
Definition:
strided.cc:250
aff::Strided::Mmax_dimen
static const Tdim Mmax_dimen
instantiate static member (otherwise the linker won't find it)
Definition:
strided.h:123
aff::Tdim
unsigned short int Tdim
Type to hold an array dimensionality.
Definition:
types.h:49
aff::Strided::TIndexVec
SimpleRigidArray< Tsubscript, Mmax_dimen > TIndexVec
type of limit arrays (any sign)
Definition:
strided.h:128
aff::Strided::Mfirst
TIndexVec Mfirst
Definition:
strided.h:287
Here is the call graph for this function:
aff
Strided
Generated on Mon Aug 21 2023 17:36:09 for AFF --- A container for numbers (array) by Friederich and Forbriger. by
1.8.14