docs.unity.cn
    Show / Hide Table of Contents

    Operator Subtraction

    Subtraction(double2x2, double2x2)

    Returns the result of a componentwise subtraction operation on two double2x2 matrices.

    Declaration
    public static double2x2 operator -(double2x2 lhs, double2x2 rhs)
    Parameters
    Type Name Description
    double2x2 lhs

    Left hand side double2x2 to use to compute componentwise subtraction.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise subtraction.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise subtraction.

    Subtraction(double2x2, Double)

    Returns the result of a componentwise subtraction operation on a double2x2 matrix and a double value.

    Declaration
    public static double2x2 operator -(double2x2 lhs, double rhs)
    Parameters
    Type Name Description
    double2x2 lhs

    Left hand side double2x2 to use to compute componentwise subtraction.

    Double rhs

    Right hand side double to use to compute componentwise subtraction.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise subtraction.

    Subtraction(Double, double2x2)

    Returns the result of a componentwise subtraction operation on a double value and a double2x2 matrix.

    Declaration
    public static double2x2 operator -(double lhs, double2x2 rhs)
    Parameters
    Type Name Description
    Double lhs

    Left hand side double to use to compute componentwise subtraction.

    double2x2 rhs

    Right hand side double2x2 to use to compute componentwise subtraction.

    Returns
    Type Description
    double2x2

    double2x2 result of the componentwise subtraction.

    Back to top Copyright © 2022 Unity Technologies
    Generated by DocFX
    on Tuesday, March 29, 2022
    Terms of use