const unsigned int cols,
const number* entries);
+ /**
+ * Assignment operator.
+ */
+ FullMatrix<number>& operator = (const FullMatrix<number>&);
+
+ /**
+ * Variable assignment operator.
+ */
+ template<typename number2>
+ FullMatrix<number>& operator = (const FullMatrix<number2>&);
/**
* Comparison operator. Be
* @ref{gauss_jordan} is invoked
* implicitly.
*/
- void invert (const FullMatrix<number> &M);
+ template <typename number2>
+ void invert (const FullMatrix<number2> &M);
/**
* Apply the Jacobi
{}
+template <typename number>
+FullMatrix<number>&
+FullMatrix<number>::operator = (const FullMatrix<number>& M)
+{
+ vector2d<number>::operator=(M);
+ return *this;
+}
+
+
+template <typename number>
+template <typename number2>
+FullMatrix<number>&
+FullMatrix<number>::operator = (const FullMatrix<number2>& M)
+{
+ vector2d<number>::operator=(M);
+ return *this;
+}
+
+
template <typename number>
bool
FullMatrix<number>::all_zero () const
template <typename number>
+template <typename number2>
void
-FullMatrix<number>::invert (const FullMatrix<number> &M)
+FullMatrix<number>::invert (const FullMatrix<number2> &M)
{
Assert (data() != 0, ExcEmptyMatrix());
template void FullMatrix<TYPEMAT>::mmult (FullMatrix<TYPEMAT2>&, const FullMatrix<TYPEMAT2>&, const bool) const;
template void FullMatrix<TYPEMAT>::Tmmult (FullMatrix<TYPEMAT2>&, const FullMatrix<TYPEMAT2>&, const bool) const;
template void FullMatrix<TYPEMAT>::add_diag (const TYPEMAT, const FullMatrix<TYPEMAT2>&);
+template void FullMatrix<TYPEMAT>::invert (const FullMatrix<TYPEMAT2>&);
#define TYPEVEC double
template void FullMatrix<TYPEMAT>::mmult (FullMatrix<TYPEMAT2>&, const FullMatrix<TYPEMAT2>&, const bool) const;
template void FullMatrix<TYPEMAT>::Tmmult (FullMatrix<TYPEMAT2>&, const FullMatrix<TYPEMAT2>&, const bool) const;
template void FullMatrix<TYPEMAT>::add_diag (const TYPEMAT, const FullMatrix<TYPEMAT2>&);
-
+template void FullMatrix<TYPEMAT>::invert (const FullMatrix<TYPEMAT2>&);
#define TYPEVEC double
#define TYPERES double