multiplyScalar#
Multiply two scalar values.
Available in: math cells, REPL.
Syntax#
multiplyScalar(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
multiplyScalar(2,3)Interactive examples could not load. You can still copy the expressions.
Expected result: 6.