Go to the documentation of this file.
28 template<
typename T,
int Size>
46 for (
int i = 0; i < Size; ++i)
48 this->
Data[i] = scalar;
60 for (
int i = 0; i < Size; ++i)
62 this->
Data[i] = init[i];
90 assert(
"pre: index_in_bounds" && i >= 0 && i < Size);
103 for (
int i = 0; i < Size; ++i)
105 if (fabs(this->
Data[i] - other.
Data[i]) >= tol)
116 template<
typename TR>
120 for (
int i = 0; i < Size; ++i)
122 result[i] =
static_cast<TR
>(this->
Data[i]);
135 #endif // __vtkTuple_h