public void LinqError(NdArray <double> x, NdArray <double> y) { Assert.Throws <ShapeMismatchException>(() => NdLinAlg.Cross(x, y)); }
public void LinqSuccessful(NdArray <double> x, NdArray <double> y, NdArray <double> answer) { Assert.Equal(answer, NdLinAlg.Cross(x, y)); }