lin
lin::internal::matches_tensor< T > Struct Template Reference

Tests if a type is a tensor. More...

#include <lin/core/operations/tensor_operations.hpp>

Inheritance diagram for lin::internal::matches_tensor< T >:
lin::internal::has_traits< T > lin::internal::_has_traits< T >

Detailed Description

template<typename T>
struct lin::internal::matches_tensor< T >

Tests if a type is a tensor.

Template Parameters
TType.

A type is determined to be a tensor type if it has traits. This is used to aid with selecting overloads for operation functions.

See also
internal::has_traits
internal::matches_scalar

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