Go to the documentation of this file.
7 #include <Eigen/Householder>
8 #include <Eigen/Jacobi>
33 template<
typename VectorType,
typename CoeffType>
34 void add(
const Eigen::HouseholderSequence<VectorType, CoeffType> & Q);
36 void add(
const Givens & Q);
40 void applyToTheLeft(
VectorRef v,
int start,
int size)
const;
41 void applyTransposeToTheLeft(
VectorRef v,
int start,
int size)
const;
60 return size_ >= n_ - 1;
64 Eigen::MatrixXd toDense()
const;
81 void add(
int start,
const Givens & Q);
85 void prepare(
OSeqType type,
int n,
int seqSize);
93 void applyTransposeToTheLeft(
VectorRef v)
const;
101 EmbeddedSeq(
int start,
OSeqType type,
int n,
int size) : start(start), H(type, n, size) {}
107 std::vector<EmbeddedSeq> seq_;
129 return Q_->size() - *m1_;
140 const int * m1_ =
nullptr;
143 template<
typename VectorType,
typename CoeffType>
bool full() const
Definition: OrthonormalSequence.h:58
Definition: Workspace.h:18
OSeqType
Definition: OrthonormalSequence.h:17
int size() const
Definition: OrthonormalSequence.h:53
Definition: OrthonormalSequence.h:27
OSeqType type() const
Definition: OrthonormalSequence.h:43
Eigen::Ref< const Eigen::VectorXd > VectorConstRef
Definition: defs.h:13
int m1() const
Definition: OrthonormalSequence.h:122
void reset()
Definition: OrthonormalSequence.h:132
Definition: ActiveSet.h:11
Definition: OrthonormalSequence.h:111
Definition: OrthonormalSequence.h:75
const OrthonormalSequence & Q() const
Definition: OrthonormalSequence.h:117
void add(const Eigen::HouseholderSequence< VectorType, CoeffType > &Q)
Definition: OrthonormalSequence.h:144
#define JRLQP_DLLAPI
Definition: api.h:35
int m2() const
Definition: OrthonormalSequence.h:127
Definition: SingleNZSegmentVector.h:10
Eigen::JacobiRotation< double > Givens
Definition: defs.h:18
Eigen::Ref< Eigen::VectorXd > VectorRef
Definition: defs.h:14
PartitionnedQ(const OrthonormalSequence &Q, const int &m1)
Definition: OrthonormalSequence.h:115
int n() const
Definition: OrthonormalSequence.h:48