C / C ++程序员的数学资源

时间:2021-07-02 15:09:01

My degree is in Electrical and Computer Engineering but i'm currently employed as a Software Engineer. I took all of the algebra, geometry and calculus classes that one would expect from someone with my degree however I must admit, I think I learned just enough to pass the test but never really saw a use for it and therefore never really retained much of the material.

我的学位是电气和计算机工程,但我目前是一名软件工程师。我学习了所有代数,几何和微积分课程,这是人们对我学位的期望,但是我必须承认,我认为我学到了足够的知识来通过测试,但从未真正看到它的使用,因此从未真正保留过该材料。

Now that i've matured some, I see the use for it all of the time. I KNOW that there are lots of places that math knowledge would improve my coding so i'm ready to relearn the old stuff and learn some new stuff.

现在我已经成熟了一些,我总是看到它的使用。我知道有很多地方数学知识可以改善我的编码,所以我准备重新学习旧东西并学习一些新东西。

What are your favorite resources out there? (Resources that can tie math into programming are even better if you have any!) Books? Websites? Blogs?

你最喜欢的资源是什么? (可以将数学与编程相结合的资源,如果你有任何!)书籍会更好!网站?博客?

13 个解决方案

#1


I found this blog on the subject intresting:

我发现这个主题的博客很有趣:

http://steve-yegge.blogspot.com/2006/03/math-for-programmers.html

also has some recommendations for books.

还有一些书籍推荐。

#2


Wolfram MathWorld is one of my favorite resources for all things math. Wikipedia has plenty of math resources as well.

Wolfram MathWorld是我最喜欢的数学资源之一。*也有很多数学资源。

#3


I think these books will help you on designing algorithms:

我认为这些书将帮助您设计算法:

Introduction to Algorithms

算法简介

Concrete Mathematics: A Foundation for Computer Science

具体数学:计算机科学基础

Discrete Mathematics and Its Applications

离散数学及其应用

#4


Hacker's Delight is a great little book about math and programming. The blurb:

Hacker's Delight是一本关于数学和编程的好书。模糊:

A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier. At long last, proven short-cuts to mastering difficult aspects of computer programming. Learn to program at a more advanced level than is generally taught in schools and training courses, and much more advanced than can be learned through individual study/experience. An instant cult classic for programmers!

多年来作者收集的一系列有用的编程建议;小算法,使程序员的任务更容易。最后,经过验证的捷径可以掌握计算机编程的难点。学习比学校和培训课程中通常教授的更高级的课程,并且比通过个人学习/经验学到的更先进。程序员的即时*经典!

#5


I don't use a lot of "real math", but when I need to remember those formulas that I used in school I go to Google. A lot of the results end up Here

我不会使用很多“真正的数学”,但是当我需要记住我在学校使用的那些公式时,我会去Google。很多结果都在这里结束了

#6


Well, there's always Stack Overflow. :) In all seriousness, if you have a specific question that involves both math and programming, you could do far worse than posting it here.

好吧,总有Stack Overflow。 :)严肃地说,如果你有一个涉及数学和编程的特定问题,你可能会比在这里发布更糟糕。

#7


I favourited a similar Stack Overflow question a few weeks back which contains some good info on the subject:

几个星期前,我更喜欢类似的Stack Overflow问题,其中包含一些有关该主题的好信息:

Essential Math for excelling as a Programmer?

作为程序员优秀的必备数学?

#8


Another poster recommended Numerical Recipes in C++ but posted a link to an older version. The newer Numerical Recipes in C++, 3d ed, ISBN-13: 9780521880688, is available and is an excellent resource.

另一张海报推荐了C ++中的Numerical Recipes,但发布了旧版本的链接。 C ++,3d ed,ISBN-13:9780521880688中较新的Numerical Recipes可用,是一种很好的资源。

alt text http://ak.buy.com/db_assets/prod_lrg_images/909/204734909.jpg

替代文字http://ak.buy.com/db_assets/prod_lrg_images/909/204734909.jpg

#9


Knuth. http://www.amazon.com/Art-Computer-Programming-Volumes-Boxed/dp/0201485419

Or as I like to refer to it: The guy that made me realize I hadn't actually invented or discovered anything that hadn't been known for years.

