Skip to main content
edited tags
Link
Stefan Kohl
  • 19.6k
  • 21
  • 75
  • 137
Post Made Community Wiki by Stefan Kohl
Post Closed as "not a real question" by Igor Rivin, Suvrit, Gerald Edgar, Bruce Westbury, Will Jagy
added 6 characters in body
Source Link
lowndrul
  • 203
  • 2
  • 7

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

UDPATE: I did find a nice numerical analysis cheatsheet here. But I'm looking for onesomething quicker and dirtier

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

UDPATE: I did find a nice numerical analysis cheatsheet here. But I'm looking for one quicker and dirtier

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

UDPATE: I did find a nice numerical analysis cheatsheet here. But I'm looking for something quicker and dirtier

added 176 characters in body
Source Link
lowndrul
  • 203
  • 2
  • 7

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

UDPATE: I did find a nice numerical analysis cheatsheet here. But I'm looking for one quicker and dirtier

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

Does there exist a simple, cheatsheet-like document which compiles the best practices for mathematical computing? If not, could someone respond with a list of the top best practices? E.g., it would include items like:

  1. For large numerical vectors x, instead of computing x^2, compute x*x. This speeds up calculations for reasons...(?)
  2. To solve a system $Ax = b$, never solve $A^{-1}$ and left-multiply $b$. Lower order algorithms exist (e.g., Gaussian elimination)

BACKGROUND: I'm finding papers where programmatic implementations are quite different from what derived analytic expressions would suggest. Different factorings, expansions, and approximations are used all over the place. I don't think it's simply arbitrary. But the problem is that I have no sense of WHY they're doing what they're doing. I think a cheatsheet-like document would help with this.

UDPATE: I did find a nice numerical analysis cheatsheet here. But I'm looking for one quicker and dirtier

Source Link
lowndrul
  • 203
  • 2
  • 7
Loading