• Apply a row-wise function between two matrices with the same number of columns.

    Parameters

    • X: number[][]

      The first matrix.

    • Y: number[][]

      The second matrix.

    • func: VectorFunction

      The function to apply.

    Returns number[][]

    A matrix where each row represents the result of applying the function between the corresponding rows of X and Y.

    Throws

    If the number of columns in X and Y are not the same.

Generated using TypeDoc