User Tools

Site Tools


script:module:math

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
script:module:math [2019-11-17 18:14]
skyjake
script:module:math [2019-12-22 08:33]
skyjake
Line 6: Line 6:
 ===== Functions ===== ===== Functions =====
  
 +#​@Identifier_HTML~cos~@#​ ( #​@Arg_HTML~Number,​n~@#​ )
 +
 +Cosine of //n//.
  
 #​@Identifier_HTML~random~@#​ ( ) #​@Identifier_HTML~random~@#​ ( )
Line 11: Line 14:
 Returns a random number between 0 and 1. Returns a random number between 0 and 1.
  
-#​@Identifier_HTML~randInt~@#​ ( #​@Arg_HTML~Number,​low~@#,​ #​@Arg_HTML~Number|high~@# )+#​@Identifier_HTML~randInt~@#​ ( #​@Arg_HTML~Number,​low~@#,​ #​@Arg_HTML~Number,high~@# )
  
 Returns a random integer in the range //​low//​...//​high//​. The range is inclusive at both ends, so this is possible: Returns a random integer in the range //​low//​...//​high//​. The range is inclusive at both ends, so this is possible:
Line 18: Line 21:
   ⇒ 3   ⇒ 3
  
 +#​@Identifier_HTML~randNum~@#​ ( #​@Arg_HTML~Number,​low~@#,​ #​@Arg_HTML~Number,​high~@#​ )
 +
 +Returns a random floating-point number in the range //​low//​...//​high//​.
 +
 +#​@Identifier_HTML~sin~@#​ ( #​@Arg_HTML~Number,​n~@#​ )
 +
 +Sine of //n//.
  
 +#​@Identifier_HTML~tan~@#​ ( #​@Arg_HTML~Number,​n~@#​ )
  
 +Tangent of //n//.
  
script/module/math.txt · Last modified: 2019-12-22 08:33 by skyjake