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

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

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

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

Detailed Description

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

Tests if a pair of types is a "scalar tensor" 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 scalar type and the second type is considered a tensor 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_tensor_scalar
internal::matches_scalar_scalar

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