将指定索引处的元素值设置为指定值。
void set(
const index<_Rank>& _Index,
const value_type& _Value
) const restrict(amp);
参数
_Index
设置元素的索引,可能是多维的。_Value
要将元素设置成...值。
要求
**标头:**amp_graphics.h
**命名空间:**concurrency::graphics
将指定索引处的元素值设置为指定值。
void set(
const index<_Rank>& _Index,
const value_type& _Value
) const restrict(amp);
_Index
设置元素的索引,可能是多维的。
_Value
要将元素设置成...值。
**标头:**amp_graphics.h
**命名空间:**concurrency::graphics