31 explicit Zero (
int) {};
33 operator double () {
return 0.0; }
35 operator int () {
return 0; }
68 template <
class T,
int s>
94 if (!temporary && c!=s)
96 " entries to a FieldVector of size " << s);
108 while (c!=s) v[c++] = 0;
135 template <
class T,
class K,
int s>
146 template <
class T,
int s>
172 template <
class T,
int n,
int m>
184 if (!temporary && c!=m && !thrown){
187 " entries to a FieldMatrix row of size " << m);
211 if (!temporary && r!=n-1 && !thrown){
214 " rows to a FieldMatrix of size " << n <<
" x " << m);
224 " rows to a FieldMatrix of size " << n <<
" x " << m);
233 while (c!=m) A[r][c++] = 0;
277 template <
class T,
class K,
int n,
int m>
288 template <
class T,
int n,
int m>
296 #endif // DUNE_ASSIGN_HH