<ol>
+ <li> <p>Fixed: The <code
+ class="class">FullMatrix::print</code> would yield a link error
+ when used with <code>std::ofstream</code> since an explicit
+ instantiation was missing. The function has now been moved to
+ the header file and made inline so that it is always visible,
+ whatever the type of the output stream is.
+ <br>
+ (WB 2006/06/07)
+ </p>
+
+
<li> <p> Improved: The <code
class="class">SparseDirectUMFPACK</code> solver can now also be
used with sparse matrices with elements of type float, as well
return const_iterator(this, r+1, 0);
}
+
+
+template <typename number>
+template <class STREAM>
+inline
+void
+FullMatrix<number>::print (STREAM &s,
+ const unsigned int w,
+ const unsigned int p) const
+{
+ Assert (!this->empty(), ExcEmptyMatrix());
+
+ for (unsigned int i=0; i<this->m(); ++i)
+ {
+ for (unsigned int j=0; j<this->n(); ++j)
+ s << std::setw(w) << std::setprecision(p) << this->el(i,j);
+ s << std::endl;
+ }
+}
+
+
+
#endif // DOXYGEN
#endif
}
+
template <typename number>
number FullMatrix<number>::linfty_norm () const
{
}
-template <typename number>
-template <class STREAM>
-void
-FullMatrix<number>::print (STREAM &s,
- const unsigned int w,
- const unsigned int p) const
-{
- Assert (!this->empty(), ExcEmptyMatrix());
-
- for (unsigned int i=0; i<this->m(); ++i)
- {
- for (unsigned int j=0; j<this->n(); ++j)
- s << std::setw(w) << std::setprecision(p) << this->el(i,j);
- s << std::endl;
- }
-}
-
template <typename number>
template <typename number2>