@lakuna/umath
    Preparing search index...

    Variable fromValuesConst

    fromValues: <T extends Matrix2Like>(
        c0r0: number,
        c0r1: number,
        c1r0: number,
        c1r1: number,
        out: T,
    ) => T = vector4FromValues

    Create a two-by-two matrix with the given values.

    Type Declaration

      • <T extends Matrix2Like>(
            c0r0: number,
            c0r1: number,
            c1r0: number,
            c1r1: number,
            out: T,
        ): T
      • Type Parameters

        Parameters

        • c0r0: number

          The value in the first column and first row.

        • c0r1: number

          The value in the first column and second row.

        • c1r0: number

          The value in the second column and first row.

        • c1r1: number

          The value in the second column and second row.

        • out: T

          The matrix to store the result in.

        Returns T

        The matrix.