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
8
#include <
jrl-qp/internal/OrthonormalSequence.h
>
9
#include <
jrl-qp/internal/SelectedConstraint.h
>
10
#include <
jrl-qp/internal/Workspace.h
>
11
#include <
jrl-qp/structured/StructuredC.h
>
12
#include <
jrl-qp/structured/StructuredG.h
>
13
14
namespace
jrl::qp::structured
15
{
16
class
JRLQP_DLLAPI
StructuredJ
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
;
33
internal::PartitionnedQ
Q_;
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
include
jrl-qp
structured
StructuredJ.h
Generated by
1.8.17