Home
last modified time | relevance | path

Searched refs:a2x (Results 1 – 25 of 330) sorted by relevance

12345678910>>...14

/dports/math/cppad/CppAD-20210000.8/test_more/general/
H A Dmul_cond_rev.cpp38 vector<a2double> a2x(n), a2y(m); in mul_cond_rev() local
39 a2x[0] = a2double( 5.0 ); in mul_cond_rev()
40 Independent(a2x); in mul_cond_rev()
48 a2double a2inf_var = a2one / a2x[0]; in mul_cond_rev()
74 a2y[i++] = CondExpGt(a2x[0], a2zero, log(a2x[0]), a2zero); in mul_cond_rev()
76 a2y[i++] = CondExpGt(a2x[0], a2zero, a2x[0] * a2inf_var, a2zero); in mul_cond_rev()
78 a2y[i++] = CondExpGt(a2x[0], a2zero, pow(a2inf_var, a2x[0]), a2zero); in mul_cond_rev()
84 a2y[i++] = CondExpGt(a2x[0], a2zero, sqrt(a2x[0]), a2zero); in mul_cond_rev()
92 a2y[i++] = CondExpGt(a2x[0], a2zero, azmul(a2x[0], a2inf_var), a2zero); in mul_cond_rev()
97 a2y[i++] = CondExpGt(a2x[0], a2zero, acosh( a2x[0] ), a2zero); in mul_cond_rev()
[all …]
H A Dmul_zdouble.cpp32 vector<a2type> a2x(n_), a2y(m_); in record() local
37 a2x[j] = a2type( a1x[j] ); in record()
39 Independent(a2x); in record()
41 a2y = fun(a2x); in record()
43 a1f.Dependent(a2x, a2y); in record()
54 vector<a2type> div(const vector<a2type>& a2x) in div() argument
58 a2y[0] = CondExpGt(a2x[1], a2zero, a2x[0] / a2x[1], a2zero); in div()
59 a2y[0] += CondExpGt(a2x[1], a2zero, a2four / a2x[1], a2zero); in div()
89 a2y[0] = CondExpLt(a2x[0], a2four, a2x[0] * a2x[1], a2zero); in mul()
90 a2y[0] += CondExpLt(a2x[0], a2four, a2four * a2x[1], a2zero); in mul()
[all …]
H A Dazmul.cpp46 a2x[j] = a1x[j]; in test_forward()
47 CppAD::Independent(a2x); in test_forward()
50 a2y[0] = CppAD::azmul(a2x[0], a2x[1]); // azmul(variable, variable) in test_forward()
56 a1f.Dependent(a2x, a2y); in test_forward()
122 a2x[j] = a1x[j]; in test_reverse()
123 CppAD::Independent(a2x); in test_reverse()
126 a2y[0] = CppAD::azmul(a2x[0], a2x[1]); // azmul(variable, variable) in test_reverse()
132 a1f.Dependent(a2x, a2y); in test_reverse()
196 a2x[j] = a1x[j]; in test_forward_dir()
197 CppAD::Independent(a2x); in test_forward_dir()
[all …]
H A Dsparse_jac_work.cpp45 a2vector a2x(n); in sparse_jac_work() local
48 a2x[j] = a1x[j] = 0.0; in sparse_jac_work()
51 CppAD::Independent(a2x); in sparse_jac_work()
55 a2y[0] = a2x[0] + a2x[1]; in sparse_jac_work()
56 a2y[1] = a2x[2] + a2x[3]; in sparse_jac_work()
57 a2y[2] = a2x[0] + a2x[1] + a2x[2] + a2x[3] * a2x[3] / 2.; in sparse_jac_work()
60 CppAD::ADFun<a1double> a1f(a2x, a2y); in sparse_jac_work()
H A Dsubgraph_hes2jac.cpp43 a2vector a2x(n); in subgraph_hes2jac() local
45 a2x[j] = a1x[j]; in subgraph_hes2jac()
48 CppAD::Independent(a2x); in subgraph_hes2jac()
53 a2y[0] = 5.0 * a2x[0] * a2x[1]; in subgraph_hes2jac()
55 a2y[0] += a2x[j] * a2x[j] * a2x[j]; in subgraph_hes2jac()
60 a1f.Dependent(a2x, a2y); in subgraph_hes2jac()
H A Dmul_cskip.cpp32 vector<a2type> a2x(n), a2y(m); in mul_cskip() local
34 a2x[j] = a2type( a1type(x[j]) ); in mul_cskip()
35 Independent(a2x); in mul_cskip()
41 a2type a2p = a2x[0] * a2x[1]; in mul_cskip()
42 a2y[0] = CondExpEq(a2x[0], a2one, a2p, a2zero); in mul_cskip()
43 ADFun<a1type> a1f(a2x, a2y); in mul_cskip()
/dports/math/cppad/CppAD-20210000.8/test_more/deprecated/chkpoint_one/
H A Dmul_level.cpp66 a2vector a2x(n), a2y(m); in mul_level() local
68 a2x[j] = a2double(j + 1); in mul_level()
71 checkpoint<a1double> atom_f("atom_f", f_algo, a2x, a2y); in mul_level()
74 Independent(a2x); in mul_level()
75 f_algo(a2x, a2y); in mul_level()
76 ADFun<a1double> check_not(a2x, a2y); in mul_level()
82 Independent(a2x); in mul_level()
83 atom_f(a2x, a2y); in mul_level()
84 ADFun<a1double> check_yes(a2x, a2y); in mul_level()
/dports/sysutils/syslinux/syslinux-6.03/txt/
H A DMakefile44 A2X_XML_OK := $(shell a2x $(A2X_OPTS) -f docbook hello.txt 2>&1 ; echo $$?)
46 A2X_MAN_OK := $(shell [ ! -d man ] && mkdir man ; a2x $(A2X_MAN_OPTS) hello.txt 2>&1 ; echo $$?)
47 A2X_XHTML_OK := $(shell a2x $(A2X_OPTS) -f xhtml hello.xml 2>&1 ; echo $$?)
48 A2X_TEXT_OK := $(shell a2x $(A2X_OPTS) -f text hello.xml 2>&1 ; echo $$?)
92 a2x $(A2X_OPTS) -f docbook $<
96 a2x $(A2X_OPTS) -f xhtml $<
99 a2x $(A2X_MAN_OPTS) $<
102 a2x $(A2X_MAN_OPTS) $<
105 a2x $(A2X_OPTS) -f text $<
108 a2x $(A2X_OPTS) -f pdf $<
/dports/math/cppad/CppAD-20210000.8/test_more/deprecated/
H A Dzdouble.cpp42 CPPAD_TESTVECTOR(a2type) a2x(n); in test_one()
44 a2x[j] = a2type( a1type(x[j]) ); in test_one()
45 Independent(a2x); in test_one()
52 a2type h_x = CondExpGt(a2x[1], a2x[0], a2x[0] / a2x[1], a2one); in test_one()
58 a2type f_x = CondExpGt(a2x[0], a2zero, h_x, a2one); in test_one()
65 af1.Dependent(a2x, a2y); in test_one()
/dports/games/warzone2100/warzone2100/cmake/
H A DFindA2X.cmake10 # CMake module to find a2x (part of the asciidoc toolchain).
15 # A2X_COMMAND The command to run a2x (may be a list including an interpreter)
16 # A2X_VERSION The a2x version that has been found
19 # Have a go at finding a a2x executable
20 find_program( A2X_PROGRAM a2x )
40 find_file( A2X_SCRIPT a2x.py )
49 # Python's not available so can't find a2x...
72 string(REGEX REPLACE ".*a2x[^0-9.]*\([0-9.]+\).*" "\\1" A2X_VERSION "${_OUT}")
/dports/math/tmv/tmv-0.75/tests/
H A DTMV_TestTriArith_A2.cpp27 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_A2() local
28 a2x.row(1) *= T(3); in TestTriMatrixArith_A2()
29 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_A2()
31 ca2x -= a2x; in TestTriMatrixArith_A2()
37 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_A2()
57 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_A2()
70 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_A2()
83 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_A2()
H A DTMV_TestTriArith_A3.cpp27 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_A3() local
28 a2x.row(1) *= T(3); in TestTriMatrixArith_A3()
29 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_A3()
31 ca2x -= a2x; in TestTriMatrixArith_A3()
37 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_A3()
58 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_A3()
71 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_A3()
84 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_A3()
H A DTMV_TestTriArith_B4b.cpp30 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_B4b() local
31 a2x.row(1) *= T(3); in TestTriMatrixArith_B4b()
32 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_B4b()
34 ca2x -= a2x; in TestTriMatrixArith_B4b()
40 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_B4b()
44 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_B4b()
49 tmv::MatrixView<T> a2 = a2x.view(); in TestTriMatrixArith_B4b()
89 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_B4b()
93 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_B4b()
H A DTMV_TestTriArith_B4a.cpp29 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_B4a() local
30 a2x.row(1) *= T(3); in TestTriMatrixArith_B4a()
31 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_B4a()
33 ca2x -= a2x; in TestTriMatrixArith_B4a()
39 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_B4a()
43 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_B4a()
48 tmv::MatrixView<T> a2 = a2x.view(); in TestTriMatrixArith_B4a()
88 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_B4a()
92 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_B4a()
H A DTMV_TestTriArith_C5a.cpp28 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_C5a() local
29 a2x.row(1) *= T(3); in TestTriMatrixArith_C5a()
30 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_C5a()
32 ca2x -= a2x; in TestTriMatrixArith_C5a()
38 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_C5a()
42 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_C5a()
77 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_C5a()
81 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_C5a()
H A DTMV_TestTriArith_C4a.cpp31 tmv::Matrix<T,tmv::ColMajor> a2x = a1x.transpose(); in TestTriMatrixArith_C4a() local
32 a2x.row(1) *= T(3); in TestTriMatrixArith_C4a()
33 a2x.col(2) -= tmv::Vector<T>(4,4); in TestTriMatrixArith_C4a()
35 ca2x -= a2x; in TestTriMatrixArith_C4a()
41 tmv::UpperTriMatrixView<T> u2 = a2x.upperTri(); in TestTriMatrixArith_C4a()
45 tmv::UpperTriMatrixView<T> u5 = a2x.unitUpperTri(); in TestTriMatrixArith_C4a()
81 tmv::LowerTriMatrixView<T> l2 = a2x.lowerTri(); in TestTriMatrixArith_C4a()
85 tmv::LowerTriMatrixView<T> l5 = a2x.unitLowerTri(); in TestTriMatrixArith_C4a()
/dports/deskutils/spice-gtk/spice-gtk-0.37/subprojects/spice-common/m4/
H A Dspice_manual.m44 dnl if all programs (asciidoc and a2x) are available
9 dnl - A2X a2x program or empty
11 dnl - BUILD_MANUAL if asciidoc and a2x are available
13 dnl - BUILD_CHUNKED_MANUAL if a2x is available
24 AC_PATH_PROG([A2X], [a2x])
26 [AC_MSG_ERROR([a2x is missing and build of manual was requested])])
/dports/math/cppad/CppAD-20210000.8/example/general/
H A Dchange_param.cpp75 CPPAD_TESTVECTOR(a2type) a2x(nx); in change_param()
77 a2x[j] = 0.; in change_param()
78 CppAD::Independent(a2x); in change_param()
82 a2y[0] = sin( a2x[0] ) * a1p; in change_param()
83 a2y[1] = sin( a2x[1] ) * a1p; in change_param()
88 a1f.Dependent(a2x, a2y); in change_param()
H A Dmul_level.cpp90 CPPAD_TESTVECTOR(a2type) a2x(n), a2y(1); in mul_level()
94 a2x[j] = a1x[j] = x[j] = double(j); in mul_level()
96 CppAD::Independent(a2x); in mul_level()
99 a2y[0] = f(a2x); in mul_level()
104 a1f.Dependent(a2x, a2y); in mul_level()
H A Dmul_level_adolc.cpp108 CPPAD_TESTVECTOR(a2type) a2x(n); in mul_level_adolc()
112 a2x[j] = double(j); in mul_level_adolc()
114 CppAD::Independent(a2x); in mul_level_adolc()
118 a2y[0] = f(a2x); in mul_level_adolc()
123 a1f.Dependent(a2x, a2y); in mul_level_adolc()
/dports/devel/libspice-server/spice-0.15.0/subprojects/spice-common/m4/
H A Dspice_manual.m44 dnl if all programs (asciidoc and a2x) are available
9 dnl - A2X a2x program or empty
11 dnl - BUILD_MANUAL if asciidoc and a2x are available
13 dnl - BUILD_CHUNKED_MANUAL if a2x is available
24 AC_PATH_PROG([A2X], [a2x])
26 [AC_MSG_ERROR([a2x is missing and build of manual was requested])])
/dports/databases/libdbi-drivers/libdbi-drivers-0.9.0/tests/cgreen/cmake/Modules/
H A DFindAsciidoc.cmake2 # this module looks for asciidoc and a2x
6 # A2X_EXECUTABLE - the full path to a2x
7 # A2X_FOUND - If false, don't attempt to use a2x.
30 a2x
45 MESSAGE(FATAL_ERROR "Could not find a2x")
/dports/devel/libspice-server/spice-0.15.0/docs/manual/
H A Dmeson.build11 a2x = find_program('a2x', required : false) variable
12 if a2x.found()
17 … command : [a2x, '-f', 'chunked', '-D', meson.current_build_dir(), asciidoc_args, '@INPUT@'])
/dports/net/libzmq4/zeromq-4.3.4/builds/cmake/Modules/
H A DFindAsciiDoc.cmake2 # this module looks for asciidoc and a2x
6 # A2X_EXECUTABLE - the full path to a2x
7 # A2X_FOUND - If false, don't attempt to use a2x.
17 find_program(A2X_EXECUTABLE a2x
/dports/graphics/autopano-sift-c/autopano-sift-C-2.5.1/
H A DTransform.c98 double a2x, double a2y, double b2x, double b2y, in AffineTransform2D_BuildTransformFromTwoPairs() argument
105 double angle = atan2 (b1y - a1y, b1x - a1x) - atan2 (b2y - a2y, b2x - a2x); in AffineTransform2D_BuildTransformFromTwoPairs()
110 double s = sqrt ((b2x - a2x)*(b2x - a2x) + (b2y - a2y)*(b2y - a2y)); in AffineTransform2D_BuildTransformFromTwoPairs()
122 trans->base.values[0][ 2] = s * (cosAngle * (-a2x) - sinAngle * (-a2y)) + a1x; in AffineTransform2D_BuildTransformFromTwoPairs()
125 trans->base.values[1][ 2] = s * (sinAngle * (-a2x) + cosAngle * (-a2y)) + a1y; in AffineTransform2D_BuildTransformFromTwoPairs()

12345678910>>...14