• Creates an identity matrix with its size.

    Parameters

    • rows: number

      The count of rows.

    Returns ((columns) => Readonly<{
        nums: Float64Array;
        strides: Strides;
    }>)

    The identity matrix in rows rows and columns columns.

      • (columns): Readonly<{
            nums: Float64Array;
            strides: Strides;
        }>
      • Parameters

        • columns: number

        Returns Readonly<{
            nums: Float64Array;
            strides: Strides;
        }>

Generated using TypeDoc