MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::sparse::factorization::detail::klu_slice< Value > Struct Template Reference

A non-owning view of m consecutive Values, with the size() and operator() lu_numeric::solve takes for its vectors. More...

#include <native_klu.hpp>

Public Types

using value_type = Value

Public Member Functions

std::size_t size () const
Value & operator() (std::size_t i) const

Public Attributes

Value * p
std::size_t m

Detailed Description

template<typename Value>
struct mtl::sparse::factorization::detail::klu_slice< Value >

A non-owning view of m consecutive Values, with the size() and operator() lu_numeric::solve takes for its vectors.

Member Typedef Documentation

◆ value_type

template<typename Value>
using mtl::sparse::factorization::detail::klu_slice< Value >::value_type = Value

Member Function Documentation

◆ operator()()

template<typename Value>
Value & mtl::sparse::factorization::detail::klu_slice< Value >::operator() ( std::size_t i) const
inline

◆ size()

template<typename Value>
std::size_t mtl::sparse::factorization::detail::klu_slice< Value >::size ( ) const
inline

Member Data Documentation

◆ m

template<typename Value>
std::size_t mtl::sparse::factorization::detail::klu_slice< Value >::m

◆ p

template<typename Value>
Value* mtl::sparse::factorization::detail::klu_slice< Value >::p

The documentation for this struct was generated from the following file:
  • /home/runner/work/mtl5/mtl5/include/mtl/sparse/factorization/native_klu.hpp