1. 首页
  2. 课程学习
  3. C++/C
  4. Performance Measurement

Performance Measurement

上传者: 2019-06-05 01:17:43上传 C文件 2.02KB 热度 31次
ThereareatleasttwodifferentalgorithmsthatcancomputeXNforsomepositiveintegerN.Algorithm1istouseN–1multiplications.Algorithm2worksinthefollowingway:ifNiseven,XN=XN/2XN/2;andifNisodd,XN=X(N–1)/2X(N–1)/2X.Figure2.11inyourtextbookgivestherecursiveversionofth
用户评论