<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def length(self):
 """Array of vector lengths"""

        return np.sqrt(np.sum(self**2, axis=1)).view(np.ndarray)