或者我喜欢这样说:让我意识到我实际上并没有发明或发现任何多年未知的东西。

#10


Alot of the best resources have already been mentioned, but since you specifically called out C++ you should have a look at Numerical Recipes in C++, 3d ed, ISBN-13: 9780521880688.

已经提到了很多最好的资源,但是由于你特别提到了C ++,你应该看看C ++,3d ed,ISBN-13:9780521880688中的Numerical Recipes。

Also, one of the best mathematics resources on the web is MathsChallenge.net, and its companion site Project Euler.

此外,网络上最好的数学资源之一是MathsChallenge.net及其配套网站Project Euler。

#11


Math Refresher for Scientists and Engineers (by John R. Fanchi)

科学家和工程师的数学复习(作者John R. Fanchi)

Just-In-Time Math for Engineers (by Archibald L. Fripp, Jon B. Fripp and Michael L. Fripp)

工程师的即时数学(由Archibald L. Fripp,Jon B. Fripp和Michael L. Fripp撰写)

#12


I really like the book Mastering Technical Mathematics 3rd Edition. It's kind of a bird's-eye view of mathematics with a technical focus. It starts out with such simple concepts as addition and multiplication, but as it explains the concepts it also explains how computers do the calculations. About half-way through you'll find quadratic equations and calculus. Page 442 begins the discussion of "General Time-Space Hypervolume". I didn't see anything about matrix math in there, but for a good "everything about math in a nutshell"-type book it's great.

我非常喜欢“掌握技术数学第3版”这本书。这是一种以技术为重点的数学鸟瞰图。它从添加和乘法等简单概念开始,但在解释概念时,它也解释了计算机如何进行计算。大约一半时间你会发现二次方程和微积分。第442页开始讨论“通用时空超级卷”。我没有看到关于矩阵数学的任何内容,但是对于一个好的“简单数学的一切”类型的书来说它很棒。

#13


I've had this type of experience myself...one of the more comprehensive starting points I found was MIT's OpenCourseWare site. They actually offer their entire Mathematics for Computer Science course materials (and a lot of other course materials for that matter) online, and for free. Here's the link to the Math course:

我自己也有这种经历......我找到的更全面的起点之一是麻省理工学院的OpenCourseWare网站。他们实际上是免费提供他们的整个计算机科学数学课程材料(以及许多其他课程材料)。这是数学课程的链接:

http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-042JFall-2005/CourseHome/index.htm

It's not the be-all end-all of computer math, but it is a great place to get started, and figure out what other research you may need to gather.

这不是最重要的计算机数学,但它是一个开始的好地方,并弄清楚你可能需要收集的其他研究。

#1


I found this blog on the subject intresting:

我发现这个主题的博客很有趣:

http://steve-yegge.blogspot.com/2006/03/math-for-programmers.html

also has some recommendations for books.

还有一些书籍推荐。

#2


Wolfram MathWorld is one of my favorite resources for all things math. Wikipedia has plenty of math resources as well.

Wolfram MathWorld是我最喜欢的数学资源之一。*也有很多数学资源。

#3


I think these books will help you on designing algorithms:

我认为这些书将帮助您设计算法:

Introduction to Algorithms

算法简介

Concrete Mathematics: A Foundation for Computer Science

具体数学:计算机科学基础

Discrete Mathematics and Its Applications

离散数学及其应用

#4


Hacker's Delight is a great little book about math and programming. The blurb:

Hacker's Delight是一本关于数学和编程的好书。模糊:

A collection useful programming advice the author has collected over the years; small algorithms that make the programmer's task easier. At long last, proven short-cuts to mastering difficult aspects of computer programming. Learn to program at a more advanced level than is generally taught in schools and training courses, and much more advanced than can be learned through individual study/experience. An instant cult classic for programmers!

多年来作者收集的一系列有用的编程建议;小算法,使程序员的任务更容易。最后,经过验证的捷径可以掌握计算机编程的难点。学习比学校和培训课程中通常教授的更高级的课程,并且比通过个人学习/经验学到的更先进。程序员的即时*经典!

#5


I don't use a lot of "real math", but when I need to remember those formulas that I used in school I go to Google. A lot of the results end up Here

