public void Test(NdArray <double> a, NdArray <double> inv) { Assert.Equal(inv, a.Inverse(), Comparer); }
public void RandomTest(NdArray <double> a) { Assert.Equal(NdLinAlg.Identity <double>(a.Shape[0]), a.DotLegacy(a.Inverse()), Comparer); }