docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Method mul

    mul(float, float)

    Returns the float value result of a matrix multiplication between a float value and a float value.

    Declaration
    public static float mul(float a, float b)
    Parameters
    Type Name Description
    float a

    Left hand side argument of the matrix multiply.

    float b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float

    The computed matrix multiplication.

    mul(float2, float2)

    Returns the float value result of a matrix multiplication between a float2 row vector and a float2 column vector.

    Declaration
    public static float mul(float2 a, float2 b)
    Parameters
    Type Name Description
    float2 a

    Left hand side argument of the matrix multiply.

    float2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float

    The computed matrix multiplication.

    mul(float2, float2x2)

    Returns the float2 row vector result of a matrix multiplication between a float2 row vector and a float2x2 matrix.

    Declaration
    public static float2 mul(float2 a, float2x2 b)
    Parameters
    Type Name Description
    float2 a

    Left hand side argument of the matrix multiply.

    float2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float2, float2x3)

    Returns the float3 row vector result of a matrix multiplication between a float2 row vector and a float2x3 matrix.

    Declaration
    public static float3 mul(float2 a, float2x3 b)
    Parameters
    Type Name Description
    float2 a

    Left hand side argument of the matrix multiply.

    float2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float2, float2x4)

    Returns the float4 row vector result of a matrix multiplication between a float2 row vector and a float2x4 matrix.

    Declaration
    public static float4 mul(float2 a, float2x4 b)
    Parameters
    Type Name Description
    float2 a

    Left hand side argument of the matrix multiply.

    float2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float3, float3)

    Returns the float value result of a matrix multiplication between a float3 row vector and a float3 column vector.

    Declaration
    public static float mul(float3 a, float3 b)
    Parameters
    Type Name Description
    float3 a

    Left hand side argument of the matrix multiply.

    float3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float

    The computed matrix multiplication.

    mul(float3, float3x2)

    Returns the float2 row vector result of a matrix multiplication between a float3 row vector and a float3x2 matrix.

    Declaration
    public static float2 mul(float3 a, float3x2 b)
    Parameters
    Type Name Description
    float3 a

    Left hand side argument of the matrix multiply.

    float3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float3, float3x3)

    Returns the float3 row vector result of a matrix multiplication between a float3 row vector and a float3x3 matrix.

    Declaration
    public static float3 mul(float3 a, float3x3 b)
    Parameters
    Type Name Description
    float3 a

    Left hand side argument of the matrix multiply.

    float3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float3, float3x4)

    Returns the float4 row vector result of a matrix multiplication between a float3 row vector and a float3x4 matrix.

    Declaration
    public static float4 mul(float3 a, float3x4 b)
    Parameters
    Type Name Description
    float3 a

    Left hand side argument of the matrix multiply.

    float3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float4, float4)

    Returns the float value result of a matrix multiplication between a float4 row vector and a float4 column vector.

    Declaration
    public static float mul(float4 a, float4 b)
    Parameters
    Type Name Description
    float4 a

    Left hand side argument of the matrix multiply.

    float4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float

    The computed matrix multiplication.

    mul(float4, float4x2)

    Returns the float2 row vector result of a matrix multiplication between a float4 row vector and a float4x2 matrix.

    Declaration
    public static float2 mul(float4 a, float4x2 b)
    Parameters
    Type Name Description
    float4 a

    Left hand side argument of the matrix multiply.

    float4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float4, float4x3)

    Returns the float3 row vector result of a matrix multiplication between a float4 row vector and a float4x3 matrix.

    Declaration
    public static float3 mul(float4 a, float4x3 b)
    Parameters
    Type Name Description
    float4 a

    Left hand side argument of the matrix multiply.

    float4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float4, float4x4)

    Returns the float4 row vector result of a matrix multiplication between a float4 row vector and a float4x4 matrix.

    Declaration
    public static float4 mul(float4 a, float4x4 b)
    Parameters
    Type Name Description
    float4 a

    Left hand side argument of the matrix multiply.

    float4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float2x2, float2)

    Returns the float2 column vector result of a matrix multiplication between a float2x2 matrix and a float2 column vector.

    Declaration
    public static float2 mul(float2x2 a, float2 b)
    Parameters
    Type Name Description
    float2x2 a

    Left hand side argument of the matrix multiply.

    float2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float2x2, float2x2)

    Returns the float2x2 matrix result of a matrix multiplication between a float2x2 matrix and a float2x2 matrix.

    Declaration
    public static float2x2 mul(float2x2 a, float2x2 b)
    Parameters
    Type Name Description
    float2x2 a

    Left hand side argument of the matrix multiply.

    float2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x2

    The computed matrix multiplication.

    mul(float2x2, float2x3)

    Returns the float2x3 matrix result of a matrix multiplication between a float2x2 matrix and a float2x3 matrix.

    Declaration
    public static float2x3 mul(float2x2 a, float2x3 b)
    Parameters
    Type Name Description
    float2x2 a

    Left hand side argument of the matrix multiply.

    float2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x3

    The computed matrix multiplication.

    mul(float2x2, float2x4)

    Returns the float2x4 matrix result of a matrix multiplication between a float2x2 matrix and a float2x4 matrix.

    Declaration
    public static float2x4 mul(float2x2 a, float2x4 b)
    Parameters
    Type Name Description
    float2x2 a

    Left hand side argument of the matrix multiply.

    float2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x4

    The computed matrix multiplication.

    mul(float2x3, float3)

    Returns the float2 column vector result of a matrix multiplication between a float2x3 matrix and a float3 column vector.

    Declaration
    public static float2 mul(float2x3 a, float3 b)
    Parameters
    Type Name Description
    float2x3 a

    Left hand side argument of the matrix multiply.

    float3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float2x3, float3x2)

    Returns the float2x2 matrix result of a matrix multiplication between a float2x3 matrix and a float3x2 matrix.

    Declaration
    public static float2x2 mul(float2x3 a, float3x2 b)
    Parameters
    Type Name Description
    float2x3 a

    Left hand side argument of the matrix multiply.

    float3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x2

    The computed matrix multiplication.

    mul(float2x3, float3x3)

    Returns the float2x3 matrix result of a matrix multiplication between a float2x3 matrix and a float3x3 matrix.

    Declaration
    public static float2x3 mul(float2x3 a, float3x3 b)
    Parameters
    Type Name Description
    float2x3 a

    Left hand side argument of the matrix multiply.

    float3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x3

    The computed matrix multiplication.

    mul(float2x3, float3x4)

    Returns the float2x4 matrix result of a matrix multiplication between a float2x3 matrix and a float3x4 matrix.

    Declaration
    public static float2x4 mul(float2x3 a, float3x4 b)
    Parameters
    Type Name Description
    float2x3 a

    Left hand side argument of the matrix multiply.

    float3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x4

    The computed matrix multiplication.

    mul(float2x4, float4)

    Returns the float2 column vector result of a matrix multiplication between a float2x4 matrix and a float4 column vector.

    Declaration
    public static float2 mul(float2x4 a, float4 b)
    Parameters
    Type Name Description
    float2x4 a

    Left hand side argument of the matrix multiply.

    float4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2

    The computed matrix multiplication.

    mul(float2x4, float4x2)

    Returns the float2x2 matrix result of a matrix multiplication between a float2x4 matrix and a float4x2 matrix.

    Declaration
    public static float2x2 mul(float2x4 a, float4x2 b)
    Parameters
    Type Name Description
    float2x4 a

    Left hand side argument of the matrix multiply.

    float4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x2

    The computed matrix multiplication.

    mul(float2x4, float4x3)

    Returns the float2x3 matrix result of a matrix multiplication between a float2x4 matrix and a float4x3 matrix.

    Declaration
    public static float2x3 mul(float2x4 a, float4x3 b)
    Parameters
    Type Name Description
    float2x4 a

    Left hand side argument of the matrix multiply.

    float4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x3

    The computed matrix multiplication.

    mul(float2x4, float4x4)

    Returns the float2x4 matrix result of a matrix multiplication between a float2x4 matrix and a float4x4 matrix.

    Declaration
    public static float2x4 mul(float2x4 a, float4x4 b)
    Parameters
    Type Name Description
    float2x4 a

    Left hand side argument of the matrix multiply.

    float4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float2x4

    The computed matrix multiplication.

    mul(float3x2, float2)

    Returns the float3 column vector result of a matrix multiplication between a float3x2 matrix and a float2 column vector.

    Declaration
    public static float3 mul(float3x2 a, float2 b)
    Parameters
    Type Name Description
    float3x2 a

    Left hand side argument of the matrix multiply.

    float2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float3x2, float2x2)

    Returns the float3x2 matrix result of a matrix multiplication between a float3x2 matrix and a float2x2 matrix.

    Declaration
    public static float3x2 mul(float3x2 a, float2x2 b)
    Parameters
    Type Name Description
    float3x2 a

    Left hand side argument of the matrix multiply.

    float2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x2

    The computed matrix multiplication.

    mul(float3x2, float2x3)

    Returns the float3x3 matrix result of a matrix multiplication between a float3x2 matrix and a float2x3 matrix.

    Declaration
    public static float3x3 mul(float3x2 a, float2x3 b)
    Parameters
    Type Name Description
    float3x2 a

    Left hand side argument of the matrix multiply.

    float2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x3

    The computed matrix multiplication.

    mul(float3x2, float2x4)

    Returns the float3x4 matrix result of a matrix multiplication between a float3x2 matrix and a float2x4 matrix.

    Declaration
    public static float3x4 mul(float3x2 a, float2x4 b)
    Parameters
    Type Name Description
    float3x2 a

    Left hand side argument of the matrix multiply.

    float2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x4

    The computed matrix multiplication.

    mul(float3x3, float3)

    Returns the float3 column vector result of a matrix multiplication between a float3x3 matrix and a float3 column vector.

    Declaration
    public static float3 mul(float3x3 a, float3 b)
    Parameters
    Type Name Description
    float3x3 a

    Left hand side argument of the matrix multiply.

    float3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float3x3, float3x2)

    Returns the float3x2 matrix result of a matrix multiplication between a float3x3 matrix and a float3x2 matrix.

    Declaration
    public static float3x2 mul(float3x3 a, float3x2 b)
    Parameters
    Type Name Description
    float3x3 a

    Left hand side argument of the matrix multiply.

    float3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x2

    The computed matrix multiplication.

    mul(float3x3, float3x3)

    Returns the float3x3 matrix result of a matrix multiplication between a float3x3 matrix and a float3x3 matrix.

    Declaration
    public static float3x3 mul(float3x3 a, float3x3 b)
    Parameters
    Type Name Description
    float3x3 a

    Left hand side argument of the matrix multiply.

    float3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x3

    The computed matrix multiplication.

    mul(float3x3, float3x4)

    Returns the float3x4 matrix result of a matrix multiplication between a float3x3 matrix and a float3x4 matrix.

    Declaration
    public static float3x4 mul(float3x3 a, float3x4 b)
    Parameters
    Type Name Description
    float3x3 a

    Left hand side argument of the matrix multiply.

    float3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x4

    The computed matrix multiplication.

    mul(float3x4, float4)

    Returns the float3 column vector result of a matrix multiplication between a float3x4 matrix and a float4 column vector.

    Declaration
    public static float3 mul(float3x4 a, float4 b)
    Parameters
    Type Name Description
    float3x4 a

    Left hand side argument of the matrix multiply.

    float4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3

    The computed matrix multiplication.

    mul(float3x4, float4x2)

    Returns the float3x2 matrix result of a matrix multiplication between a float3x4 matrix and a float4x2 matrix.

    Declaration
    public static float3x2 mul(float3x4 a, float4x2 b)
    Parameters
    Type Name Description
    float3x4 a

    Left hand side argument of the matrix multiply.

    float4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x2

    The computed matrix multiplication.

    mul(float3x4, float4x3)

    Returns the float3x3 matrix result of a matrix multiplication between a float3x4 matrix and a float4x3 matrix.

    Declaration
    public static float3x3 mul(float3x4 a, float4x3 b)
    Parameters
    Type Name Description
    float3x4 a

    Left hand side argument of the matrix multiply.

    float4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x3

    The computed matrix multiplication.

    mul(float3x4, float4x4)

    Returns the float3x4 matrix result of a matrix multiplication between a float3x4 matrix and a float4x4 matrix.

    Declaration
    public static float3x4 mul(float3x4 a, float4x4 b)
    Parameters
    Type Name Description
    float3x4 a

    Left hand side argument of the matrix multiply.

    float4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float3x4

    The computed matrix multiplication.

    mul(float4x2, float2)

    Returns the float4 column vector result of a matrix multiplication between a float4x2 matrix and a float2 column vector.

    Declaration
    public static float4 mul(float4x2 a, float2 b)
    Parameters
    Type Name Description
    float4x2 a

    Left hand side argument of the matrix multiply.

    float2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float4x2, float2x2)

    Returns the float4x2 matrix result of a matrix multiplication between a float4x2 matrix and a float2x2 matrix.

    Declaration
    public static float4x2 mul(float4x2 a, float2x2 b)
    Parameters
    Type Name Description
    float4x2 a

    Left hand side argument of the matrix multiply.

    float2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x2

    The computed matrix multiplication.

    mul(float4x2, float2x3)

    Returns the float4x3 matrix result of a matrix multiplication between a float4x2 matrix and a float2x3 matrix.

    Declaration
    public static float4x3 mul(float4x2 a, float2x3 b)
    Parameters
    Type Name Description
    float4x2 a

    Left hand side argument of the matrix multiply.

    float2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x3

    The computed matrix multiplication.

    mul(float4x2, float2x4)

    Returns the float4x4 matrix result of a matrix multiplication between a float4x2 matrix and a float2x4 matrix.

    Declaration
    public static float4x4 mul(float4x2 a, float2x4 b)
    Parameters
    Type Name Description
    float4x2 a

    Left hand side argument of the matrix multiply.

    float2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x4

    The computed matrix multiplication.

    mul(float4x3, float3)

    Returns the float4 column vector result of a matrix multiplication between a float4x3 matrix and a float3 column vector.

    Declaration
    public static float4 mul(float4x3 a, float3 b)
    Parameters
    Type Name Description
    float4x3 a

    Left hand side argument of the matrix multiply.

    float3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float4x3, float3x2)

    Returns the float4x2 matrix result of a matrix multiplication between a float4x3 matrix and a float3x2 matrix.

    Declaration
    public static float4x2 mul(float4x3 a, float3x2 b)
    Parameters
    Type Name Description
    float4x3 a

    Left hand side argument of the matrix multiply.

    float3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x2

    The computed matrix multiplication.

    mul(float4x3, float3x3)

    Returns the float4x3 matrix result of a matrix multiplication between a float4x3 matrix and a float3x3 matrix.

    Declaration
    public static float4x3 mul(float4x3 a, float3x3 b)
    Parameters
    Type Name Description
    float4x3 a

    Left hand side argument of the matrix multiply.

    float3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x3

    The computed matrix multiplication.

    mul(float4x3, float3x4)

    Returns the float4x4 matrix result of a matrix multiplication between a float4x3 matrix and a float3x4 matrix.

    Declaration
    public static float4x4 mul(float4x3 a, float3x4 b)
    Parameters
    Type Name Description
    float4x3 a

    Left hand side argument of the matrix multiply.

    float3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x4

    The computed matrix multiplication.

    mul(float4x4, float4)

    Returns the float4 column vector result of a matrix multiplication between a float4x4 matrix and a float4 column vector.

    Declaration
    public static float4 mul(float4x4 a, float4 b)
    Parameters
    Type Name Description
    float4x4 a

    Left hand side argument of the matrix multiply.

    float4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4

    The computed matrix multiplication.

    mul(float4x4, float4x2)

    Returns the float4x2 matrix result of a matrix multiplication between a float4x4 matrix and a float4x2 matrix.

    Declaration
    public static float4x2 mul(float4x4 a, float4x2 b)
    Parameters
    Type Name Description
    float4x4 a

    Left hand side argument of the matrix multiply.

    float4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x2

    The computed matrix multiplication.

    mul(float4x4, float4x3)

    Returns the float4x3 matrix result of a matrix multiplication between a float4x4 matrix and a float4x3 matrix.

    Declaration
    public static float4x3 mul(float4x4 a, float4x3 b)
    Parameters
    Type Name Description
    float4x4 a

    Left hand side argument of the matrix multiply.

    float4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x3

    The computed matrix multiplication.

    mul(float4x4, float4x4)

    Returns the float4x4 matrix result of a matrix multiplication between a float4x4 matrix and a float4x4 matrix.

    Declaration
    public static float4x4 mul(float4x4 a, float4x4 b)
    Parameters
    Type Name Description
    float4x4 a

    Left hand side argument of the matrix multiply.

    float4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    float4x4

    The computed matrix multiplication.

    mul(double, double)

    Returns the double value result of a matrix multiplication between a double value and a double value.

    Declaration
    public static double mul(double a, double b)
    Parameters
    Type Name Description
    double a

    Left hand side argument of the matrix multiply.

    double b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double

    The computed matrix multiplication.

    mul(double2, double2)

    Returns the double value result of a matrix multiplication between a double2 row vector and a double2 column vector.

    Declaration
    public static double mul(double2 a, double2 b)
    Parameters
    Type Name Description
    double2 a

    Left hand side argument of the matrix multiply.

    double2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double

    The computed matrix multiplication.

    mul(double2, double2x2)

    Returns the double2 row vector result of a matrix multiplication between a double2 row vector and a double2x2 matrix.

    Declaration
    public static double2 mul(double2 a, double2x2 b)
    Parameters
    Type Name Description
    double2 a

    Left hand side argument of the matrix multiply.

    double2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double2, double2x3)

    Returns the double3 row vector result of a matrix multiplication between a double2 row vector and a double2x3 matrix.

    Declaration
    public static double3 mul(double2 a, double2x3 b)
    Parameters
    Type Name Description
    double2 a

    Left hand side argument of the matrix multiply.

    double2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double2, double2x4)

    Returns the double4 row vector result of a matrix multiplication between a double2 row vector and a double2x4 matrix.

    Declaration
    public static double4 mul(double2 a, double2x4 b)
    Parameters
    Type Name Description
    double2 a

    Left hand side argument of the matrix multiply.

    double2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double3, double3)

    Returns the double value result of a matrix multiplication between a double3 row vector and a double3 column vector.

    Declaration
    public static double mul(double3 a, double3 b)
    Parameters
    Type Name Description
    double3 a

    Left hand side argument of the matrix multiply.

    double3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double

    The computed matrix multiplication.

    mul(double3, double3x2)

    Returns the double2 row vector result of a matrix multiplication between a double3 row vector and a double3x2 matrix.

    Declaration
    public static double2 mul(double3 a, double3x2 b)
    Parameters
    Type Name Description
    double3 a

    Left hand side argument of the matrix multiply.

    double3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double3, double3x3)

    Returns the double3 row vector result of a matrix multiplication between a double3 row vector and a double3x3 matrix.

    Declaration
    public static double3 mul(double3 a, double3x3 b)
    Parameters
    Type Name Description
    double3 a

    Left hand side argument of the matrix multiply.

    double3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double3, double3x4)

    Returns the double4 row vector result of a matrix multiplication between a double3 row vector and a double3x4 matrix.

    Declaration
    public static double4 mul(double3 a, double3x4 b)
    Parameters
    Type Name Description
    double3 a

    Left hand side argument of the matrix multiply.

    double3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double4, double4)

    Returns the double value result of a matrix multiplication between a double4 row vector and a double4 column vector.

    Declaration
    public static double mul(double4 a, double4 b)
    Parameters
    Type Name Description
    double4 a

    Left hand side argument of the matrix multiply.

    double4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double

    The computed matrix multiplication.

    mul(double4, double4x2)

    Returns the double2 row vector result of a matrix multiplication between a double4 row vector and a double4x2 matrix.

    Declaration
    public static double2 mul(double4 a, double4x2 b)
    Parameters
    Type Name Description
    double4 a

    Left hand side argument of the matrix multiply.

    double4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double4, double4x3)

    Returns the double3 row vector result of a matrix multiplication between a double4 row vector and a double4x3 matrix.

    Declaration
    public static double3 mul(double4 a, double4x3 b)
    Parameters
    Type Name Description
    double4 a

    Left hand side argument of the matrix multiply.

    double4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double4, double4x4)

    Returns the double4 row vector result of a matrix multiplication between a double4 row vector and a double4x4 matrix.

    Declaration
    public static double4 mul(double4 a, double4x4 b)
    Parameters
    Type Name Description
    double4 a

    Left hand side argument of the matrix multiply.

    double4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double2x2, double2)

    Returns the double2 column vector result of a matrix multiplication between a double2x2 matrix and a double2 column vector.

    Declaration
    public static double2 mul(double2x2 a, double2 b)
    Parameters
    Type Name Description
    double2x2 a

    Left hand side argument of the matrix multiply.

    double2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double2x2, double2x2)

    Returns the double2x2 matrix result of a matrix multiplication between a double2x2 matrix and a double2x2 matrix.

    Declaration
    public static double2x2 mul(double2x2 a, double2x2 b)
    Parameters
    Type Name Description
    double2x2 a

    Left hand side argument of the matrix multiply.

    double2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x2

    The computed matrix multiplication.

    mul(double2x2, double2x3)

    Returns the double2x3 matrix result of a matrix multiplication between a double2x2 matrix and a double2x3 matrix.

    Declaration
    public static double2x3 mul(double2x2 a, double2x3 b)
    Parameters
    Type Name Description
    double2x2 a

    Left hand side argument of the matrix multiply.

    double2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x3

    The computed matrix multiplication.

    mul(double2x2, double2x4)

    Returns the double2x4 matrix result of a matrix multiplication between a double2x2 matrix and a double2x4 matrix.

    Declaration
    public static double2x4 mul(double2x2 a, double2x4 b)
    Parameters
    Type Name Description
    double2x2 a

    Left hand side argument of the matrix multiply.

    double2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x4

    The computed matrix multiplication.

    mul(double2x3, double3)

    Returns the double2 column vector result of a matrix multiplication between a double2x3 matrix and a double3 column vector.

    Declaration
    public static double2 mul(double2x3 a, double3 b)
    Parameters
    Type Name Description
    double2x3 a

    Left hand side argument of the matrix multiply.

    double3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double2x3, double3x2)

    Returns the double2x2 matrix result of a matrix multiplication between a double2x3 matrix and a double3x2 matrix.

    Declaration
    public static double2x2 mul(double2x3 a, double3x2 b)
    Parameters
    Type Name Description
    double2x3 a

    Left hand side argument of the matrix multiply.

    double3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x2

    The computed matrix multiplication.

    mul(double2x3, double3x3)

    Returns the double2x3 matrix result of a matrix multiplication between a double2x3 matrix and a double3x3 matrix.

    Declaration
    public static double2x3 mul(double2x3 a, double3x3 b)
    Parameters
    Type Name Description
    double2x3 a

    Left hand side argument of the matrix multiply.

    double3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x3

    The computed matrix multiplication.

    mul(double2x3, double3x4)

    Returns the double2x4 matrix result of a matrix multiplication between a double2x3 matrix and a double3x4 matrix.

    Declaration
    public static double2x4 mul(double2x3 a, double3x4 b)
    Parameters
    Type Name Description
    double2x3 a

    Left hand side argument of the matrix multiply.

    double3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x4

    The computed matrix multiplication.

    mul(double2x4, double4)

    Returns the double2 column vector result of a matrix multiplication between a double2x4 matrix and a double4 column vector.

    Declaration
    public static double2 mul(double2x4 a, double4 b)
    Parameters
    Type Name Description
    double2x4 a

    Left hand side argument of the matrix multiply.

    double4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2

    The computed matrix multiplication.

    mul(double2x4, double4x2)

    Returns the double2x2 matrix result of a matrix multiplication between a double2x4 matrix and a double4x2 matrix.

    Declaration
    public static double2x2 mul(double2x4 a, double4x2 b)
    Parameters
    Type Name Description
    double2x4 a

    Left hand side argument of the matrix multiply.

    double4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x2

    The computed matrix multiplication.

    mul(double2x4, double4x3)

    Returns the double2x3 matrix result of a matrix multiplication between a double2x4 matrix and a double4x3 matrix.

    Declaration
    public static double2x3 mul(double2x4 a, double4x3 b)
    Parameters
    Type Name Description
    double2x4 a

    Left hand side argument of the matrix multiply.

    double4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x3

    The computed matrix multiplication.

    mul(double2x4, double4x4)

    Returns the double2x4 matrix result of a matrix multiplication between a double2x4 matrix and a double4x4 matrix.

    Declaration
    public static double2x4 mul(double2x4 a, double4x4 b)
    Parameters
    Type Name Description
    double2x4 a

    Left hand side argument of the matrix multiply.

    double4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double2x4

    The computed matrix multiplication.

    mul(double3x2, double2)

    Returns the double3 column vector result of a matrix multiplication between a double3x2 matrix and a double2 column vector.

    Declaration
    public static double3 mul(double3x2 a, double2 b)
    Parameters
    Type Name Description
    double3x2 a

    Left hand side argument of the matrix multiply.

    double2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double3x2, double2x2)

    Returns the double3x2 matrix result of a matrix multiplication between a double3x2 matrix and a double2x2 matrix.

    Declaration
    public static double3x2 mul(double3x2 a, double2x2 b)
    Parameters
    Type Name Description
    double3x2 a

    Left hand side argument of the matrix multiply.

    double2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x2

    The computed matrix multiplication.

    mul(double3x2, double2x3)

    Returns the double3x3 matrix result of a matrix multiplication between a double3x2 matrix and a double2x3 matrix.

    Declaration
    public static double3x3 mul(double3x2 a, double2x3 b)
    Parameters
    Type Name Description
    double3x2 a

    Left hand side argument of the matrix multiply.

    double2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x3

    The computed matrix multiplication.

    mul(double3x2, double2x4)

    Returns the double3x4 matrix result of a matrix multiplication between a double3x2 matrix and a double2x4 matrix.

    Declaration
    public static double3x4 mul(double3x2 a, double2x4 b)
    Parameters
    Type Name Description
    double3x2 a

    Left hand side argument of the matrix multiply.

    double2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x4

    The computed matrix multiplication.

    mul(double3x3, double3)

    Returns the double3 column vector result of a matrix multiplication between a double3x3 matrix and a double3 column vector.

    Declaration
    public static double3 mul(double3x3 a, double3 b)
    Parameters
    Type Name Description
    double3x3 a

    Left hand side argument of the matrix multiply.

    double3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double3x3, double3x2)

    Returns the double3x2 matrix result of a matrix multiplication between a double3x3 matrix and a double3x2 matrix.

    Declaration
    public static double3x2 mul(double3x3 a, double3x2 b)
    Parameters
    Type Name Description
    double3x3 a

    Left hand side argument of the matrix multiply.

    double3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x2

    The computed matrix multiplication.

    mul(double3x3, double3x3)

    Returns the double3x3 matrix result of a matrix multiplication between a double3x3 matrix and a double3x3 matrix.

    Declaration
    public static double3x3 mul(double3x3 a, double3x3 b)
    Parameters
    Type Name Description
    double3x3 a

    Left hand side argument of the matrix multiply.

    double3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x3

    The computed matrix multiplication.

    mul(double3x3, double3x4)

    Returns the double3x4 matrix result of a matrix multiplication between a double3x3 matrix and a double3x4 matrix.

    Declaration
    public static double3x4 mul(double3x3 a, double3x4 b)
    Parameters
    Type Name Description
    double3x3 a

    Left hand side argument of the matrix multiply.

    double3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x4

    The computed matrix multiplication.

    mul(double3x4, double4)

    Returns the double3 column vector result of a matrix multiplication between a double3x4 matrix and a double4 column vector.

    Declaration
    public static double3 mul(double3x4 a, double4 b)
    Parameters
    Type Name Description
    double3x4 a

    Left hand side argument of the matrix multiply.

    double4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3

    The computed matrix multiplication.

    mul(double3x4, double4x2)

    Returns the double3x2 matrix result of a matrix multiplication between a double3x4 matrix and a double4x2 matrix.

    Declaration
    public static double3x2 mul(double3x4 a, double4x2 b)
    Parameters
    Type Name Description
    double3x4 a

    Left hand side argument of the matrix multiply.

    double4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x2

    The computed matrix multiplication.

    mul(double3x4, double4x3)

    Returns the double3x3 matrix result of a matrix multiplication between a double3x4 matrix and a double4x3 matrix.

    Declaration
    public static double3x3 mul(double3x4 a, double4x3 b)
    Parameters
    Type Name Description
    double3x4 a

    Left hand side argument of the matrix multiply.

    double4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x3

    The computed matrix multiplication.

    mul(double3x4, double4x4)

    Returns the double3x4 matrix result of a matrix multiplication between a double3x4 matrix and a double4x4 matrix.

    Declaration
    public static double3x4 mul(double3x4 a, double4x4 b)
    Parameters
    Type Name Description
    double3x4 a

    Left hand side argument of the matrix multiply.

    double4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double3x4

    The computed matrix multiplication.

    mul(double4x2, double2)

    Returns the double4 column vector result of a matrix multiplication between a double4x2 matrix and a double2 column vector.

    Declaration
    public static double4 mul(double4x2 a, double2 b)
    Parameters
    Type Name Description
    double4x2 a

    Left hand side argument of the matrix multiply.

    double2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double4x2, double2x2)

    Returns the double4x2 matrix result of a matrix multiplication between a double4x2 matrix and a double2x2 matrix.

    Declaration
    public static double4x2 mul(double4x2 a, double2x2 b)
    Parameters
    Type Name Description
    double4x2 a

    Left hand side argument of the matrix multiply.

    double2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x2

    The computed matrix multiplication.

    mul(double4x2, double2x3)

    Returns the double4x3 matrix result of a matrix multiplication between a double4x2 matrix and a double2x3 matrix.

    Declaration
    public static double4x3 mul(double4x2 a, double2x3 b)
    Parameters
    Type Name Description
    double4x2 a

    Left hand side argument of the matrix multiply.

    double2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x3

    The computed matrix multiplication.

    mul(double4x2, double2x4)

    Returns the double4x4 matrix result of a matrix multiplication between a double4x2 matrix and a double2x4 matrix.

    Declaration
    public static double4x4 mul(double4x2 a, double2x4 b)
    Parameters
    Type Name Description
    double4x2 a

    Left hand side argument of the matrix multiply.

    double2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x4

    The computed matrix multiplication.

    mul(double4x3, double3)

    Returns the double4 column vector result of a matrix multiplication between a double4x3 matrix and a double3 column vector.

    Declaration
    public static double4 mul(double4x3 a, double3 b)
    Parameters
    Type Name Description
    double4x3 a

    Left hand side argument of the matrix multiply.

    double3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double4x3, double3x2)

    Returns the double4x2 matrix result of a matrix multiplication between a double4x3 matrix and a double3x2 matrix.

    Declaration
    public static double4x2 mul(double4x3 a, double3x2 b)
    Parameters
    Type Name Description
    double4x3 a

    Left hand side argument of the matrix multiply.

    double3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x2

    The computed matrix multiplication.

    mul(double4x3, double3x3)

    Returns the double4x3 matrix result of a matrix multiplication between a double4x3 matrix and a double3x3 matrix.

    Declaration
    public static double4x3 mul(double4x3 a, double3x3 b)
    Parameters
    Type Name Description
    double4x3 a

    Left hand side argument of the matrix multiply.

    double3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x3

    The computed matrix multiplication.

    mul(double4x3, double3x4)

    Returns the double4x4 matrix result of a matrix multiplication between a double4x3 matrix and a double3x4 matrix.

    Declaration
    public static double4x4 mul(double4x3 a, double3x4 b)
    Parameters
    Type Name Description
    double4x3 a

    Left hand side argument of the matrix multiply.

    double3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x4

    The computed matrix multiplication.

    mul(double4x4, double4)

    Returns the double4 column vector result of a matrix multiplication between a double4x4 matrix and a double4 column vector.

    Declaration
    public static double4 mul(double4x4 a, double4 b)
    Parameters
    Type Name Description
    double4x4 a

    Left hand side argument of the matrix multiply.

    double4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4

    The computed matrix multiplication.

    mul(double4x4, double4x2)

    Returns the double4x2 matrix result of a matrix multiplication between a double4x4 matrix and a double4x2 matrix.

    Declaration
    public static double4x2 mul(double4x4 a, double4x2 b)
    Parameters
    Type Name Description
    double4x4 a

    Left hand side argument of the matrix multiply.

    double4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x2

    The computed matrix multiplication.

    mul(double4x4, double4x3)

    Returns the double4x3 matrix result of a matrix multiplication between a double4x4 matrix and a double4x3 matrix.

    Declaration
    public static double4x3 mul(double4x4 a, double4x3 b)
    Parameters
    Type Name Description
    double4x4 a

    Left hand side argument of the matrix multiply.

    double4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x3

    The computed matrix multiplication.

    mul(double4x4, double4x4)

    Returns the double4x4 matrix result of a matrix multiplication between a double4x4 matrix and a double4x4 matrix.

    Declaration
    public static double4x4 mul(double4x4 a, double4x4 b)
    Parameters
    Type Name Description
    double4x4 a

    Left hand side argument of the matrix multiply.

    double4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    double4x4

    The computed matrix multiplication.

    mul(int, int)

    Returns the int value result of a matrix multiplication between an int value and an int value.

    Declaration
    public static int mul(int a, int b)
    Parameters
    Type Name Description
    int a

    Left hand side argument of the matrix multiply.

    int b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int

    The computed matrix multiplication.

    mul(int2, int2)

    Returns the int value result of a matrix multiplication between an int2 row vector and an int2 column vector.

    Declaration
    public static int mul(int2 a, int2 b)
    Parameters
    Type Name Description
    int2 a

    Left hand side argument of the matrix multiply.

    int2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int

    The computed matrix multiplication.

    mul(int2, int2x2)

    Returns the int2 row vector result of a matrix multiplication between an int2 row vector and an int2x2 matrix.

    Declaration
    public static int2 mul(int2 a, int2x2 b)
    Parameters
    Type Name Description
    int2 a

    Left hand side argument of the matrix multiply.

    int2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int2, int2x3)

    Returns the int3 row vector result of a matrix multiplication between an int2 row vector and an int2x3 matrix.

    Declaration
    public static int3 mul(int2 a, int2x3 b)
    Parameters
    Type Name Description
    int2 a

    Left hand side argument of the matrix multiply.

    int2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int2, int2x4)

    Returns the int4 row vector result of a matrix multiplication between an int2 row vector and an int2x4 matrix.

    Declaration
    public static int4 mul(int2 a, int2x4 b)
    Parameters
    Type Name Description
    int2 a

    Left hand side argument of the matrix multiply.

    int2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int3, int3)

    Returns the int value result of a matrix multiplication between an int3 row vector and an int3 column vector.

    Declaration
    public static int mul(int3 a, int3 b)
    Parameters
    Type Name Description
    int3 a

    Left hand side argument of the matrix multiply.

    int3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int

    The computed matrix multiplication.

    mul(int3, int3x2)

    Returns the int2 row vector result of a matrix multiplication between an int3 row vector and an int3x2 matrix.

    Declaration
    public static int2 mul(int3 a, int3x2 b)
    Parameters
    Type Name Description
    int3 a

    Left hand side argument of the matrix multiply.

    int3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int3, int3x3)

    Returns the int3 row vector result of a matrix multiplication between an int3 row vector and an int3x3 matrix.

    Declaration
    public static int3 mul(int3 a, int3x3 b)
    Parameters
    Type Name Description
    int3 a

    Left hand side argument of the matrix multiply.

    int3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int3, int3x4)

    Returns the int4 row vector result of a matrix multiplication between an int3 row vector and an int3x4 matrix.

    Declaration
    public static int4 mul(int3 a, int3x4 b)
    Parameters
    Type Name Description
    int3 a

    Left hand side argument of the matrix multiply.

    int3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int4, int4)

    Returns the int value result of a matrix multiplication between an int4 row vector and an int4 column vector.

    Declaration
    public static int mul(int4 a, int4 b)
    Parameters
    Type Name Description
    int4 a

    Left hand side argument of the matrix multiply.

    int4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int

    The computed matrix multiplication.

    mul(int4, int4x2)

    Returns the int2 row vector result of a matrix multiplication between an int4 row vector and an int4x2 matrix.

    Declaration
    public static int2 mul(int4 a, int4x2 b)
    Parameters
    Type Name Description
    int4 a

    Left hand side argument of the matrix multiply.

    int4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int4, int4x3)

    Returns the int3 row vector result of a matrix multiplication between an int4 row vector and an int4x3 matrix.

    Declaration
    public static int3 mul(int4 a, int4x3 b)
    Parameters
    Type Name Description
    int4 a

    Left hand side argument of the matrix multiply.

    int4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int4, int4x4)

    Returns the int4 row vector result of a matrix multiplication between an int4 row vector and an int4x4 matrix.

    Declaration
    public static int4 mul(int4 a, int4x4 b)
    Parameters
    Type Name Description
    int4 a

    Left hand side argument of the matrix multiply.

    int4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int2x2, int2)

    Returns the int2 column vector result of a matrix multiplication between an int2x2 matrix and an int2 column vector.

    Declaration
    public static int2 mul(int2x2 a, int2 b)
    Parameters
    Type Name Description
    int2x2 a

    Left hand side argument of the matrix multiply.

    int2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int2x2, int2x2)

    Returns the int2x2 matrix result of a matrix multiplication between an int2x2 matrix and an int2x2 matrix.

    Declaration
    public static int2x2 mul(int2x2 a, int2x2 b)
    Parameters
    Type Name Description
    int2x2 a

    Left hand side argument of the matrix multiply.

    int2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x2

    The computed matrix multiplication.

    mul(int2x2, int2x3)

    Returns the int2x3 matrix result of a matrix multiplication between an int2x2 matrix and an int2x3 matrix.

    Declaration
    public static int2x3 mul(int2x2 a, int2x3 b)
    Parameters
    Type Name Description
    int2x2 a

    Left hand side argument of the matrix multiply.

    int2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x3

    The computed matrix multiplication.

    mul(int2x2, int2x4)

    Returns the int2x4 matrix result of a matrix multiplication between an int2x2 matrix and an int2x4 matrix.

    Declaration
    public static int2x4 mul(int2x2 a, int2x4 b)
    Parameters
    Type Name Description
    int2x2 a

    Left hand side argument of the matrix multiply.

    int2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x4

    The computed matrix multiplication.

    mul(int2x3, int3)

    Returns the int2 column vector result of a matrix multiplication between an int2x3 matrix and an int3 column vector.

    Declaration
    public static int2 mul(int2x3 a, int3 b)
    Parameters
    Type Name Description
    int2x3 a

    Left hand side argument of the matrix multiply.

    int3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int2x3, int3x2)

    Returns the int2x2 matrix result of a matrix multiplication between an int2x3 matrix and an int3x2 matrix.

    Declaration
    public static int2x2 mul(int2x3 a, int3x2 b)
    Parameters
    Type Name Description
    int2x3 a

    Left hand side argument of the matrix multiply.

    int3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x2

    The computed matrix multiplication.

    mul(int2x3, int3x3)

    Returns the int2x3 matrix result of a matrix multiplication between an int2x3 matrix and an int3x3 matrix.

    Declaration
    public static int2x3 mul(int2x3 a, int3x3 b)
    Parameters
    Type Name Description
    int2x3 a

    Left hand side argument of the matrix multiply.

    int3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x3

    The computed matrix multiplication.

    mul(int2x3, int3x4)

    Returns the int2x4 matrix result of a matrix multiplication between an int2x3 matrix and an int3x4 matrix.

    Declaration
    public static int2x4 mul(int2x3 a, int3x4 b)
    Parameters
    Type Name Description
    int2x3 a

    Left hand side argument of the matrix multiply.

    int3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x4

    The computed matrix multiplication.

    mul(int2x4, int4)

    Returns the int2 column vector result of a matrix multiplication between an int2x4 matrix and an int4 column vector.

    Declaration
    public static int2 mul(int2x4 a, int4 b)
    Parameters
    Type Name Description
    int2x4 a

    Left hand side argument of the matrix multiply.

    int4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2

    The computed matrix multiplication.

    mul(int2x4, int4x2)

    Returns the int2x2 matrix result of a matrix multiplication between an int2x4 matrix and an int4x2 matrix.

    Declaration
    public static int2x2 mul(int2x4 a, int4x2 b)
    Parameters
    Type Name Description
    int2x4 a

    Left hand side argument of the matrix multiply.

    int4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x2

    The computed matrix multiplication.

    mul(int2x4, int4x3)

    Returns the int2x3 matrix result of a matrix multiplication between an int2x4 matrix and an int4x3 matrix.

    Declaration
    public static int2x3 mul(int2x4 a, int4x3 b)
    Parameters
    Type Name Description
    int2x4 a

    Left hand side argument of the matrix multiply.

    int4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x3

    The computed matrix multiplication.

    mul(int2x4, int4x4)

    Returns the int2x4 matrix result of a matrix multiplication between an int2x4 matrix and an int4x4 matrix.

    Declaration
    public static int2x4 mul(int2x4 a, int4x4 b)
    Parameters
    Type Name Description
    int2x4 a

    Left hand side argument of the matrix multiply.

    int4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int2x4

    The computed matrix multiplication.

    mul(int3x2, int2)

    Returns the int3 column vector result of a matrix multiplication between an int3x2 matrix and an int2 column vector.

    Declaration
    public static int3 mul(int3x2 a, int2 b)
    Parameters
    Type Name Description
    int3x2 a

    Left hand side argument of the matrix multiply.

    int2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int3x2, int2x2)

    Returns the int3x2 matrix result of a matrix multiplication between an int3x2 matrix and an int2x2 matrix.

    Declaration
    public static int3x2 mul(int3x2 a, int2x2 b)
    Parameters
    Type Name Description
    int3x2 a

    Left hand side argument of the matrix multiply.

    int2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x2

    The computed matrix multiplication.

    mul(int3x2, int2x3)

    Returns the int3x3 matrix result of a matrix multiplication between an int3x2 matrix and an int2x3 matrix.

    Declaration
    public static int3x3 mul(int3x2 a, int2x3 b)
    Parameters
    Type Name Description
    int3x2 a

    Left hand side argument of the matrix multiply.

    int2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x3

    The computed matrix multiplication.

    mul(int3x2, int2x4)

    Returns the int3x4 matrix result of a matrix multiplication between an int3x2 matrix and an int2x4 matrix.

    Declaration
    public static int3x4 mul(int3x2 a, int2x4 b)
    Parameters
    Type Name Description
    int3x2 a

    Left hand side argument of the matrix multiply.

    int2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x4

    The computed matrix multiplication.

    mul(int3x3, int3)

    Returns the int3 column vector result of a matrix multiplication between an int3x3 matrix and an int3 column vector.

    Declaration
    public static int3 mul(int3x3 a, int3 b)
    Parameters
    Type Name Description
    int3x3 a

    Left hand side argument of the matrix multiply.

    int3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int3x3, int3x2)

    Returns the int3x2 matrix result of a matrix multiplication between an int3x3 matrix and an int3x2 matrix.

    Declaration
    public static int3x2 mul(int3x3 a, int3x2 b)
    Parameters
    Type Name Description
    int3x3 a

    Left hand side argument of the matrix multiply.

    int3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x2

    The computed matrix multiplication.

    mul(int3x3, int3x3)

    Returns the int3x3 matrix result of a matrix multiplication between an int3x3 matrix and an int3x3 matrix.

    Declaration
    public static int3x3 mul(int3x3 a, int3x3 b)
    Parameters
    Type Name Description
    int3x3 a

    Left hand side argument of the matrix multiply.

    int3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x3

    The computed matrix multiplication.

    mul(int3x3, int3x4)

    Returns the int3x4 matrix result of a matrix multiplication between an int3x3 matrix and an int3x4 matrix.

    Declaration
    public static int3x4 mul(int3x3 a, int3x4 b)
    Parameters
    Type Name Description
    int3x3 a

    Left hand side argument of the matrix multiply.

    int3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x4

    The computed matrix multiplication.

    mul(int3x4, int4)

    Returns the int3 column vector result of a matrix multiplication between an int3x4 matrix and an int4 column vector.

    Declaration
    public static int3 mul(int3x4 a, int4 b)
    Parameters
    Type Name Description
    int3x4 a

    Left hand side argument of the matrix multiply.

    int4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3

    The computed matrix multiplication.

    mul(int3x4, int4x2)

    Returns the int3x2 matrix result of a matrix multiplication between an int3x4 matrix and an int4x2 matrix.

    Declaration
    public static int3x2 mul(int3x4 a, int4x2 b)
    Parameters
    Type Name Description
    int3x4 a

    Left hand side argument of the matrix multiply.

    int4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x2

    The computed matrix multiplication.

    mul(int3x4, int4x3)

    Returns the int3x3 matrix result of a matrix multiplication between an int3x4 matrix and an int4x3 matrix.

    Declaration
    public static int3x3 mul(int3x4 a, int4x3 b)
    Parameters
    Type Name Description
    int3x4 a

    Left hand side argument of the matrix multiply.

    int4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x3

    The computed matrix multiplication.

    mul(int3x4, int4x4)

    Returns the int3x4 matrix result of a matrix multiplication between an int3x4 matrix and an int4x4 matrix.

    Declaration
    public static int3x4 mul(int3x4 a, int4x4 b)
    Parameters
    Type Name Description
    int3x4 a

    Left hand side argument of the matrix multiply.

    int4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int3x4

    The computed matrix multiplication.

    mul(int4x2, int2)

    Returns the int4 column vector result of a matrix multiplication between an int4x2 matrix and an int2 column vector.

    Declaration
    public static int4 mul(int4x2 a, int2 b)
    Parameters
    Type Name Description
    int4x2 a

    Left hand side argument of the matrix multiply.

    int2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int4x2, int2x2)

    Returns the int4x2 matrix result of a matrix multiplication between an int4x2 matrix and an int2x2 matrix.

    Declaration
    public static int4x2 mul(int4x2 a, int2x2 b)
    Parameters
    Type Name Description
    int4x2 a

    Left hand side argument of the matrix multiply.

    int2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x2

    The computed matrix multiplication.

    mul(int4x2, int2x3)

    Returns the int4x3 matrix result of a matrix multiplication between an int4x2 matrix and an int2x3 matrix.

    Declaration
    public static int4x3 mul(int4x2 a, int2x3 b)
    Parameters
    Type Name Description
    int4x2 a

    Left hand side argument of the matrix multiply.

    int2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x3

    The computed matrix multiplication.

    mul(int4x2, int2x4)

    Returns the int4x4 matrix result of a matrix multiplication between an int4x2 matrix and an int2x4 matrix.

    Declaration
    public static int4x4 mul(int4x2 a, int2x4 b)
    Parameters
    Type Name Description
    int4x2 a

    Left hand side argument of the matrix multiply.

    int2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x4

    The computed matrix multiplication.

    mul(int4x3, int3)

    Returns the int4 column vector result of a matrix multiplication between an int4x3 matrix and an int3 column vector.

    Declaration
    public static int4 mul(int4x3 a, int3 b)
    Parameters
    Type Name Description
    int4x3 a

    Left hand side argument of the matrix multiply.

    int3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int4x3, int3x2)

    Returns the int4x2 matrix result of a matrix multiplication between an int4x3 matrix and an int3x2 matrix.

    Declaration
    public static int4x2 mul(int4x3 a, int3x2 b)
    Parameters
    Type Name Description
    int4x3 a

    Left hand side argument of the matrix multiply.

    int3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x2

    The computed matrix multiplication.

    mul(int4x3, int3x3)

    Returns the int4x3 matrix result of a matrix multiplication between an int4x3 matrix and an int3x3 matrix.

    Declaration
    public static int4x3 mul(int4x3 a, int3x3 b)
    Parameters
    Type Name Description
    int4x3 a

    Left hand side argument of the matrix multiply.

    int3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x3

    The computed matrix multiplication.

    mul(int4x3, int3x4)

    Returns the int4x4 matrix result of a matrix multiplication between an int4x3 matrix and an int3x4 matrix.

    Declaration
    public static int4x4 mul(int4x3 a, int3x4 b)
    Parameters
    Type Name Description
    int4x3 a

    Left hand side argument of the matrix multiply.

    int3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x4

    The computed matrix multiplication.

    mul(int4x4, int4)

    Returns the int4 column vector result of a matrix multiplication between an int4x4 matrix and an int4 column vector.

    Declaration
    public static int4 mul(int4x4 a, int4 b)
    Parameters
    Type Name Description
    int4x4 a

    Left hand side argument of the matrix multiply.

    int4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4

    The computed matrix multiplication.

    mul(int4x4, int4x2)

    Returns the int4x2 matrix result of a matrix multiplication between an int4x4 matrix and an int4x2 matrix.

    Declaration
    public static int4x2 mul(int4x4 a, int4x2 b)
    Parameters
    Type Name Description
    int4x4 a

    Left hand side argument of the matrix multiply.

    int4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x2

    The computed matrix multiplication.

    mul(int4x4, int4x3)

    Returns the int4x3 matrix result of a matrix multiplication between an int4x4 matrix and an int4x3 matrix.

    Declaration
    public static int4x3 mul(int4x4 a, int4x3 b)
    Parameters
    Type Name Description
    int4x4 a

    Left hand side argument of the matrix multiply.

    int4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x3

    The computed matrix multiplication.

    mul(int4x4, int4x4)

    Returns the int4x4 matrix result of a matrix multiplication between an int4x4 matrix and an int4x4 matrix.

    Declaration
    public static int4x4 mul(int4x4 a, int4x4 b)
    Parameters
    Type Name Description
    int4x4 a

    Left hand side argument of the matrix multiply.

    int4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    int4x4

    The computed matrix multiplication.

    mul(uint, uint)

    Returns the uint value result of a matrix multiplication between a uint value and a uint value.

    Declaration
    public static uint mul(uint a, uint b)
    Parameters
    Type Name Description
    uint a

    Left hand side argument of the matrix multiply.

    uint b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint

    The computed matrix multiplication.

    mul(uint2, uint2)

    Returns the uint value result of a matrix multiplication between a uint2 row vector and a uint2 column vector.

    Declaration
    public static uint mul(uint2 a, uint2 b)
    Parameters
    Type Name Description
    uint2 a

    Left hand side argument of the matrix multiply.

    uint2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint

    The computed matrix multiplication.

    mul(uint2, uint2x2)

    Returns the uint2 row vector result of a matrix multiplication between a uint2 row vector and a uint2x2 matrix.

    Declaration
    public static uint2 mul(uint2 a, uint2x2 b)
    Parameters
    Type Name Description
    uint2 a

    Left hand side argument of the matrix multiply.

    uint2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint2, uint2x3)

    Returns the uint3 row vector result of a matrix multiplication between a uint2 row vector and a uint2x3 matrix.

    Declaration
    public static uint3 mul(uint2 a, uint2x3 b)
    Parameters
    Type Name Description
    uint2 a

    Left hand side argument of the matrix multiply.

    uint2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint2, uint2x4)

    Returns the uint4 row vector result of a matrix multiplication between a uint2 row vector and a uint2x4 matrix.

    Declaration
    public static uint4 mul(uint2 a, uint2x4 b)
    Parameters
    Type Name Description
    uint2 a

    Left hand side argument of the matrix multiply.

    uint2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint3, uint3)

    Returns the uint value result of a matrix multiplication between a uint3 row vector and a uint3 column vector.

    Declaration
    public static uint mul(uint3 a, uint3 b)
    Parameters
    Type Name Description
    uint3 a

    Left hand side argument of the matrix multiply.

    uint3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint

    The computed matrix multiplication.

    mul(uint3, uint3x2)

    Returns the uint2 row vector result of a matrix multiplication between a uint3 row vector and a uint3x2 matrix.

    Declaration
    public static uint2 mul(uint3 a, uint3x2 b)
    Parameters
    Type Name Description
    uint3 a

    Left hand side argument of the matrix multiply.

    uint3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint3, uint3x3)

    Returns the uint3 row vector result of a matrix multiplication between a uint3 row vector and a uint3x3 matrix.

    Declaration
    public static uint3 mul(uint3 a, uint3x3 b)
    Parameters
    Type Name Description
    uint3 a

    Left hand side argument of the matrix multiply.

    uint3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint3, uint3x4)

    Returns the uint4 row vector result of a matrix multiplication between a uint3 row vector and a uint3x4 matrix.

    Declaration
    public static uint4 mul(uint3 a, uint3x4 b)
    Parameters
    Type Name Description
    uint3 a

    Left hand side argument of the matrix multiply.

    uint3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint4, uint4)

    Returns the uint value result of a matrix multiplication between a uint4 row vector and a uint4 column vector.

    Declaration
    public static uint mul(uint4 a, uint4 b)
    Parameters
    Type Name Description
    uint4 a

    Left hand side argument of the matrix multiply.

    uint4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint

    The computed matrix multiplication.

    mul(uint4, uint4x2)

    Returns the uint2 row vector result of a matrix multiplication between a uint4 row vector and a uint4x2 matrix.

    Declaration
    public static uint2 mul(uint4 a, uint4x2 b)
    Parameters
    Type Name Description
    uint4 a

    Left hand side argument of the matrix multiply.

    uint4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint4, uint4x3)

    Returns the uint3 row vector result of a matrix multiplication between a uint4 row vector and a uint4x3 matrix.

    Declaration
    public static uint3 mul(uint4 a, uint4x3 b)
    Parameters
    Type Name Description
    uint4 a

    Left hand side argument of the matrix multiply.

    uint4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint4, uint4x4)

    Returns the uint4 row vector result of a matrix multiplication between a uint4 row vector and a uint4x4 matrix.

    Declaration
    public static uint4 mul(uint4 a, uint4x4 b)
    Parameters
    Type Name Description
    uint4 a

    Left hand side argument of the matrix multiply.

    uint4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint2x2, uint2)

    Returns the uint2 column vector result of a matrix multiplication between a uint2x2 matrix and a uint2 column vector.

    Declaration
    public static uint2 mul(uint2x2 a, uint2 b)
    Parameters
    Type Name Description
    uint2x2 a

    Left hand side argument of the matrix multiply.

    uint2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint2x2, uint2x2)

    Returns the uint2x2 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x2 matrix.

    Declaration
    public static uint2x2 mul(uint2x2 a, uint2x2 b)
    Parameters
    Type Name Description
    uint2x2 a

    Left hand side argument of the matrix multiply.

    uint2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x2

    The computed matrix multiplication.

    mul(uint2x2, uint2x3)

    Returns the uint2x3 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x3 matrix.

    Declaration
    public static uint2x3 mul(uint2x2 a, uint2x3 b)
    Parameters
    Type Name Description
    uint2x2 a

    Left hand side argument of the matrix multiply.

    uint2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x3

    The computed matrix multiplication.

    mul(uint2x2, uint2x4)

    Returns the uint2x4 matrix result of a matrix multiplication between a uint2x2 matrix and a uint2x4 matrix.

    Declaration
    public static uint2x4 mul(uint2x2 a, uint2x4 b)
    Parameters
    Type Name Description
    uint2x2 a

    Left hand side argument of the matrix multiply.

    uint2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x4

    The computed matrix multiplication.

    mul(uint2x3, uint3)

    Returns the uint2 column vector result of a matrix multiplication between a uint2x3 matrix and a uint3 column vector.

    Declaration
    public static uint2 mul(uint2x3 a, uint3 b)
    Parameters
    Type Name Description
    uint2x3 a

    Left hand side argument of the matrix multiply.

    uint3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint2x3, uint3x2)

    Returns the uint2x2 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x2 matrix.

    Declaration
    public static uint2x2 mul(uint2x3 a, uint3x2 b)
    Parameters
    Type Name Description
    uint2x3 a

    Left hand side argument of the matrix multiply.

    uint3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x2

    The computed matrix multiplication.

    mul(uint2x3, uint3x3)

    Returns the uint2x3 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x3 matrix.

    Declaration
    public static uint2x3 mul(uint2x3 a, uint3x3 b)
    Parameters
    Type Name Description
    uint2x3 a

    Left hand side argument of the matrix multiply.

    uint3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x3

    The computed matrix multiplication.

    mul(uint2x3, uint3x4)

    Returns the uint2x4 matrix result of a matrix multiplication between a uint2x3 matrix and a uint3x4 matrix.

    Declaration
    public static uint2x4 mul(uint2x3 a, uint3x4 b)
    Parameters
    Type Name Description
    uint2x3 a

    Left hand side argument of the matrix multiply.

    uint3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x4

    The computed matrix multiplication.

    mul(uint2x4, uint4)

    Returns the uint2 column vector result of a matrix multiplication between a uint2x4 matrix and a uint4 column vector.

    Declaration
    public static uint2 mul(uint2x4 a, uint4 b)
    Parameters
    Type Name Description
    uint2x4 a

    Left hand side argument of the matrix multiply.

    uint4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2

    The computed matrix multiplication.

    mul(uint2x4, uint4x2)

    Returns the uint2x2 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x2 matrix.

    Declaration
    public static uint2x2 mul(uint2x4 a, uint4x2 b)
    Parameters
    Type Name Description
    uint2x4 a

    Left hand side argument of the matrix multiply.

    uint4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x2

    The computed matrix multiplication.

    mul(uint2x4, uint4x3)

    Returns the uint2x3 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x3 matrix.

    Declaration
    public static uint2x3 mul(uint2x4 a, uint4x3 b)
    Parameters
    Type Name Description
    uint2x4 a

    Left hand side argument of the matrix multiply.

    uint4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x3

    The computed matrix multiplication.

    mul(uint2x4, uint4x4)

    Returns the uint2x4 matrix result of a matrix multiplication between a uint2x4 matrix and a uint4x4 matrix.

    Declaration
    public static uint2x4 mul(uint2x4 a, uint4x4 b)
    Parameters
    Type Name Description
    uint2x4 a

    Left hand side argument of the matrix multiply.

    uint4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint2x4

    The computed matrix multiplication.

    mul(uint3x2, uint2)

    Returns the uint3 column vector result of a matrix multiplication between a uint3x2 matrix and a uint2 column vector.

    Declaration
    public static uint3 mul(uint3x2 a, uint2 b)
    Parameters
    Type Name Description
    uint3x2 a

    Left hand side argument of the matrix multiply.

    uint2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint3x2, uint2x2)

    Returns the uint3x2 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x2 matrix.

    Declaration
    public static uint3x2 mul(uint3x2 a, uint2x2 b)
    Parameters
    Type Name Description
    uint3x2 a

    Left hand side argument of the matrix multiply.

    uint2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x2

    The computed matrix multiplication.

    mul(uint3x2, uint2x3)

    Returns the uint3x3 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x3 matrix.

    Declaration
    public static uint3x3 mul(uint3x2 a, uint2x3 b)
    Parameters
    Type Name Description
    uint3x2 a

    Left hand side argument of the matrix multiply.

    uint2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x3

    The computed matrix multiplication.

    mul(uint3x2, uint2x4)

    Returns the uint3x4 matrix result of a matrix multiplication between a uint3x2 matrix and a uint2x4 matrix.

    Declaration
    public static uint3x4 mul(uint3x2 a, uint2x4 b)
    Parameters
    Type Name Description
    uint3x2 a

    Left hand side argument of the matrix multiply.

    uint2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x4

    The computed matrix multiplication.

    mul(uint3x3, uint3)

    Returns the uint3 column vector result of a matrix multiplication between a uint3x3 matrix and a uint3 column vector.

    Declaration
    public static uint3 mul(uint3x3 a, uint3 b)
    Parameters
    Type Name Description
    uint3x3 a

    Left hand side argument of the matrix multiply.

    uint3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint3x3, uint3x2)

    Returns the uint3x2 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x2 matrix.

    Declaration
    public static uint3x2 mul(uint3x3 a, uint3x2 b)
    Parameters
    Type Name Description
    uint3x3 a

    Left hand side argument of the matrix multiply.

    uint3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x2

    The computed matrix multiplication.

    mul(uint3x3, uint3x3)

    Returns the uint3x3 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x3 matrix.

    Declaration
    public static uint3x3 mul(uint3x3 a, uint3x3 b)
    Parameters
    Type Name Description
    uint3x3 a

    Left hand side argument of the matrix multiply.

    uint3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x3

    The computed matrix multiplication.

    mul(uint3x3, uint3x4)

    Returns the uint3x4 matrix result of a matrix multiplication between a uint3x3 matrix and a uint3x4 matrix.

    Declaration
    public static uint3x4 mul(uint3x3 a, uint3x4 b)
    Parameters
    Type Name Description
    uint3x3 a

    Left hand side argument of the matrix multiply.

    uint3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x4

    The computed matrix multiplication.

    mul(uint3x4, uint4)

    Returns the uint3 column vector result of a matrix multiplication between a uint3x4 matrix and a uint4 column vector.

    Declaration
    public static uint3 mul(uint3x4 a, uint4 b)
    Parameters
    Type Name Description
    uint3x4 a

    Left hand side argument of the matrix multiply.

    uint4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3

    The computed matrix multiplication.

    mul(uint3x4, uint4x2)

    Returns the uint3x2 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x2 matrix.

    Declaration
    public static uint3x2 mul(uint3x4 a, uint4x2 b)
    Parameters
    Type Name Description
    uint3x4 a

    Left hand side argument of the matrix multiply.

    uint4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x2

    The computed matrix multiplication.

    mul(uint3x4, uint4x3)

    Returns the uint3x3 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x3 matrix.

    Declaration
    public static uint3x3 mul(uint3x4 a, uint4x3 b)
    Parameters
    Type Name Description
    uint3x4 a

    Left hand side argument of the matrix multiply.

    uint4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x3

    The computed matrix multiplication.

    mul(uint3x4, uint4x4)

    Returns the uint3x4 matrix result of a matrix multiplication between a uint3x4 matrix and a uint4x4 matrix.

    Declaration
    public static uint3x4 mul(uint3x4 a, uint4x4 b)
    Parameters
    Type Name Description
    uint3x4 a

    Left hand side argument of the matrix multiply.

    uint4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint3x4

    The computed matrix multiplication.

    mul(uint4x2, uint2)

    Returns the uint4 column vector result of a matrix multiplication between a uint4x2 matrix and a uint2 column vector.

    Declaration
    public static uint4 mul(uint4x2 a, uint2 b)
    Parameters
    Type Name Description
    uint4x2 a

    Left hand side argument of the matrix multiply.

    uint2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint4x2, uint2x2)

    Returns the uint4x2 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x2 matrix.

    Declaration
    public static uint4x2 mul(uint4x2 a, uint2x2 b)
    Parameters
    Type Name Description
    uint4x2 a

    Left hand side argument of the matrix multiply.

    uint2x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x2

    The computed matrix multiplication.

    mul(uint4x2, uint2x3)

    Returns the uint4x3 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x3 matrix.

    Declaration
    public static uint4x3 mul(uint4x2 a, uint2x3 b)
    Parameters
    Type Name Description
    uint4x2 a

    Left hand side argument of the matrix multiply.

    uint2x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x3

    The computed matrix multiplication.

    mul(uint4x2, uint2x4)

    Returns the uint4x4 matrix result of a matrix multiplication between a uint4x2 matrix and a uint2x4 matrix.

    Declaration
    public static uint4x4 mul(uint4x2 a, uint2x4 b)
    Parameters
    Type Name Description
    uint4x2 a

    Left hand side argument of the matrix multiply.

    uint2x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x4

    The computed matrix multiplication.

    mul(uint4x3, uint3)

    Returns the uint4 column vector result of a matrix multiplication between a uint4x3 matrix and a uint3 column vector.

    Declaration
    public static uint4 mul(uint4x3 a, uint3 b)
    Parameters
    Type Name Description
    uint4x3 a

    Left hand side argument of the matrix multiply.

    uint3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint4x3, uint3x2)

    Returns the uint4x2 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x2 matrix.

    Declaration
    public static uint4x2 mul(uint4x3 a, uint3x2 b)
    Parameters
    Type Name Description
    uint4x3 a

    Left hand side argument of the matrix multiply.

    uint3x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x2

    The computed matrix multiplication.

    mul(uint4x3, uint3x3)

    Returns the uint4x3 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x3 matrix.

    Declaration
    public static uint4x3 mul(uint4x3 a, uint3x3 b)
    Parameters
    Type Name Description
    uint4x3 a

    Left hand side argument of the matrix multiply.

    uint3x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x3

    The computed matrix multiplication.

    mul(uint4x3, uint3x4)

    Returns the uint4x4 matrix result of a matrix multiplication between a uint4x3 matrix and a uint3x4 matrix.

    Declaration
    public static uint4x4 mul(uint4x3 a, uint3x4 b)
    Parameters
    Type Name Description
    uint4x3 a

    Left hand side argument of the matrix multiply.

    uint3x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x4

    The computed matrix multiplication.

    mul(uint4x4, uint4)

    Returns the uint4 column vector result of a matrix multiplication between a uint4x4 matrix and a uint4 column vector.

    Declaration
    public static uint4 mul(uint4x4 a, uint4 b)
    Parameters
    Type Name Description
    uint4x4 a

    Left hand side argument of the matrix multiply.

    uint4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4

    The computed matrix multiplication.

    mul(uint4x4, uint4x2)

    Returns the uint4x2 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x2 matrix.

    Declaration
    public static uint4x2 mul(uint4x4 a, uint4x2 b)
    Parameters
    Type Name Description
    uint4x4 a

    Left hand side argument of the matrix multiply.

    uint4x2 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x2

    The computed matrix multiplication.

    mul(uint4x4, uint4x3)

    Returns the uint4x3 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x3 matrix.

    Declaration
    public static uint4x3 mul(uint4x4 a, uint4x3 b)
    Parameters
    Type Name Description
    uint4x4 a

    Left hand side argument of the matrix multiply.

    uint4x3 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x3

    The computed matrix multiplication.

    mul(uint4x4, uint4x4)

    Returns the uint4x4 matrix result of a matrix multiplication between a uint4x4 matrix and a uint4x4 matrix.

    Declaration
    public static uint4x4 mul(uint4x4 a, uint4x4 b)
    Parameters
    Type Name Description
    uint4x4 a

    Left hand side argument of the matrix multiply.

    uint4x4 b

    Right hand side argument of the matrix multiply.

    Returns
    Type Description
    uint4x4

    The computed matrix multiplication.

    mul(quaternion, quaternion)

    Returns the result of transforming the quaternion b by the quaternion a.

    Declaration
    public static quaternion mul(quaternion a, quaternion b)
    Parameters
    Type Name Description
    quaternion a

    The quaternion on the left.

    quaternion b

    The quaternion on the right.

    Returns
    Type Description
    quaternion

    The result of transforming quaternion b by the quaternion a.

    mul(quaternion, float3)

    Returns the result of transforming a vector by a quaternion.

    Declaration
    public static float3 mul(quaternion q, float3 v)
    Parameters
    Type Name Description
    quaternion q

    The quaternion transformation.

    float3 v

    The vector to transform.

    Returns
    Type Description
    float3

    The transformation of vector v by quaternion q.

    mul(RigidTransform, RigidTransform)

    Returns the result of transforming the RigidTransform b by the RigidTransform a.

    Declaration
    public static RigidTransform mul(RigidTransform a, RigidTransform b)
    Parameters
    Type Name Description
    RigidTransform a

    The RigidTransform on the left.

    RigidTransform b

    The RigidTransform on the right.

    Returns
    Type Description
    RigidTransform

    The RigidTransform of a transforming b.

    mul(RigidTransform, float4)

    Returns the result of transforming a float4 homogeneous coordinate by a RigidTransform.

    Declaration
    public static float4 mul(RigidTransform a, float4 pos)
    Parameters
    Type Name Description
    RigidTransform a

    The RigidTransform.

    float4 pos

    The position to be transformed.

    Returns
    Type Description
    float4

    The transformed position.


    Did you find this page useful? Please give it a rating:

    Thanks for rating this page!

    Report a problem on this page

    What kind of problem would you like to report?

    • This page needs code samples
    • Code samples do not work
    • Information is missing
    • Information is incorrect
    • Information is unclear or confusing
    • There is a spelling/grammar error on this page
    • Something else

    Thanks for letting us know! This page has been marked for review based on your feedback.

    If you have time, you can provide more information to help us fix the problem faster.

    Provide more information

    You've told us this page needs code samples. If you'd like to help us further, you could provide a code sample, or tell us about what kind of code sample you'd like to see:

    You've told us there are code samples on this page which don't work. If you know how to fix it, or have something better we could use instead, please let us know:

    You've told us there is information missing from this page. Please tell us more about what's missing:

    You've told us there is incorrect information on this page. If you know what we should change to make it correct, please tell us:

    You've told us this page has unclear or confusing information. Please tell us more about what you found unclear or confusing, or let us know how we could make it clearer:

    You've told us there is a spelling or grammar error on this page. Please tell us what's wrong:

    You've told us this page has a problem. Please tell us more about what's wrong:

    Thank you for helping to make the Unity documentation better!

    Your feedback has been submitted as a ticket for our documentation team to review.

    We are not able to reply to every ticket submitted.

    In This Article
    • mul(float, float)
    • mul(float2, float2)
    • mul(float2, float2x2)
    • mul(float2, float2x3)
    • mul(float2, float2x4)
    • mul(float3, float3)
    • mul(float3, float3x2)
    • mul(float3, float3x3)
    • mul(float3, float3x4)
    • mul(float4, float4)
    • mul(float4, float4x2)
    • mul(float4, float4x3)
    • mul(float4, float4x4)
    • mul(float2x2, float2)
    • mul(float2x2, float2x2)
    • mul(float2x2, float2x3)
    • mul(float2x2, float2x4)
    • mul(float2x3, float3)
    • mul(float2x3, float3x2)
    • mul(float2x3, float3x3)
    • mul(float2x3, float3x4)
    • mul(float2x4, float4)
    • mul(float2x4, float4x2)
    • mul(float2x4, float4x3)
    • mul(float2x4, float4x4)
    • mul(float3x2, float2)
    • mul(float3x2, float2x2)
    • mul(float3x2, float2x3)
    • mul(float3x2, float2x4)
    • mul(float3x3, float3)
    • mul(float3x3, float3x2)
    • mul(float3x3, float3x3)
    • mul(float3x3, float3x4)
    • mul(float3x4, float4)
    • mul(float3x4, float4x2)
    • mul(float3x4, float4x3)
    • mul(float3x4, float4x4)
    • mul(float4x2, float2)
    • mul(float4x2, float2x2)
    • mul(float4x2, float2x3)
    • mul(float4x2, float2x4)
    • mul(float4x3, float3)
    • mul(float4x3, float3x2)
    • mul(float4x3, float3x3)
    • mul(float4x3, float3x4)
    • mul(float4x4, float4)
    • mul(float4x4, float4x2)
    • mul(float4x4, float4x3)
    • mul(float4x4, float4x4)
    • mul(double, double)
    • mul(double2, double2)
    • mul(double2, double2x2)
    • mul(double2, double2x3)
    • mul(double2, double2x4)
    • mul(double3, double3)
    • mul(double3, double3x2)
    • mul(double3, double3x3)
    • mul(double3, double3x4)
    • mul(double4, double4)
    • mul(double4, double4x2)
    • mul(double4, double4x3)
    • mul(double4, double4x4)
    • mul(double2x2, double2)
    • mul(double2x2, double2x2)
    • mul(double2x2, double2x3)
    • mul(double2x2, double2x4)
    • mul(double2x3, double3)
    • mul(double2x3, double3x2)
    • mul(double2x3, double3x3)
    • mul(double2x3, double3x4)
    • mul(double2x4, double4)
    • mul(double2x4, double4x2)
    • mul(double2x4, double4x3)
    • mul(double2x4, double4x4)
    • mul(double3x2, double2)
    • mul(double3x2, double2x2)
    • mul(double3x2, double2x3)
    • mul(double3x2, double2x4)
    • mul(double3x3, double3)
    • mul(double3x3, double3x2)
    • mul(double3x3, double3x3)
    • mul(double3x3, double3x4)
    • mul(double3x4, double4)
    • mul(double3x4, double4x2)
    • mul(double3x4, double4x3)
    • mul(double3x4, double4x4)
    • mul(double4x2, double2)
    • mul(double4x2, double2x2)
    • mul(double4x2, double2x3)
    • mul(double4x2, double2x4)
    • mul(double4x3, double3)
    • mul(double4x3, double3x2)
    • mul(double4x3, double3x3)
    • mul(double4x3, double3x4)
    • mul(double4x4, double4)
    • mul(double4x4, double4x2)
    • mul(double4x4, double4x3)
    • mul(double4x4, double4x4)
    • mul(int, int)
    • mul(int2, int2)
    • mul(int2, int2x2)
    • mul(int2, int2x3)
    • mul(int2, int2x4)
    • mul(int3, int3)
    • mul(int3, int3x2)
    • mul(int3, int3x3)
    • mul(int3, int3x4)
    • mul(int4, int4)
    • mul(int4, int4x2)
    • mul(int4, int4x3)
    • mul(int4, int4x4)
    • mul(int2x2, int2)
    • mul(int2x2, int2x2)
    • mul(int2x2, int2x3)
    • mul(int2x2, int2x4)
    • mul(int2x3, int3)
    • mul(int2x3, int3x2)
    • mul(int2x3, int3x3)
    • mul(int2x3, int3x4)
    • mul(int2x4, int4)
    • mul(int2x4, int4x2)
    • mul(int2x4, int4x3)
    • mul(int2x4, int4x4)
    • mul(int3x2, int2)
    • mul(int3x2, int2x2)
    • mul(int3x2, int2x3)
    • mul(int3x2, int2x4)
    • mul(int3x3, int3)
    • mul(int3x3, int3x2)
    • mul(int3x3, int3x3)
    • mul(int3x3, int3x4)
    • mul(int3x4, int4)
    • mul(int3x4, int4x2)
    • mul(int3x4, int4x3)
    • mul(int3x4, int4x4)
    • mul(int4x2, int2)
    • mul(int4x2, int2x2)
    • mul(int4x2, int2x3)
    • mul(int4x2, int2x4)
    • mul(int4x3, int3)
    • mul(int4x3, int3x2)
    • mul(int4x3, int3x3)
    • mul(int4x3, int3x4)
    • mul(int4x4, int4)
    • mul(int4x4, int4x2)
    • mul(int4x4, int4x3)
    • mul(int4x4, int4x4)
    • mul(uint, uint)
    • mul(uint2, uint2)
    • mul(uint2, uint2x2)
    • mul(uint2, uint2x3)
    • mul(uint2, uint2x4)
    • mul(uint3, uint3)
    • mul(uint3, uint3x2)
    • mul(uint3, uint3x3)
    • mul(uint3, uint3x4)
    • mul(uint4, uint4)
    • mul(uint4, uint4x2)
    • mul(uint4, uint4x3)
    • mul(uint4, uint4x4)
    • mul(uint2x2, uint2)
    • mul(uint2x2, uint2x2)
    • mul(uint2x2, uint2x3)
    • mul(uint2x2, uint2x4)
    • mul(uint2x3, uint3)
    • mul(uint2x3, uint3x2)
    • mul(uint2x3, uint3x3)
    • mul(uint2x3, uint3x4)
    • mul(uint2x4, uint4)
    • mul(uint2x4, uint4x2)
    • mul(uint2x4, uint4x3)
    • mul(uint2x4, uint4x4)
    • mul(uint3x2, uint2)
    • mul(uint3x2, uint2x2)
    • mul(uint3x2, uint2x3)
    • mul(uint3x2, uint2x4)
    • mul(uint3x3, uint3)
    • mul(uint3x3, uint3x2)
    • mul(uint3x3, uint3x3)
    • mul(uint3x3, uint3x4)
    • mul(uint3x4, uint4)
    • mul(uint3x4, uint4x2)
    • mul(uint3x4, uint4x3)
    • mul(uint3x4, uint4x4)
    • mul(uint4x2, uint2)
    • mul(uint4x2, uint2x2)
    • mul(uint4x2, uint2x3)
    • mul(uint4x2, uint2x4)
    • mul(uint4x3, uint3)
    • mul(uint4x3, uint3x2)
    • mul(uint4x3, uint3x3)
    • mul(uint4x3, uint3x4)
    • mul(uint4x4, uint4)
    • mul(uint4x4, uint4x2)
    • mul(uint4x4, uint4x3)
    • mul(uint4x4, uint4x4)
    • mul(quaternion, quaternion)
    • mul(quaternion, float3)
    • mul(RigidTransform, RigidTransform)
    • mul(RigidTransform, float4)
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)