alpaqa 1.0.0a17
Nonconvex constrained optimization
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs
sparsity-conversions.hpp File Reference
#include <alpaqa/config/config.hpp>
#include <alpaqa/problem/sparsity.hpp>
#include <alpaqa/util/sparse-ops.hpp>
#include <algorithm>
#include <cassert>
#include <concepts>
#include <numeric>
#include <optional>
#include <stdexcept>
+ Include dependency graph for sparsity-conversions.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SparsityConversionRequest< Dense< Conf > >
 
struct  SparsityConverter< Dense< Conf >, Dense< Conf > >
 
struct  SparsityConverter< SparseCSC< Conf, StorageIndex >, Dense< Conf > >
 
struct  SparsityConverter< SparseCOO< Conf, StorageIndex >, Dense< Conf > >
 
struct  SparsityConversionRequest< SparseCOO< Conf, StorageIndex > >
 
struct  SparsityConverter< Dense< Conf >, SparseCOO< Conf, StorageIndex > >
 
struct  SparsityConverter< SparseCSC< Conf, StorageIndexFrom >, SparseCOO< Conf, StorageIndexTo > >
 
struct  SparsityConverter< SparseCOO< Conf, StorageIndexFrom >, SparseCOO< Conf, StorageIndexTo > >
 
struct  SparsityConversionRequest< SparseCSC< Conf, StorageIndex > >
 
struct  SparsityConverter< SparseCOO< Conf, StorageIndexFrom >, SparseCSC< Conf, StorageIndexFromTo > >
 
struct  SparsityConverter< SparseCSC< Conf, StorageIndexFrom >, SparseCSC< Conf, StorageIndexTo > >
 
struct  SparsityConverter< Dense< Conf >, SparseCSC< Conf, StorageIndex > >
 
struct  ConverterVariantHelper< To, std::variant< Froms... > >
 
struct  SparsityConverter< Sparsity< Conf >, To >
 Converts any supported matrix storage format to the given format. More...
 

Namespaces

namespace  alpaqa
 
namespace  alpaqa::sparsity
 
namespace  alpaqa::sparsity::detail
 

Typedefs

template<class To >
using ConverterVariant = detail::ConverterVariantHelper< To, SparsityVariant< typename To::config_t > >::type
 

Class Documentation

◆ alpaqa::sparsity::SparsityConversionRequest< Dense< Conf > >

struct alpaqa::sparsity::SparsityConversionRequest< Dense< Conf > >
+ Collaboration diagram for SparsityConversionRequest< Dense< Conf > >:

◆ alpaqa::sparsity::SparsityConversionRequest< SparseCOO< Conf, StorageIndex > >

struct alpaqa::sparsity::SparsityConversionRequest< SparseCOO< Conf, StorageIndex > >
+ Collaboration diagram for SparsityConversionRequest< SparseCOO< Conf, StorageIndex > >:
Class Members
optional< StorageIndex > first_index = std::nullopt Convert the index offset (zero for C/C++, one for Fortran).

◆ alpaqa::sparsity::SparsityConversionRequest< SparseCSC< Conf, StorageIndex > >

struct alpaqa::sparsity::SparsityConversionRequest< SparseCSC< Conf, StorageIndex > >
+ Collaboration diagram for SparsityConversionRequest< SparseCSC< Conf, StorageIndex > >:
Class Members
Order > order = std::nullopt Sort the indices.

◆ alpaqa::sparsity::detail::ConverterVariantHelper< To, std::variant< Froms... > >

struct alpaqa::sparsity::detail::ConverterVariantHelper< To, std::variant< Froms... > >
+ Collaboration diagram for ConverterVariantHelper< To, std::variant< Froms... > >:
Class Members
typedef variant< SparsityConverter< Froms, To >... > type