matrix-p-norm-entrywise ( m p -- n )


Vocabulary
math.matrices

Inputs
ma matrix
pa positive real number


Outputs
na non-negative real number


Word description
Find the entry-wise norm of a matrix, in 𝑙ₚ (L^p) vector space.

Notes
This word is not an induced or Schatten norm, and it is distinct from all of matrix-l1-norm, matrix-l2-norm, matrix-l-infinity-norm.

Examples
USING: math.matrices prettyprint ; 4 4 1 <matrix> 2 matrix-p-norm-entrywise .
4.0


Definition