Calculates the normalization of a matrix with the element-wise L_(p, q) norm.

  • Parameters

    • matr: ChalkboardMatrix

      The matrix

    • Optionalp: number = 2

      The exponent of each element and the denominator of the exponent of the sum of the rows

    • Optionalq: number = 2

      The numerator of the exponent of the sum of the rows and the denominator of the exponent of the sum of the summed rows

    Returns ChalkboardMatrix