batmat develop
Batched linear algebra routines
Loading...
Searching...
No Matches
layout.hpp File Reference

Detailed Description

Layout description for a batch of matrices, independent of any storage.

Definition in file layout.hpp.

#include <batmat/config.hpp>
#include <guanaqo/mat-view.hpp>
#include <type_traits>

Go to the source code of this file.

Classes

struct  batmat::matrix::integral_value_type< T >
struct  batmat::matrix::integral_value_type< IntConst >
struct  batmat::matrix::DefaultStride
struct  batmat::matrix::Layout< I, S, D, L, O >
 Shape and strides describing a batch of matrices, independent of any storage. More...
struct  batmat::matrix::Layout< I, S, D, L, O >::PlainLayout

Namespaces

namespace  batmat
namespace  batmat::matrix

Typedefs

template<class T>
using batmat::matrix::integral_value_type_t = typename integral_value_type<T>::type

Enumerations

enum class  batmat::matrix::StorageOrder

Class Documentation

◆ batmat::matrix::integral_value_type

struct batmat::matrix::integral_value_type
Class Members
typedef T type T

◆ batmat::matrix::integral_value_type< IntConst >

struct batmat::matrix::integral_value_type< IntConst >
Class Members
typedef typename value_type type typename IntConst::value_type

◆ batmat::matrix::Layout::PlainLayout

struct batmat::matrix::Layout::PlainLayout
Class Members
depth_type depth = guanaqo::default_stride<depth_type>::value
index_type rows = 0
index_type cols = rows == 0 ? 0 : 1
index_type outer_stride = is_row_major ? cols : rows
batch_size_type batch_size
layer_stride_type layer_stride