Home
last modified time | relevance | path

Searched refs:expected_residual (Results 1 – 5 of 5) sorted by relevance

/dports/science/py-scipy/scipy-1.7.1/scipy/sparse/csgraph/tests/
H A Dtest_flow.py53 expected_residual = np.array([[0, 5], [-5, 0]])
54 assert_array_equal(res.residual.toarray(), expected_residual)
63 expected_residual = np.array([[0, 3, 0], [-3, 0, 3], [0, -3, 0]])
64 assert_array_equal(res.residual.toarray(), expected_residual)
82 expected_residual = np.array([[0, 10, 0, 0, 10, 0, 0, 0],
90 assert_array_equal(res.residual.toarray(), expected_residual)
105 expected_residual = np.array([[0, 12, 11, 0, 0, 0],
111 assert_array_equal(res.residual.toarray(), expected_residual)
123 expected_residual = np.zeros((4, 4), dtype=np.int32)
124 assert_array_equal(res.residual.toarray(), expected_residual)
/dports/math/igraph/igraph-0.9.5/tests/unit/
H A Digraph_residual_graph.c25 igraph_t g, residual, expected_residual; in main() local
33 igraph_small(&expected_residual, 6, IGRAPH_DIRECTED, in main()
43 IGRAPH_ASSERT(!igraph_isomorphic(&residual, &expected_residual, &iso)); in main()
58 igraph_destroy(&expected_residual); in main()
/dports/devel/R-cran-BH/BH/inst/include/boost/math/tools/
H A Dcubic_roots.hpp128 Real expected_residual = fma(3*a, root, 2*b); in cubic_root_residual() local
129 expected_residual = fma(expected_residual, root, c); in cubic_root_residual()
130 expected_residual = abs(root*expected_residual)*std::numeric_limits<Real>::epsilon(); in cubic_root_residual()
131 out[1] = expected_residual; in cubic_root_residual()
/dports/devel/ppl/ppl-1.2/tests/Polyhedron/
H A Dnumberinput1.cc60 std::string expected_residual, in aux_test() argument
75 && residual == expected_residual in aux_test()
86 << "expected residual = \"" << expected_residual << "\"" in aux_test()
/dports/finance/py-quantecon/quantecon-0.5.2/quantecon/tests/
H A Dtest_ivp.py283 expected_residual = np.zeros((N, 2))
285 np.testing.assert_almost_equal(expected_residual, actual_residual)