Chalkboard - v3.0.1
    Preparing search index...

    Function normsq

    • Calculates the element-wise L_(p,q) norm squared 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

      Returns number