2 Reputation Points
Ranked #4K
- Strength to Increase Rep
- +0
- Strength to Decrease Rep
- -0
100% Quality Score
- Upvotes Received
- 2
- Posts with Upvotes
- 2
- Upvoting Members
- 2
- Downvotes Received
- 0
- Posts with Downvotes
- 0
- Downvoting Members
- 0
0 Endorsements
Ranked #44.2K
Wow. Just wow. I'm working on a script that evaluates probably millions of trig functions in a given run (it's a geometric ray trace of an arbitrary surface, so the math gets nasty fast...). I've been wrapping the numpy sin, cos, etc to work with the functions I get from … |
|
I'm writing a method to generated a latex table table from input arrays. It's working but there is one nuisance: I want trailing zeros on numbers. Right now I'm using the %g method which works nicely, but it still will turn 1.340 into 1.34 if I do "%.4g" % 1.340. … |