Search⌘ K
AI Features

Challenge: Vectors and Matrices

Practice and deepen your understanding of linear algebra by implementing vector p-norms and matrix Frobenius norms without relying on predefined functions. This lesson challenges you to apply fundamental concepts to vectors and matrices, strengthening your skills necessary for deep learning applications.

These coding challenges test our familiarity with vectors and matrices operations respectively.

Exercise 1 - Norm

The p-norm of a vector xx is defined as:

xp=x1p+x2p+x3p+...p|x|^p =\sqrt[p] {x_1^p+x_2^p+x_3^p+...} ...