StructuredJ.h
Go to the documentation of this file.
1 /* Copyright 2020-2021 CNRS-AIST JRL */
2 
3 #pragma once
4 
5 #include <jrl-qp/api.h>
6 #include <jrl-qp/defs.h>
7 
13 
14 namespace jrl::qp::structured
15 {
17 {
18 public:
19  StructuredJ();
20 
21  void setL(const StructuredG & decomposedG);
22  void setQ(const internal::PartitionnedQ & Q);
23 
24  void reset();
25  void resize(int nbVar);
26 
27  void premultByJ2(VectorRef out, const VectorConstRef & in) const;
28  void premultByJt(VectorRef out, const StructuredC & C, const internal::SelectedConstraint & sc) const;
29 
30 private:
31  int nbVar_ = 0;
32  const StructuredG * L_ = nullptr;
34 };
35 } // namespace jrl::qp::structured
jrl::qp::internal::SelectedConstraint
Definition: SelectedConstraint.h:13
Workspace.h
jrl::qp::structured::StructuredJ
Definition: StructuredJ.h:16
StructuredG.h
jrl::qp::VectorConstRef
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
Definition: defs.h:13
StructuredC.h
jrl::qp::structured::StructuredG
Definition: StructuredG.h:14
jrl::qp::internal::PartitionnedQ
Definition: OrthonormalSequence.h:111
jrl::qp::structured::StructuredC
Definition: StructuredC.h:15
jrl::qp::structured
Definition: StructuredC.h:13
JRLQP_DLLAPI
#define JRLQP_DLLAPI
Definition: api.h:35
OrthonormalSequence.h
defs.h
SelectedConstraint.h
jrl::qp::VectorRef
Eigen::Ref< Eigen::VectorXd > VectorRef
Definition: defs.h:14
api.h