Xceed Chart for WinForms v4.4 Documentation
Welcome to Xceed Chart for WinForms v4.4 / User Guide / Data Manipulation / Functions / Multiply
In This Topic
    Multiply
    In This Topic

    Syntax

    MUL(A1; A2 [; A3] ...)

    Arguments

    Accepts two or more arguments, which may be either scalar values or arrays.

    Result

    If all the arguments are scalar values, the result is a scalar value.
    If at least one argument is an array, the result is an array. The size of the result is equal to the size of the input array.
    If more than one argument is an array, the size of the result is equal to the size of the smallest input array. 

    Description

    Each element of the result is a product of the corresponding elements of the input arguments. 

    Example 1

    Expression: MUL(arg1; 2)

    arg1 5 2 3 1 10
    result 10 4 6 2 20

    Example 2

    Expression: MUL(arg1; arg2)  

    arg1 5 2 3 1 10
    arg2 4 3 3 6 2
    result 20 6 9 6 20

    Related Examples

    Windows Forms: Data Manipulation\Functions\Basic Functions