proxsuite 0.6.7
The Advanced Proximal Optimization Toolbox
Loading...
Searching...
No Matches
proxsuite::proxqp::utils Namespace Reference

Namespaces

namespace  eigen
 
namespace  osqp
 
namespace  rand
 

Classes

struct  EigenNoAlloc
 

Typedefs

using c_int = long long
 
using c_float = double
 
template<typename T , proxqp::Layout L>
using Mat
 
template<typename T >
using Vec = Eigen::Matrix<T, Eigen::Dynamic, 1>
 
template<typename Scalar >
using SparseMat = Eigen::SparseMatrix<Scalar, Eigen::ColMajor, c_int>
 

Functions

template<typename T >
auto matmul_impl (Mat< T, proxqp::colmajor > const &lhs, Mat< T, proxqp::colmajor > const &rhs) -> Mat< T, proxqp::colmajor >
 
template<typename To , typename From >
auto mat_cast (Mat< From, proxqp::colmajor > const &from) -> Mat< To, proxqp::colmajor >
 
 LDLT_EXPLICIT_TPL_DECL (2, matmul_impl< long double >)
 
 LDLT_EXPLICIT_TPL_DECL (1, mat_cast< proxqp::f64, long double >)
 
 LDLT_EXPLICIT_TPL_DECL (1, mat_cast< proxqp::f32, long double >)
 
template<typename MatLhs , typename MatRhs , typename T = typename MatLhs::Scalar>
auto matmul (MatLhs const &a, MatRhs const &b) -> Mat< T, proxqp::colmajor >
 
template<typename MatLhs , typename MatMid , typename MatRhs , typename T = typename MatLhs::Scalar>
auto matmul3 (MatLhs const &a, MatMid const &b, MatRhs const &c) -> Mat< T, proxqp::colmajor >
 
 VEG_TAG (from_data, FromData)
 
template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > dense_unconstrained_qp (proxqp::isize dim, Scalar sparsity_factor, Scalar strong_convexity_factor=Scalar(1e-2))
 
template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > dense_strongly_convex_qp (proxqp::isize dim, proxqp::isize n_eq, proxqp::isize n_in, Scalar sparsity_factor, Scalar strong_convexity_factor=Scalar(1e-2))
 
template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > dense_not_strongly_convex_qp (proxqp::isize dim, proxqp::isize n_eq, proxqp::isize n_in, Scalar sparsity_factor)
 
template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > dense_degenerate_qp (proxqp::isize dim, proxqp::isize n_eq, proxqp::isize n_in, Scalar sparsity_factor, Scalar strong_convexity_factor=Scalar(1e-2))
 
template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > dense_box_constrained_qp (proxqp::isize dim, proxqp::isize n_eq, proxqp::isize n_in, Scalar sparsity_factor, Scalar strong_convexity_factor=Scalar(1e-2))
 
template<typename Scalar >
proxsuite::proxqp::sparse::SparseModel< Scalar > sparse_strongly_convex_qp (proxqp::isize dim, proxqp::isize n_eq, proxqp::isize n_in, Scalar sparsity_factor, Scalar strong_convexity_factor=Scalar(1e-2))
 

Typedef Documentation

◆ c_int

Definition at line 20 of file random_qp_problems.hpp.

◆ c_float

Definition at line 21 of file random_qp_problems.hpp.

◆ Mat

template<typename T , proxqp::Layout L>
using proxsuite::proxqp::utils::Mat
Initial value:
Eigen::Matrix<T,
Eigen::Dynamic,
Eigen::Dynamic,
(L == proxqp::colmajor) ? Eigen::ColMajor : Eigen::RowMajor>
constexpr Layout colmajor
Definition views.hpp:244

Definition at line 26 of file random_qp_problems.hpp.

◆ Vec

template<typename T >
using proxsuite::proxqp::utils::Vec = Eigen::Matrix<T, Eigen::Dynamic, 1>

Definition at line 32 of file random_qp_problems.hpp.

◆ SparseMat

template<typename Scalar >
using proxsuite::proxqp::utils::SparseMat = Eigen::SparseMatrix<Scalar, Eigen::ColMajor, c_int>

Definition at line 35 of file random_qp_problems.hpp.

Function Documentation

◆ matmul_impl()

