General

General

How can I set an argument or return value in an interpolation function to be dimensionless?

    • FAQFAQ
      Participant

      Dimensionless arguments or return values can be specified with empty square brackets. e.g. [] If there is more than one argument to a function, a comma separated list of units must be specified. Any of these may be dimensionless e.g. [m s^-1], [], [K], [] The same convention applies to argument lists in command language.