lin
lin::internal::matches_tensor_scalar< T, U > Struct Template Reference

Tests if a pair of types is a "tensor scalar" pair. More...

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

Inheritance diagram for lin::internal::matches_tensor_scalar< T, U >:
lin::internal::conjunction< matches_tensor< T >, matches_scalar< U > >

Detailed Description

template<typename T, typename U>
struct lin::internal::matches_tensor_scalar< T, U >

Tests if a pair of types is a "tensor scalar" pair.

Template Parameters
TFirst type.
USecond type.

A pair of types is determined to be a "tensor scalar" pair if the first type is considered a tensor type and the second type is considered a scalar type. This is used to aid with selecting overloads for operation functions.

See also
internal::matches_tensor
internal::matches_scalar
internal::matches_scalar_scalar
internal::matches_scalar_tensor
internal::matches_scalar_scalar

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