我不会使用很多“真正的数学”,但是当我需要记住我在学校使用的那些公式时,我会去Google。很多结果都在这里结束了

#6


Well, there's always Stack Overflow. :) In all seriousness, if you have a specific question that involves both math and programming, you could do far worse than posting it here.

好吧,总有Stack Overflow。 :)严肃地说,如果你有一个涉及数学和编程的特定问题,你可能会比在这里发布更糟糕。

#7


I favourited a similar Stack Overflow question a few weeks back which contains some good info on the subject:

几个星期前,我更喜欢类似的Stack Overflow问题,其中包含一些有关该主题的好信息:

Essential Math for excelling as a Programmer?

作为程序员优秀的必备数学?

#8


Another poster recommended Numerical Recipes in C++ but posted a link to an older version. The newer Numerical Recipes in C++, 3d ed, ISBN-13: 9780521880688, is available and is an excellent resource.

另一张海报推荐了C ++中的Numerical Recipes,但发布了旧版本的链接。 C ++,3d ed,ISBN-13:9780521880688中较新的Numerical Recipes可用,是一种很好的资源。

alt text http://ak.buy.com/db_assets/prod_lrg_images/909/204734909.jpg

替代文字http://ak.buy.com/db_assets/prod_lrg_images/909/204734909.jpg

#9


Knuth. http://www.amazon.com/Art-Computer-Programming-Volumes-Boxed/dp/0201485419

Or as I like to refer to it: The guy that made me realize I hadn't actually invented or discovered anything that hadn't been known for years.

或者我喜欢这样说:让我意识到我实际上并没有发明或发现任何多年未知的东西。

#10


Alot of the best resources have already been mentioned, but since you specifically called out C++ you should have a look at Numerical Recipes in C++, 3d ed, ISBN-13: 9780521880688.

已经提到了很多最好的资源,但是由于你特别提到了C ++,你应该看看C ++,3d ed,ISBN-13:9780521880688中的Numerical Recipes。

Also, one of the best mathematics resources on the web is MathsChallenge.net, and its companion site Project Euler.

此外,网络上最好的数学资源之一是MathsChallenge.net及其配套网站Project Euler。

#11


Math Refresher for Scientists and Engineers (by John R. Fanchi)

科学家和工程师的数学复习(作者John R. Fanchi)

Just-In-Time Math for Engineers (by Archibald L. Fripp, Jon B. Fripp and Michael L. Fripp)

工程师的即时数学(由Archibald L. Fripp,Jon B. Fripp和Michael L. Fripp撰写)

#12


I really like the book Mastering Technical Mathematics 3rd Edition. It's kind of a bird's-eye view of mathematics with a technical focus. It starts out with such simple concepts as addition and multiplication, but as it explains the concepts it also explains how computers do the calculations. About half-way through you'll find quadratic equations and calculus. Page 442 begins the discussion of "General Time-Space Hypervolume". I didn't see anything about matrix math in there, but for a good "everything about math in a nutshell"-type book it's great.

我非常喜欢“掌握技术数学第3版”这本书。这是一种以技术为重点的数学鸟瞰图。它从添加和乘法等简单概念开始,但在解释概念时,它也解释了计算机如何进行计算。大约一半时间你会发现二次方程和微积分。第442页开始讨论“通用时空超级卷”。我没有看到关于矩阵数学的任何内容,但是对于一个好的“简单数学的一切”类型的书来说它很棒。

#13


I've had this type of experience myself...one of the more comprehensive starting points I found was MIT's OpenCourseWare site. They actually offer their entire Mathematics for Computer Science course materials (and a lot of other course materials for that matter) online, and for free. Here's the link to the Math course:

我自己也有这种经历......我找到的更全面的起点之一是麻省理工学院的OpenCourseWare网站。他们实际上是免费提供他们的整个计算机科学数学课程材料(以及许多其他课程材料)。这是数学课程的链接:

http://ocw.mit.edu/OcwWeb/Electrical-Engineering-and-Computer-Science/6-042JFall-2005/CourseHome/index.htm

It's not the be-all end-all of computer math, but it is a great place to get started, and figure out what other research you may need to gather.

这不是最重要的计算机数学,但它是一个开始的好地方,并弄清楚你可能需要收集的其他研究。