Calculates the cosine of a field.

Function Traits: FieldComputationFunction

ParameterTypeRequiredDefaultDescription
asstringoptional[a]_cos The name of the output field.
field[b]stringrequired  The name of the input field.

[a] Optional parameters use their default value unless explicitly set

[b] The argument name field can be omitted.

The parameter name for field can be omitted; the following forms are equivalent:

logscale
math:cos("value")

and:

logscale
math:cos(field="value")