// // Copyright (c) 2022-2023 INRIA // /** \file */ #ifndef PROXSUITE_PROXQP_SPARSE_FWD_HPP #define PROXSUITE_PROXQP_SPARSE_FWD_HPP #include #include "proxsuite/linalg/veg/vec.hpp" #include "proxsuite/proxqp/dense/views.hpp" #include "proxsuite/helpers/common.hpp" namespace proxsuite { namespace proxqp { namespace sparse { using dense::infty_norm; using proxsuite::linalg::veg::i64; using proxsuite::linalg::veg::isize; using proxsuite::linalg::veg::usize; template using DMat = Eigen::Matrix; static constexpr auto DYN = Eigen::Dynamic; enum { layout = Eigen::RowMajor }; template using SparseMat = Eigen::SparseMatrix; // using SparseMat = Eigen::SparseMatrix; template using VecRef = Eigen::Ref const>; template using MatRef = Eigen::Ref const>; template using Vec = Eigen::Matrix; template using Mat = Eigen::SparseMatrix; // using Mat = Eigen::SparseMatrix; using VecBool = Eigen::Matrix; /// /// @brief This class defines the workspace of the sparse solver. /// /*! * Workspace class of the sparse solver. */ template struct Workspace; } // namespace sparse } // namespace proxqp } // namespace proxsuite #endif /* end of include guard PROXSUITE_PROXQP_SPARSE_FWD_HPP */