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