• Finds the trace value, sum of the diagonal elements of the matrix.

    Parameters

    • mat: Readonly<{
          nums: Float64Array;
          strides: Strides;
      }>

      The matrix to find its trace.

    Returns number

    The trace of matrix.

Generated using TypeDoc