Compartilhar via


operator* Operator (C++ AMP)

Computes the component-wise product of the specified arguments.

template <
   int _Rank,
   template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator*(
   const _Tuple_type<_Rank>& _Lhs,
   typename _Tuple_type<_Rank>::value_type _Rhs
) restrict(amp,cpu);

template <
   int _Rank,
   template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator*(
   typename _Tuple_type<_Rank>::value_type _Lhs,
   const _Tuple_type<_Rank>& _Rhs
) restrict(amp, cpu);

Parameters

  • _Rank
    The rank of the tuple arguments.

  • _Lhs
    One of the tuples to multiply.

  • _Rhs
    One of the tuples to multiply.

Return Value

The component-wise product of the specified arguments.

Requirements

Header: amp.h

Namespace: Concurrency

See Also

Reference

Concurrency Namespace (C++ AMP)