Class documentation of Concepts

Loading...
Searching...
No Matches
umfpack.hh
Go to the documentation of this file.
1
6#ifndef UMFPACK_HH
7#define UMFPACK_HH
8
9#include "basics/typedefs.hh"
10#include "compositions.hh"
11
12namespace concepts {
13
14 // forwards
15 template<typename F>
16 class SparseMatrix;
17
18 // *************************************************************** Umfpack **
19
39 class Umfpack : public Operator<Real> {
40 public:
48 Umfpack(const SparseMatrix<Real>& A, bool symmetric = false);
49 virtual ~Umfpack();
50 virtual void operator()(const Function<Real>& fncY, Function<Real>& fncX);
52 uint iterations() const { return 0; }
53 protected:
54 virtual std::ostream& info(std::ostream& os) const;
55 private:
57 const uint n_;
58
64 void* symbolic_, * numeric_;
65
67 bool factored_;
68 };
69
70} // namespace concepts
71
72#endif // UMFPACK_HH
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Umfpack(const SparseMatrix< Real > &A, bool symmetric=false)
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320