Exemple #1
0
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Sigmoid(), new SparseSigmoid());
     SparseLinearTest.SparseTest(new Sigmoid(0, 0), new SparseSigmoid(0, 0));
     SparseLinearTest.SparseTest(new Sigmoid(0, 3.6), new SparseSigmoid(0, 3.6));
     SparseLinearTest.SparseTest(new Sigmoid(3.6, 0), new SparseSigmoid(3.6, 0));
 }
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Linear(), new SparseLinear());
     SparseLinearTest.SparseTest(new Linear(1), new SparseLinear(1));
 }
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Gaussian(), new SparseGaussian());
     SparseLinearTest.SparseTest(new Gaussian(0), new SparseGaussian(0));
     SparseLinearTest.SparseTest(new Gaussian(3.6), new SparseGaussian(3.6));
 }
Exemple #4
0
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Polynomial(1), new SparsePolynomial(1));
     SparseLinearTest.SparseTest(new Polynomial(0), new SparsePolynomial(0));
     SparseLinearTest.SparseTest(new Polynomial(3), new SparsePolynomial(3));
 }
Exemple #5
0
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Cauchy(0), new SparseCauchy(0));
     SparseLinearTest.SparseTest(new Cauchy(3.6), new SparseCauchy(3.6));
 }
Exemple #6
0
 public void FunctionTest2()
 {
     SparseLinearTest.SparseTest(new Laplacian(), new SparseLaplacian());
     SparseLinearTest.SparseTest(new Laplacian(0), new SparseLaplacian(0));
     SparseLinearTest.SparseTest(new Laplacian(3.6), new SparseLaplacian(3.6));
 }