32 explicit Zero (
int) {};
34 operator double () {
return 0.0; }
36 operator int () {
return 0; }
69 template <
class T,
int s>
93 if (!temporary && c!=s)
95 " 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);
209 if (!temporary && r!=n-1 && !thrown) {
212 " rows to a FieldMatrix of size " << n <<
" x " << m);
222 " rows to a FieldMatrix of size " << n <<
" x " << m);
232 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