Chalkboard - v3.0.1
    Preparing search index...

    Function norm

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

      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 number