3 ms·
Isn't this just going to be `lambda M: [[M[1][1],-M[0][1]], [-M[1][0], M[0][0]]]`? You guys are going to add a library just for that?
by pgcj_poster 7y ago
Isn't this just going to be `lambda M: [[M[1][1],-M[0][1]], [-M[1][0], M[0][0]]]`? You guys are going to add a library just for that?
- dimtion 7y agoI don't want to sound mean, but the simple fact that you forgot to divide by the matrix determinant for me is a great illustration of why using a library might be a good option. I think for most of us can make this mistake, and reasoning in higher order (i.e. using a function from a tested library) helps avoiding this kind of error.