Algorithms for programmers:Ideas and source code

Algorithms for programmers:Ideas and source code

ID:32524161

大小:4.94 MB

页数:992页

时间:2019-02-10

Algorithms for programmers:Ideas and source code _第1页
Algorithms for programmers:Ideas and source code _第2页
Algorithms for programmers:Ideas and source code _第3页
Algorithms for programmers:Ideas and source code _第4页
Algorithms for programmers:Ideas and source code _第5页
资源描述:

《Algorithms for programmers:Ideas and source code 》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库

1、MattersComputationalideas,algorithms,sourcecodeThisdocumentisworkinprogress:readtheimportantremarks"nearthebeginningJ•orgArndtarndt@jjj.de1Draftversionof2009-May-111Thelatestversionandtheaccompanyingsoftwareisonlineathttp://www.jjj.de/fxt/.ii[fxtbookdraftof2009-May-11]CONTENTSiiiContentsPrefac

2、exiILowlevelalgorithms11Bitwizardry31.1Trivia...............................................31.2Operationsonindividualbits..................................81.3Operationsonlowbitsorblocksofaword..........................91.4Extractionofones,zeros,orblocksneartransitions.....................121.

3、5Computingtheindexofasinglesetbit............................141.6Operationsonhighbitsorblocksofaword..........................161.7Functionsrelatedtothebase-2logarithm...........................181.8Countingthebitsandblocksofaword............................191.9Wordsasbitsets.................

4、........................241.10Avoidingbranches........................................251.11Bit-wiserotationofaword...................................281.12Binarynecklacesz........................................291.13Reversingthebitsofaword..................................341.14Bit-wisezip...

5、.........................................381.15Graycodeandparity......................................411.16Bitsequencyz..........................................471.17PowersoftheGraycodez...................................491.18Invertibletransformsonwordsz................................501.19

6、Space llingcurves........................................571.20Scanningforzerobytes.....................................661.212-adicinverseandsquareroot.................................691.22Radix2(minustwo)representation.............................701.23Asparsesignedbinaryrepresentation.....

7、........................731.24Generatingbitcombinations..................................741.25Generatingbitsubsetsofagivenword............................811.26Binarywordsinlexicographicorderforsubsets........................831.

当前文档最多预览五页,下载文档查看全文

此文档下载收益归作者所有

当前文档最多预览五页,下载文档查看全文
温馨提示:
1. 部分包含数学公式或PPT动画的文件,查看预览时可能会显示错乱或异常,文件下载后无此问题,请放心下载。
2. 本文档由用户上传,版权归属用户,天天文库负责整理代发布。如果您对本文档版权有争议请及时联系客服。
3. 下载前请仔细阅读文档内容,确认文档内容符合您的需求后进行下载,若出现内容与标题不符可向本站投诉处理。
4. 下载文档时可能由于网络波动等原因无法下载或下载错误,付费完成后未能成功下载的用户请联系客服处理。