Loading...
  OR  Zero-K Name:    Password:   

Post edit history

Overdrive in Energy Deficit

To display differences between versions, select one or more edits in the list using checkboxes and click "diff selected"
Post edit history
Date Editor Before After
2/3/2017 11:36:30 PMDErankBrackman before revert after revert
2/3/2017 11:27:21 PMDErankBrackman before revert after revert
Before After
1 I defined abs(x)=0 if x<0. Otherwise I would use |x|. You're right that abs is also often used for |.|, though. My formulas are rather mathematic here. As a programmer, you would express that with if and else. 1 I defined abs(x)=0 if x<0. Otherwise I would use |x|. You're right that abs is also often used for |.|, though. My formulas are rather mathematic here. As a programmer, you would express that with if and else.
2 \n
3 Indeed I had to correct my 3rd formula for the case of full energy storage. The corrected one is now mathematically not defined in the case of full metal storage. You would have to account for that when coding it, but the code would look differently anyway.