Wilang Documentation1.0.0+4

subtractScalar#

Subtract one scalar from another.

Available in: math cells, REPL.

Syntax#

subtractScalar(x, y)

Arguments and behavior#

Scalar-only arithmetic helper. For normal calculations use the corresponding operator; arrays require the general or element-wise function.

Example#

Edit the inputs, then use Run or Reset. Changes stay in this example.

Example
subtractScalar(5,2)

Expected result: 3.

All functions · Math guides