Physical Constants in Ocean / Skill Scripts

Discussion in 'Cadence' started by Hannes, Oct 4, 2010.

  1. Hannes

    Hannes Guest

    Hi,

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

    Best regards

    Hannes
     
    Hannes, Oct 4, 2010
    #1
  2. Hannes wrote, on 10/04/10 11:39:
    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.
     
    Andrew Beckett, Oct 4, 2010
    #2
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.