コンカレンシー名前空間演算子 (AMP)
operator==
指定した引数が等しいかどうかを判断します。
template <
int _Rank,
template <int> class _Tuple_type
>
bool operator== (
const _Tuple_type<_Rank>& _Lhs,
const _Tuple_type<_Rank>& _Rhs) restrict(amp);
パラメーター
_Rank
タプルの引数のランク。
_Lhs
比較するタプルの 1 つ。
_Rhs
比較するタプルの 1 つ。
戻り値
タプルが等しい場合は true
、それ以外の場合は false
。
operator!=
指定した引数が等しくないかどうかを判断します。
template <
int _Rank,
template <int> class _Tuple_type
>
bool operator!= (
const _Tuple_type<_Rank>& _Lhs,
const _Tuple_type<_Rank>& _Rhs) restrict(amp);
パラメーター
_Rank
タプルの引数のランク。
_Lhs
比較するタプルの 1 つ。
_Rhs
比較するタプルの 1 つ。
戻り値
タプルが等しくない場合は true
、それ以外の場合は false
。
operator+
指定された引数の要素ごとの合計を計算します。
template <
int _Rank,
template <int> class _Tuple_type
>
class _Tuple_type> _Tuple_type<_Rank> operator+(
const _Tuple_type<_Rank>& _Lhs,
const _Tuple_type<_Rank>& _Rhs) restrict(amp,cpu);
template <
int _Rank,
template <int> class _Tuple_type
>
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
>
class _Tuple_type> _Tuple_type<_Rank> operator+(
typename _Tuple_type<_Rank>::value_type _Lhs,
const _Tuple_type<_Rank>& _Rhs) restrict(amp,cpu);
パラメーター
_Rank
タプルの引数のランク。
_Lhs
追加する引数の 1 つ。
_Rhs
追加する引数の 1 つ。
戻り値
指定された引数の要素ごとの合計。
operator-
指定された引数の要素ごとの差を計算します。
template <
int _Rank,
template <int> class _Tuple_type
>
_Tuple_type<_Rank> operator-(
const _Tuple_type<_Rank>& _Lhs,
const _Tuple_type<_Rank>& _Rhs) restrict(amp,cpu);
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
減算する引数。
戻り値
指定された引数の要素ごとの差。
operator*
指定された引数の要素ごとの積を計算します。
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
乗算するタプルのいずれか。
戻り値
指定された引数の要素ごとの積。
operator/
指定された引数のコンポーネントごとの商を計算します。
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
除算するタプル。
戻り値
指定された引数のコンポーネントごとの商。
operator%
2 番目の指定された引数による 1 番目の指定された引数の剰余を計算します。
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
それによって剰余が計算されるタプル。
戻り値
2 番目の指定された引数による 1 番目の指定された引数の剰余という結果。
関連項目
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示