- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
int arrA[]={1,2,3,..........100};
I want to get arrB={100,.......3,2,1};
What's the fastest fun?
コピーされたリンク
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
If I want to get arrA={100,.......3,2,1},too;
What's the fastest fun?
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
MKL doesn't have such functions, but you may have a look at the existing IPP functionality ( ippsFlip_*,* or ippsSortAscend/Descend ).
https://software.intel.com/en-us/node/502149.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
C++ reverse_copy() is optimized for the designated architecture by Intel C++ and g++. A plain loop would work as well.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
By the way, note that "Rotate" is not an apt word for what you want to do. "Reverse", "Reflect" or the more flippant "Flip" would be more appropriate.
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Gennady Fedorov (Intel) wrote:
MKL doesn't have such functions, but you may have a look at the existing IPP functionality ( ippsFlip_*,* or ippsSortAscend/Descend ).
https://software.intel.com/en-us/node/502149.
ok,thank you
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
Tim P. wrote:
C++ reverse_copy() is optimized for the designated architecture by Intel C++ and g++. A plain loop would work as well.
ok thank you
- 新着としてマーク
- ブックマーク
- 購読
- ミュート
- RSS フィードを購読する
- ハイライト
- 印刷
- 不適切なコンテンツを報告
mecej4 wrote:
By the way, note that "Rotate" is not an apt word for what you want to do. "Reverse", "Reflect" or the more flippant "Flip" would be more appropriate.
yes, you are right.