Proxem.NumNet by Guillaume Wenzek, Jocelyn Coulmance, Thomas Perrais, Jean-Marc Marty

<PackageReference Include="Proxem.NumNet" Version="1.5.0" />

 AssertArray

public static class AssertArray
public static void AreAlmostEqual(Array<float> expected, Array<float> actual, float relativeErr = 1E-06, float absErr = 1E-06, bool allowBroadcasting = false)

public static void AreAlmostEqual(Array<double> expected, Array<double> actual, double relativeErr = 9.999999974752427E-07, double absErr = 9.999999974752427E-07, bool allowBroadcasting = false)

public static void AreAlmostEqual(float expected, float actual, float relativeErr = 1E-06, float absErr = 1E-06)

public static void AreEqual(int expected, int actual)

public static void AreEqual<T>(T[] expected, T[] actual)

public static void AreEqual<T>(IEnumerable<T> expected, IEnumerable<T> actual)

public static void AreEqual<T>(Array<T> expected, Array<T> actual, bool allowBroadcasting = false)

public static void AreNotEqual<T>(Array<T> expected, Array<T> actual, bool allowBroadcasting = false)

public static void AssertIsContiguous<T>(this Array<T> arr)

public static void AssertIsNotContiguous<T>(this Array<T> arr)

public static void AssertIsNotTransposed<T>(this Array<T> arr)

public static void AssertIsTransposed<T>(this Array<T> arr)

public static void AssertOfDim<T>(this Array<T> arr, int dim)

public static void AssertOfDimConvolution2dValid<T1, T2>(this Array<T1> arr, Array<T2> kernel)

public static void AssertOfShape<T>(this Array<T> arr, int[] shape)

public static void AssertOfShape<T>(this Array<T> arr, int dim)

public static void AssertOfShape<T>(this Array<T> arr, int dim1, int dim2)

public static void AssertOfShape<T>(this Array<T> arr, int dim1, int dim2, int dim3)

public static void AssertOfShape<T1, T2>(this Array<T1> arr, Array<T2> shape)

public static Exception BadRank(string message, object[] content)

public static bool CheckAreAlmostEqual(float expected, float actual, float relativeErr = 1E-06, float absErr = 1E-06)

public static bool CheckAreAlmostEqual(double expected, double actual, double relativeErr = 9.999999974752427E-07, double absErr = 9.999999974752427E-07)

public static Exception Failed(string message, object[] content)

public static string FormatShape(int[] shape)

public static IEnumerable<Array<T>> GenerateArrays<T>(Array<T> arr, Func<int[], Array<T>> factory)

public static void GenerateTests<T>(Array<T> vec, Action<Array<T>> test)

public static void GenerateTests<T>(Array<T> a, Func<int[], Array<T>> factory, Action<Array<T>> test)

public static void GenerateTests(Array<float> a, Array<float> b, Action<Array<float>, Array<float>> test)

public static void GenerateTests<T>(Array<T> a, Array<T> b, Func<int[], Array<T>> factory, Action<Array<T>, Array<T>> test)

public static void IsGreaterThan(double value, double lowerBound)

public static void IsLessThan(double value, double upperBound)

public static int TrySeveralTimes(int repeat, Action a, int allowedErrors = 0)

public static int TrySeveralTimes(int repeat, Action<int> a, int allowedErrors = 0)

public static void WithMessage(string message, Action a)

public static void WriteTheSame<T1, T2>(IEnumerable<T1> expected, IEnumerable<T2> actual)