}
/**
- * Create a LinearOperator object from an object @p op for which the
- * conversion function <code>linop</code> is defined.
+ * Default copy constructor.
+ */
+ LinearOperator (const LinearOperator<Range, Domain> &) = default;
+
+ /**
+ * Templated copy constructor that creates a LinearOperator object from
+ * an object @p op for which the conversion function <code>linop</code>
+ * is defined.
*/
template<typename Op>
LinearOperator (const Op &op)
}
/**
- * Copy assignment operator for an object @p op for which the conversion
- * function <code>linop</code> is defined.
+ * Default copy assignment operator.
+ */
+ LinearOperator<Range, Domain> &operator=(const LinearOperator<Range, Domain> &) = default;
+
+ /**
+ * Templated copy assignment operator for an object @p op for which the
+ * conversion function <code>linop</code> is defined.
*/
template <typename Op>
LinearOperator<Range, Domain> &operator=(const Op &op)
#include <deal.II/lac/linear_operator.h>
#include <deal.II/lac/vector_memory.templates.h>
+
using namespace dealii;
// Dummy vectors with different, non convertible types: