operator* 运算符 (C++ AMP)

计算指定参数的组件范围的乘积。

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);

参数

  • _Rank
    元组参数的等级。

  • _Lhs
    要相乘的元组之一。

  • _Rhs
    要相乘的元组之一。

返回值

指定参数的组件范围的乘积。

要求

**标头:**amp.h

命名空间: 并发

请参见

参考

Concurrency 命名空间 (C++ AMP)