37 static const int BLOCK_SIZE = 2;
53 : v0(base[idx[0]]), v1(base[idx[1]]){}
55 : v0(base[0]), v1(base[1]){}
57 Int32 operator[](Integer i)
const {
return (&v0)[i]; }
58 Int32& operator[](Integer i) {
return (&v0)[i]; }
60 void set(ARCANE_RESTRICT Int32* base,
const ARCANE_RESTRICT Int32* idx)
const
66 void set(ARCANE_RESTRICT Int32* base)
const
78 void operator=(Int32 _v);
90 static const int BLOCK_SIZE = 4;
103 : v0(a), v1(a), v2(a), v3(a){}
106 : v0(a0), v1(a1), v2(a2), v3(a3){}
109 : v0(base[idx[0]]), v1(base[idx[1]]), v2(base[idx[2]]), v3(base[idx[3]]){}
111 : v0(base[0]), v1(base[1]), v2(base[2]), v3(base[3]){}
113 : v0(base->v0), v1(base->v1), v2(base->v2), v3(base->v3){}
115 Int32 operator[](Integer i)
const {
return (&v0)[i]; }
116 Int32& operator[](Integer i) {
return (&v0)[i]; }
118 void set(ARCANE_RESTRICT Int32* base,
const ARCANE_RESTRICT Int32* idx)
const
126 void set(ARCANE_RESTRICT Int32* base)
const
140 void operator=(Int32 _v);
157 static const int BLOCK_SIZE = 2;
174 : v0(base[0]), v1(base[1]) {}
176 : v0(base[idx[0]]), v1(base[idx[1]]) {}
178 : v0(base[idx->v0]), v1(base[idx->v1]) {}
180 : v0(base[idx.v0]), v1(base[idx.v1]) {}
181 const Real& operator[](Integer i)
const {
return ((Real*)
this)[i]; }
182 Real& operator[](Integer i) {
return ((Real*)
this)[i]; }
183 void set(ARCANE_RESTRICT Real* base)
const
188 void set(ARCANE_RESTRICT Real* base,
const Int32* idx)
const
193 void set(ARCANE_RESTRICT Real* base,
const Int32IndexType* idx)
const
198 void set(ARCANE_RESTRICT Real* base,
const Int32IndexType& idx)
const
208 void operator=(Real _v);