template<typename T >
auto proxsuite::proxqp::utils::matmul_impl ( Mat< T, proxqp::colmajor > const & lhs,
Mat< T, proxqp::colmajor > const & rhs ) -> Mat<T, proxqp::colmajor>

Definition at line 386 of file random_qp_problems.hpp.

◆ mat_cast()

template<typename To , typename From >
auto proxsuite::proxqp::utils::mat_cast ( Mat< From, proxqp::colmajor > const & from) -> Mat<To, proxqp::colmajor>

Definition at line 394 of file random_qp_problems.hpp.

◆ LDLT_EXPLICIT_TPL_DECL() [1/3]

proxsuite::proxqp::utils::LDLT_EXPLICIT_TPL_DECL ( 2 ,
matmul_impl< long double >  )

◆ LDLT_EXPLICIT_TPL_DECL() [2/3]

proxsuite::proxqp::utils::LDLT_EXPLICIT_TPL_DECL ( 1 ,
mat_cast< proxqp::f64, long double >  )

◆ LDLT_EXPLICIT_TPL_DECL() [3/3]

proxsuite::proxqp::utils::LDLT_EXPLICIT_TPL_DECL ( 1 ,
mat_cast< proxqp::f32, long double >  )

◆ matmul()

template<typename MatLhs , typename MatRhs , typename T = typename MatLhs::Scalar>
auto proxsuite::proxqp::utils::matmul ( MatLhs const & a,
MatRhs const & b ) -> Mat<T, proxqp::colmajor>

Definition at line 404 of file random_qp_problems.hpp.

◆ matmul3()

template<typename MatLhs , typename MatMid , typename MatRhs , typename T = typename MatLhs::Scalar>
auto proxsuite::proxqp::utils::matmul3 ( MatLhs const & a,
MatMid const & b,
MatRhs const & c ) -> Mat<T, proxqp::colmajor>

Definition at line 419 of file random_qp_problems.hpp.

◆ VEG_TAG()

proxsuite::proxqp::utils::VEG_TAG ( from_data ,
FromData  )

◆ dense_unconstrained_qp()

template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > proxsuite::proxqp::utils::dense_unconstrained_qp ( proxqp::isize dim,
Scalar sparsity_factor,
Scalar strong_convexity_factor = Scalar(1e-2) )

Definition at line 445 of file random_qp_problems.hpp.

◆ dense_strongly_convex_qp()

template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > proxsuite::proxqp::utils::dense_strongly_convex_qp ( proxqp::isize dim,
proxqp::isize n_eq,
proxqp::isize n_in,
Scalar sparsity_factor,
Scalar strong_convexity_factor = Scalar(1e-2) )

Definition at line 469 of file random_qp_problems.hpp.

◆ dense_not_strongly_convex_qp()

template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > proxsuite::proxqp::utils::dense_not_strongly_convex_qp ( proxqp::isize dim,
proxqp::isize n_eq,
proxqp::isize n_in,
Scalar sparsity_factor )

Definition at line 511 of file random_qp_problems.hpp.

◆ dense_degenerate_qp()

template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > proxsuite::proxqp::utils::dense_degenerate_qp ( proxqp::isize dim,
proxqp::isize n_eq,
proxqp::isize n_in,
Scalar sparsity_factor,
Scalar strong_convexity_factor = Scalar(1e-2) )

Definition at line 552 of file random_qp_problems.hpp.

◆ dense_box_constrained_qp()

template<typename Scalar >
proxsuite::proxqp::dense::Model< Scalar > proxsuite::proxqp::utils::dense_box_constrained_qp ( proxqp::isize dim,
proxqp::isize n_eq,
proxqp::isize n_in,
Scalar sparsity_factor,
Scalar strong_convexity_factor = Scalar(1e-2) )

Definition at line 598 of file random_qp_problems.hpp.

◆ sparse_strongly_convex_qp()

template<typename Scalar >
proxsuite::proxqp::sparse::SparseModel< Scalar > proxsuite::proxqp::utils::sparse_strongly_convex_qp ( proxqp::isize dim,
proxqp::isize n_eq,
proxqp::isize n_in,
Scalar sparsity_factor,
Scalar strong_convexity_factor = Scalar(1e-2) )

Definition at line 637 of file random_qp_problems.hpp.