ZonoOpt 2.5.0
Loading...
Searching...
No Matches
CholeskyUtilities.hpp
Go to the documentation of this file.
1#pragma once
2
14#include "Eigen/Sparse"
15#include "Eigen/Dense"
16
17#include "Defines.hpp"
18
19namespace ZonoOpt::detail {
20
21 // The completed SimplicialLDLT factorization; stored directly rather than through an extracted
22 // copy of L, so factorizing and reading back out don't momentarily double the size of the
23 // (possibly much larger) L factor. Not copyable; always held through shared_ptr<const ...>.
24 using LDLT_solver = Eigen::SimplicialLDLT<Eigen::SparseMatrix<zono_float>>;
25
26 void affine_set_projection(Eigen::Ref<Eigen::Vector<zono_float, -1>> z, const Eigen::SparseMatrix<zono_float>& A,
27 const Eigen::SparseMatrix<zono_float>& AT, const Eigen::Vector<zono_float, -1>& b, const LDLT_solver& AAT_ldlt);
28
29} // end namespace detail
30// end namespace ZonoOpt
Defines for ZonoOpt library.