proxsuite
0.7.3
The Advanced Proximal Optimization Toolbox
Toggle main menu visibility
Loading...
Searching...
No Matches
fwd.hpp
Go to the documentation of this file.
1
//
2
// Copyright (c) 2022-2023 INRIA
3
//
5
#ifndef PROXSUITE_PROXQP_DENSE_FWD_HPP
6
#define PROXSUITE_PROXQP_DENSE_FWD_HPP
7
8
#include <Eigen/Sparse>
9
#include "
proxsuite/helpers/common.hpp
"
10
11
namespace
proxsuite
{
12
namespace
proxqp
{
13
namespace
dense
{
14
15
static
constexpr
auto
DYN
= Eigen::Dynamic;
16
enum
17
{
18
layout
= Eigen::RowMajor
19
};
20
template
<
typename
T>
21
using
SparseMat
= Eigen::SparseMatrix<T, 1>;
22
23
template
<
typename
T>
24
using
Vec
= Eigen::Matrix<T, DYN, 1>;
25
template
<
typename
T>
26
using
VecRef
= Eigen::Ref<Vec<T>
const
>;
27
template
<
typename
T>
28
using
VecRefMut
= Eigen::Ref<Vec<T>>;
29
30
template
<
typename
T,
int
l = layout>
31
using
Mat
= Eigen::Matrix<T, DYN, DYN, l>;
32
template
<
typename
T,
int
l = layout>
33
using
MatRef
= Eigen::Ref<Mat<T, l>
const
>;
34
35
using
proxsuite::linalg::veg::isize
;
36
37
template
<
typename
T>
38
using
VecMap
= Eigen::Map<Vec<T>
const
>;
39
template
<
typename
T>
40
using
VecMapMut
= Eigen::Map<Vec<T>>;
41
42
template
<
typename
T,
int
l = layout>
43
using
MatMap
= Eigen::Map<Mat<T, l>
const
>;
44
template
<
typename
T,
int
l = layout>
45
using
MatMapMut
= Eigen::Map<Mat<T, l>>;
46
47
using
VecMapISize
= Eigen::Map<Eigen::Matrix<isize, DYN, 1>
const
>;
48
using
VecISize
= Eigen::Matrix<isize, DYN, 1>;
49
50
using
VecMapBool
= Eigen::Map<Eigen::Matrix<bool, DYN, 1>
const
>;
51
using
VecBool
= Eigen::Matrix<bool, DYN, 1>;
52
53
}
// namespace dense
54
}
// namespace proxqp
55
}
// namespace proxsuite
56
57
#endif
/* end of include guard PROXSUITE_PROXQP_DENSE_FWD_HPP */
common.hpp
proxsuite::linalg::veg::isize
_detail::_meta::make_signed< usize >::Type isize
Definition
typedefs.hpp:43
proxsuite::proxqp::dense
Definition
backward_data.hpp:17
proxsuite::proxqp::dense::SparseMat
Eigen::SparseMatrix< T, 1 > SparseMat
Definition
fwd.hpp:21
proxsuite::proxqp::dense::VecMapBool
Eigen::Map< Eigen::Matrix< bool, DYN, 1 > const > VecMapBool
Definition
fwd.hpp:50
proxsuite::proxqp::dense::VecISize
Eigen::Matrix< isize, DYN, 1 > VecISize
Definition
fwd.hpp:48
proxsuite::proxqp::dense::MatRef
Eigen::Ref< Mat< T, l > const > MatRef
Definition
fwd.hpp:33
proxsuite::proxqp::dense::VecMap
Eigen::Map< Vec< T > const > VecMap
Definition
fwd.hpp:38
proxsuite::proxqp::dense::VecRefMut
Eigen::Ref< Vec< T > > VecRefMut
Definition
fwd.hpp:28
proxsuite::proxqp::dense::DYN
static constexpr auto DYN
Definition
fwd.hpp:15
proxsuite::proxqp::dense::MatMapMut
Eigen::Map< Mat< T, l > > MatMapMut
Definition
fwd.hpp:45
proxsuite::proxqp::dense::VecMapISize
Eigen::Map< Eigen::Matrix< isize, DYN, 1 > const > VecMapISize
Definition
fwd.hpp:47
proxsuite::proxqp::dense::layout
@ layout
Definition
fwd.hpp:18
proxsuite::proxqp::dense::VecMapMut
Eigen::Map< Vec< T > > VecMapMut
Definition
fwd.hpp:40
proxsuite::proxqp::dense::VecBool
Eigen::Matrix< bool, DYN, 1 > VecBool
Definition
fwd.hpp:51
proxsuite::proxqp::dense::Vec
Eigen::Matrix< T, DYN, 1 > Vec
Definition
fwd.hpp:24
proxsuite::proxqp::dense::MatMap
Eigen::Map< Mat< T, l > const > MatMap
Definition
fwd.hpp:43
proxsuite::proxqp::dense::VecRef
Eigen::Ref< Vec< T > const > VecRef
Definition
fwd.hpp:26
proxsuite::proxqp::dense::Mat
Eigen::Matrix< T, DYN, DYN, l > Mat
Definition
fwd.hpp:31
proxsuite::proxqp
Definition
backward_data.hpp:16
proxsuite
Definition
common.hpp:14
include
proxsuite
proxqp
dense
fwd.hpp
Generated by
1.17.0