Lines Matching refs:quotient
255 auto quotient = autodiff_fvar<T, m, n>(1); // unit constant in BOOST_AUTO_TEST_CASE_TEMPLATE() local
258 quotient /= x; in BOOST_AUTO_TEST_CASE_TEMPLATE()
259 BOOST_CHECK_EQUAL(quotient.derivative(0, 0), 1 / cx); in BOOST_AUTO_TEST_CASE_TEMPLATE()
260 BOOST_CHECK_EQUAL(quotient.derivative(1, 0), -1 / pow(cx, 2)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
261 BOOST_CHECK_EQUAL(quotient.derivative(2, 0), 2 / pow(cx, 3)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
262 BOOST_CHECK_EQUAL(quotient.derivative(3, 0), -6 / pow(cx, 4)); in BOOST_AUTO_TEST_CASE_TEMPLATE()
265 BOOST_CHECK_EQUAL(quotient.derivative(i, j), 0.0); in BOOST_AUTO_TEST_CASE_TEMPLATE()
270 quotient = 1; in BOOST_AUTO_TEST_CASE_TEMPLATE()
271 quotient /= cy; in BOOST_AUTO_TEST_CASE_TEMPLATE()
275 BOOST_CHECK_EQUAL(quotient.derivative(i, j), 1 / cy); in BOOST_AUTO_TEST_CASE_TEMPLATE()
277 BOOST_CHECK_EQUAL(quotient.derivative(i, j), 0.0); in BOOST_AUTO_TEST_CASE_TEMPLATE()