When setting up a table interpolation function or a user CEL function, an argument or return value must be dimensionless, but the form will not accept a blank entry for the units. How can an argument to an interpolation function be dimensionless?

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

Show Form
No comments yet. Be the first to add a comment!