lin
lin::internal::have_same_traits< Cs > Struct Template Reference

Tests if a set of tensor types all have the same traits. More...

#include <lin/core/traits/tensor.hpp>

Inheritance diagram for lin::internal::have_same_traits< Cs >:
lin::internal::conjunction< have_same_dimensions< Cs... >, have_same_elements< Cs... > >

Detailed Description

template<class... Cs>
struct lin::internal::have_same_traits< Cs >

Tests if a set of tensor types all have the same traits.

Template Parameters
CsTensor types.

Two tensors are determined to have the same traits if they are also determined to have the same dimensions and the same element types.

If less than two tensor types are given, it defaults to true.

See also
internal::have_same_dimensions
internal::have_same_elements

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