Calculates the element-wise L_(p,q) norm squared of a matrix.
The matrix
Optional
The exponent of each element and the denominator of the exponent of the sum of the rows
The numerator of the exponent of the sum of the rows
const result = Chalkboard.matr.normsq([[3, 4]]); // Returns 25 Copy
const result = Chalkboard.matr.normsq([[3, 4]]); // Returns 25
Calculates the element-wise L_(p,q) norm squared of a matrix.