MTL5 -- Matrix Template Library C++ API
mtl:: -- C++20 header-only linear algebra for mixed-precision algorithm design
Loading...
Searching...
No Matches
mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space > Struct Template Reference

Parameter bundle for matrix types. More...

#include <parameter.hpp>

Public Types

using orientation = Orientation
using index_type = Index
using dimensions_type = Dimensions
using storage = Storage
using size_type = SizeType
using memory_space = Space
 Where the elements live (#223); memory_space::host by default.

Static Public Attributes

static constexpr bool is_fixed = Dimensions::is_fixed

Detailed Description

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
struct mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >

Parameter bundle for matrix types.

Space is where the elements live (#223): memory_space::host by default.

Member Typedef Documentation

◆ dimensions_type

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::dimensions_type = Dimensions

◆ index_type

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::index_type = Index

◆ memory_space

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::memory_space = Space

Where the elements live (#223); memory_space::host by default.

◆ orientation

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::orientation = Orientation

◆ size_type

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::size_type = SizeType

◆ storage

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
using mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::storage = Storage

Member Data Documentation

◆ is_fixed

template<typename Orientation = tag::row_major, typename Index = detail::c_index, typename Dimensions = non_fixed::dimensions, typename Storage = tag::on_heap, typename SizeType = std::size_t, typename Space = memory_space::host>
bool mtl::mat::parameters< Orientation, Index, Dimensions, Storage, SizeType, Space >::is_fixed = Dimensions::is_fixed
staticconstexpr

The documentation for this struct was generated from the following file: