Class documentation of Concepts

Loading...
Searching...
No Matches
constrained.hh
Go to the documentation of this file.
1
7#ifndef constrainedSP_hh
8#define constrainedSP_hh
9
10#include <memory>
11#include "compositions.hh"
12#include "sparseMatrix.hh"
13
14namespace concepts {
15
16 // forward declaration
17 template<typename F>
18 class SolverFabric;
19
20 // *********************************************************** Constrained **
21
31 class Constrained : public Operator<Real> {
32 public:
40 virtual void operator()(const Function<Real>& fncY, Function<Real>& fncX);
41 protected:
42 virtual std::ostream& info(std::ostream& os) const;
43 private:
44 SparseMatrix<Real>& C_, &S_;
46 std::unique_ptr<SparseMatrix<Real> > CCt_;
47 const Vector<Real>& g_;
48 Vector<Real> SRg_;
49 std::unique_ptr<Operator<Real> > CCtinv_, solver_;
50 std::unique_ptr<concepts::Compose<Real> > R_, Qmin_, CtC_, QS_, QSQ_;
51 std::unique_ptr<LiCoI<Real> > Q_;
52 std::unique_ptr<LiCo<Real> > Sp_;
53 SolverFabric<Real>& fabric_;
54 };
55
56} // namespace concepts
57
58#endif // constrainedSP_hh
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Constrained(SparseMatrix< Real > &S, SparseMatrix< Real > &C, const Vector< Real > &g, SolverFabric< Real > &fabric)
Set< F > makeSet(uint n, const F &first,...)
Definition set.hh:320