Functions Index :: P :: Product2

[<< up one level]

Module:

numeric :: core

Definition:

Product2(val x1, val x2)

Description:

Returns the product of its arguments. [1]

Examples:

p = Product2(3, 4) # p is now 12

s = Product2(0.5, p) # s is now 6

 

[<< top]

 


[1]: The function is provided as a building block of more complex functions, particularly for operations on arrays. See the documentation of the array package and the ArrayOpFunc, ArrayOpArrayFunc and ArraySum functions.