Physical Constants in Ocean / Skill Scripts

H

Hannes

Guest
Hi,

Are there any mathematical and physical constants predefined for the use
in OCEAN or Skill scripts?

Best regards

Hannes
 
Hannes wrote, on 10/04/10 11:39:
Hi,

Are there any mathematical and physical constants predefined for the use
in OCEAN or Skill scripts?

Best regards

Hannes
Hannes,

defMathConstants('math)

and then doing:

math.?

will show you the available constant names. For example:

math.PI_OVER_2

Note there are only maths constants and not physical constants. The argument to
defMathConstants can be whatever symbol you like - so you could do
defMathConstants('andrew) and then use andrew.E for example.

Regards,

Andrew.
 

Welcome to EDABoard.com

Sponsor

Back
Top