You can calculate it from the Pythagorean theorem by taking the square root of the sum of the squared real part and the squared imaginary part:You would think that Python would let you calculate the length of such a vector with the built-in len(), but that’s not the case. To get ...
Requires square matrix m.diagonal; // returns 1D array of the matrix's diagonal if square matrix, empty array otherwise m.det; // returns the matrix's determining : det(M) m.toString(); // returns the 2D matrix as a string m.at(x, y); // returns the element at position (x,y...