GithubHelp home page GithubHelp logo

0000duck / clrscode Goto Github PK

View Code? Open in Web Editor NEW

This project forked from zavatar/clrscode

0.0 2.0 0.0 1.97 MB

The code of Introduction to Algorithm 3rd, Chinese Blog: http://blog.csdn.net/zhumeng1989/article/category/1232333

C++ 85.11% Cuda 14.89%

clrscode's Introduction

For Chinese, please check my Blog: http://blog.csdn.net/zhumeng1989/article/category/1232333

  1. 项目中的函数实现都尽可能同原文一致,方便对照。包括名字大写这点。但由于原 文数组索引从1开始,这点注意区别。
  2. 加入 Programming Pearls 编程珠玑 部分内容。
  3. 加入 Modern C++ Design C++设计新思维 部分内容, 下载loki-0.1.7 http://sourceforge.net/projects/loki-lib/ 并修改include路径,下载boost_1_51_0 http://www.boost.org/。Note: With new C++11, The template Typelist could be implemented with 'variadic template'[http://stackoverflow.com/questions/9463659/wrap-lokitypelist-with-c11-variadic-template] AND Type traits have been added in C++11.
  4. Added Parallel Forall Part, which is come from Nvidia Developer Blog, https://developer.nvidia.com/blog. This part is aimed to follow their "Programming CUDA with C and C++" series, using CUDA 5. And, due to the power of GPU parallel programming, I plain adding some comparations to basic Algorithm, such as Sort, Sum and so on.
  5. Added Thrust CUDA library.
  6. Added BSGP, about BSGP http://www.houqiming.net/

TODO: It will be better if separate template declaration and implement, even C++ DO NOT support only template declaration in header file, while we should use .inl file adding to the tail of .h for more clear hierarchy.

NOTE: I think the hierarchy of the code is bull shit, after I read something about the Design Patterns. Now, I'm still learning some basic knowledge. If time is ready, I will refactor these code.

clrscode's People

Contributors

zavatar avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.