Home
last modified time | relevance | path

Searched refs:adouble (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/include/adolc/
H A Dadtl_indo.h269 inline adouble::adouble(const adouble& a) : val(a.val) { in adouble() function
277 inline adouble::~adouble() { in ~adouble()
475 inline adouble atan2(const adouble &a, const adouble &b) { in atan2()
490 inline adouble pow(const adouble &a, const adouble &b) { in pow()
575 inline adouble fmax (const adouble &a, const adouble &b) { in fmax()
621 inline adouble fmin (const adouble &a, const adouble &b) { in fmin()
734 inline adouble& adouble::operator = (const adouble& a) {
746 inline adouble& adouble::operator += (const adouble& a) {
757 inline adouble& adouble::operator -= (const adouble& a) {
768 inline adouble& adouble::operator *= (const adouble& a) {
[all …]
H A Dadtl.h316 inline adouble::adouble(const adouble& a) : adval(NULL) { in adouble() function
327 inline adouble::~adouble() { in ~adouble()
558 inline adouble atan2(const adouble &a, const adouble &b) { in atan2()
582 inline adouble pow(const adouble &a, const adouble &b) { in pow()
702 inline adouble fmax (const adouble &a, const adouble &b) { in fmax()
771 inline adouble fmin (const adouble &a, const adouble &b) { in fmin()
909 inline adouble& adouble::operator = (const adouble& a) {
920 inline adouble& adouble::operator += (const adouble& a) {
931 inline adouble& adouble::operator -= (const adouble& a) {
943 inline adouble& adouble::operator *= (const adouble& a) {
[all …]
H A Dadoublecuda.h231 CUDADEV adouble::adouble() { in adouble() function
253 CUDADEV adouble::adouble(const adouble& a) : val(a.val) { in adouble() function
263 CUDADEV adouble::~adouble() { in ~adouble()
287 CUDADEV adouble adouble::operator + (const adouble& a) const {
304 CUDADEV adouble adouble::operator - (const adouble& a) const {
329 CUDADEV adouble adouble::operator * (const adouble& a) const {
354 CUDADEV adouble adouble::operator / (const adouble& a) const {
494 CUDADEV adouble atan2(const adouble &a, const adouble &b) { in atan2()
518 CUDADEV adouble pow(const adouble &a, const adouble &b) { in pow()
638 CUDADEV adouble fmax (const adouble &a, const adouble &b) { in fmax()
[all …]
H A Dadtl_hov.h130 inline friend adouble pow(const adouble &a, const adouble &b);
480 inline adouble::~adouble() { in ~adouble()
522 inline adouble adouble::operator + (const adouble& a) const {
577 inline adouble adouble::operator - (const adouble& a) const {
1140 inline adouble atan2(const adouble &a, const adouble &b) { in atan2()
1233 inline adouble pow(const adouble &a, const adouble &b) { in pow()
2023 inline adouble& adouble::operator = (const adouble& a) {
2049 inline adouble& adouble::operator += (const adouble& a) {
2073 inline adouble& adouble::operator -= (const adouble& a) {
2105 inline adouble& adouble::operator *= (const adouble& a) {
[all …]
H A Dadouble.h56 class adouble; variable
221 ADOLC_DLL_EXPORT adub adolc_vec_dot(const adouble*const, const adouble*const, locint);
265 friend adub adolc_vec_dot(const adouble*const, const adouble*const, locint);
303 adouble( const adub& );
304 adouble( const adouble& );
305 adouble( void );
306 adouble( double );
319 ~adouble();
321 adouble& operator = ( double );
323 adouble& operator = ( const adouble& );
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/base/
H A Dsymmetric_tensor.cc56 std::array<adouble, 1>
66 std::array<adouble, 2>
86 std::array<std::pair<adouble, Tensor<1, 1, adouble>>, 1>
91 return std::array<std::pair<adouble, Tensor<1, 1, adouble>>, 1>(); in eigenvectors()
97 std::array<std::pair<adouble, Tensor<1, 2, adouble>>, 2>
102 return std::array<std::pair<adouble, Tensor<1, 2, adouble>>, 2>(); in eigenvectors()
108 std::array<std::pair<adouble, Tensor<1, 3, adouble>>, 3>
113 return std::array<std::pair<adouble, Tensor<1, 3, adouble>>, 3>(); in eigenvectors()
127 template std::array<std::pair<adouble, Tensor<1, 1, adouble>>, 1>
131 template std::array<std::pair<adouble, Tensor<1, 2, adouble>>, 2>
[all …]
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/examples/additional_examples/timing/
H A Drotations.h53 void D1 ( adouble * vec, adouble & alpha );
54 void D1 ( adouble * depVec, adouble * indepVec, adouble & alpha );
55 void D1T ( adouble * vec, adouble & alpha );
56 void D1T ( adouble * depVec, adouble * indepVec, adouble & alpha );
63 void D2 ( adouble * vec, adouble & alpha );
64 void D2 ( adouble * depVec, adouble * indepVec, adouble & alpha );
65 void D2T ( adouble * vec, adouble & alpha );
66 void D2T ( adouble * depVec, adouble * indepVec, adouble & alpha );
73 void D3 ( adouble * vec, adouble & alpha );
74 void D3 ( adouble * depVec, adouble * indepVec, adouble & alpha );
[all …]
H A Drotations.cpp178 void D1 ( adouble * vec, adouble & alpha ) { in D1()
186 void D1 ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D1()
218 void D1T ( adouble * vec, adouble & alpha ) { in D1T()
226 void D1T ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D1T()
259 void D2 ( adouble * vec, adouble & alpha ) { in D2()
267 void D2 ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D2()
299 void D2T ( adouble * vec, adouble & alpha ) { in D2T()
307 void D2T ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D2T()
340 void D3 ( adouble * vec, adouble & alpha ) { in D3()
348 void D3 ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D3()
[all …]
H A Dvfunc_gear.cpp144 void D1 ( adouble * vec, adouble & alpha ) { in D1()
152 void D2 ( adouble * vec, adouble & alpha ) { in D2()
160 void D2 ( adouble * depVec, adouble * indepVec, adouble & alpha ) { in D2()
172 void D3 ( adouble * vec, adouble & alpha ) { in D3()
220 void def_messer(adouble *z, adouble *messer) { in def_messer()
223 adouble h; in def_messer()
330 void activeGearFunction(adouble* z, adouble* f) { in activeGearFunction()
331 adouble ah; in activeGearFunction()
333 adouble* messer = new adouble[3]; in activeGearFunction()
390 adouble* activeIndeps = new adouble[indepDim]; in tapingVectorFunction()
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/include/deal.II/differentiation/ad/
H A Dadolc_product_types.h37 struct ProductTypeImpl<adouble, adouble>
39 using type = adouble;
49 using type = adouble;
55 using type = adouble;
63 using type = adouble;
69 using type = adouble;
75 using type = adouble;
125 struct ProductTypeImpl<std::complex<adouble>, std::complex<adouble>>
161 using type = adouble;
174 using type = adouble;
[all …]
H A Dadolc_math.h45 inline adouble func_to(const adouble &x) \
49 inline adtl::adouble func_to(const adtl::adouble &x) \
64 inline adouble func_to(const adouble &x, const adouble &y) \
69 inline adouble func_to(const double x, const adouble &y) \
73 inline adouble func_to(const adouble &x, const double y) \
77 inline adtl::adouble func_to(const adtl::adouble &x, \
101 inline adouble func(const adouble &x, const adouble &y) \
106 inline adtl::adouble func(const adtl::adouble &x, \
128 inline adouble in DEAL_II_EXPOSE_ADOLC_BINARY_MATH_FUNCTION()
129 erfc(const adouble &x) in DEAL_II_EXPOSE_ADOLC_BINARY_MATH_FUNCTION()
[all …]
H A Dadolc_number_types.h117 using real_type = adouble;
231 struct ExtractData<adouble>
237 value(const adouble &x)
250 n_directional_derivatives(const adouble &)
280 struct ExtractData<adtl::adouble>
286 value(const adtl::adouble &x)
296 n_directional_derivatives(const adtl::adouble &)
307 directional_derivative(const adtl::adouble &x,
337 static_assert(std::is_same<ad_type, adouble>::value,
417 struct NumberTraits<adouble, NumberTypes::adolc_taped>
[all …]
/dports/math/cppad/CppAD-20210000.8/include/cppad/example/
H A Dbase_adolc.hpp111 inline adouble CondExpOp( in CondExpOp()
113 const adouble &left , in CondExpOp()
117 { adouble result; in CondExpOp()
157 CPPAD_COND_EXP_REL(adouble)
167 inline bool EqualOpSeq(const adouble &x, const adouble &y) in EqualOpSeq()
190 inline bool IdenticalEqualCon(const adouble &x, const adouble &y) in IdenticalEqualCon()
204 CPPAD_AZMUL( adouble )
219 inline bool abs_geq(const adouble& x, const adouble& y) in abs_geq()
254 inline adouble fun(const adouble& x) \
274 inline adouble sign(const adouble& x) in sign()
[all …]
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/boost-test/
H A DtracelessOperatorScalar.cpp7 typedef adtl::adouble adouble; typedef
28 adouble ad = a; in BOOST_AUTO_TEST_CASE()
39 adouble ad = a; in BOOST_AUTO_TEST_CASE()
259 adouble ad = a; in BOOST_AUTO_TEST_CASE()
270 adouble ad = a; in BOOST_AUTO_TEST_CASE()
1481 adouble bd; in BOOST_AUTO_TEST_CASE()
1504 adouble bd; in BOOST_AUTO_TEST_CASE()
1527 adouble bd; in BOOST_AUTO_TEST_CASE()
1550 adouble bd; in BOOST_AUTO_TEST_CASE()
1668 adouble p; in BOOST_AUTO_TEST_CASE()
[all …]
H A DtracelessOperatorVector.cpp7 typedef adtl::adouble adouble; typedef
29 adouble ad = a; in BOOST_AUTO_TEST_CASE()
115 adouble ad = a; in BOOST_AUTO_TEST_CASE()
135 adouble ad = a; in BOOST_AUTO_TEST_CASE()
153 adouble ad = a; in BOOST_AUTO_TEST_CASE()
904 adouble bd; in BOOST_AUTO_TEST_CASE()
926 adouble bd; in BOOST_AUTO_TEST_CASE()
948 adouble bd; in BOOST_AUTO_TEST_CASE()
971 adouble bd; in BOOST_AUTO_TEST_CASE()
990 adouble p; in BOOST_AUTO_TEST_CASE()
[all …]
/dports/net/netatalk3/netatalk-3.1.12/include/atalk/
H A Dadouble.h185 struct adouble;
190 int (*ad_rebuild_header)(struct adouble *);
195 struct adouble { struct
387 extern int ad_copy_header (struct adouble *, struct adouble *);
388 extern int ad_flush (struct adouble *);
389 extern int ad_close (struct adouble *, int);
413 extern int ad_init_offsets(struct adouble *ad);
434 extern int ad_dtruncate(struct adouble *, off_t);
436 extern int copy_fork(int eid, struct adouble *add, struct adouble *ads, char *buf, size_t bufle…
439 extern off_t ad_size (const struct adouble *, uint32_t );
[all …]
/dports/math/deal.ii/dealii-803d21ff957e349b3799cd3ef2c840bc78734305/source/differentiation/ad/
H A Dadolc_number_types.cc44 const adouble &value_1, in adouble_boolean_comparator()
45 const adouble &value_2, in adouble_boolean_comparator()
46 const std::function<adouble(const adouble &, const adouble &)> in adouble_boolean_comparator() argument
53 std::is_same<adouble, ad_type>::value, in adouble_boolean_comparator()
63 values_are_equal(const adouble &value_1, const adouble &value_2) in values_are_equal()
66 value_1, value_2, [](const adouble &a, const adouble &b) -> adouble { in values_are_equal()
67 return dealii::internal::NumberType<adouble>::value(a == b); in values_are_equal()
72 value_is_less_than(const adouble &value_1, const adouble &value_2) in value_is_less_than()
75 value_1, value_2, [](const adouble &a, const adouble &b) -> adouble { in value_is_less_than()
76 return dealii::internal::NumberType<adouble>::value(a < b); in value_is_less_than()
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/examples/additional_examples/fixpoint_exam/
H A Dfixpoint_exam.cpp27 int fixpoint_iter_act(adouble *x, adouble *u, adouble *y, int dim_x, int dim_u);
28 adouble norm(adouble *x, int dim_x);
36 adouble x[1]; in main()
37 adouble u[1]; in main()
38 adouble y[1]; in main()
39 adouble diff[1]; in main()
104 int fixpoint_iter_act(adouble *x, adouble *u, adouble *y, int dim_x, int dim_u) in fixpoint_iter_act()
111 adouble norm(adouble *x, int dim_x) in norm()
/dports/misc/openmvg/openMVG-2.0/src/third_party/eigen/unsupported/Eigen/
H A DAdolcForward53 * - a struct Eigen::NumTraits<adtl::adouble> specialization
71 inline const adouble& conj(const adouble& x) { return x; }
72 inline const adouble& real(const adouble& x) { return x; }
73 inline adouble imag(const adouble&) { return 0.; }
74 inline adouble abs(const adouble& x) { return fabs(x); }
75 inline adouble abs2(const adouble& x) { return x*x; }
84 template<> struct NumTraits<adtl::adouble>
87 typedef adtl::adouble Real;
88 typedef adtl::adouble NonInteger;
89 typedef adtl::adouble Nested;
[all …]
/dports/net/samba412/samba-4.12.15/source3/lib/
H A Dadouble.h147 struct adouble;
149 size_t ad_getentrylen(const struct adouble *ad, int eid);
150 size_t ad_getentryoff(const struct adouble *ad, int eid);
151 size_t ad_setentrylen(struct adouble *ad, int eid, size_t len);
152 size_t ad_setentryoff(struct adouble *ad, int eid, size_t off);
153 char *ad_get_entry(const struct adouble *ad, int eid);
166 struct adouble *ad_init(TALLOC_CTX *ctx, adouble_type_t type);
167 struct adouble *ad_get(TALLOC_CTX *ctx,
171 struct adouble *ad_fget(TALLOC_CTX *ctx, vfs_handle_struct *handle,
174 struct adouble *ad,
[all …]
/dports/math/libmesh/libmesh-1.6.2/contrib/eigen/3.2.9/unsupported/Eigen/
H A DAdolcForward28 #include <adolc/adouble.h>
71 inline const adouble& conj(const adouble& x) { return x; }
72 inline const adouble& real(const adouble& x) { return x; }
73 inline adouble imag(const adouble&) { return 0.; }
74 inline adouble abs(const adouble& x) { return fabs(x); }
75 inline adouble abs2(const adouble& x) { return x*x; }
81 template<> struct NumTraits<adtl::adouble>
84 typedef adtl::adouble Real;
85 typedef adtl::adouble NonInteger;
86 typedef adtl::adouble Nested;
[all …]
/dports/graphics/wdune/wdune-1.926/vcglib/eigenlib/unsupported/Eigen/
H A DAdolcForward28 #include <adolc/adouble.h>
71 inline const adouble& conj(const adouble& x) { return x; }
72 inline const adouble& real(const adouble& x) { return x; }
73 inline adouble imag(const adouble&) { return 0.; }
74 inline adouble abs(const adouble& x) { return fabs(x); }
75 inline adouble abs2(const adouble& x) { return x*x; }
81 template<> struct NumTraits<adtl::adouble>
84 typedef adtl::adouble Real;
85 typedef adtl::adouble NonInteger;
86 typedef adtl::adouble Nested;
[all …]
/dports/math/adol-c/ADOL-C-2.7.2/ADOL-C/examples/
H A Dtraceless_higher_order.cpp29 typedef adtl_hov::adouble adouble; typedef
36 adouble poly (adouble* z){ in poly()
37 adouble y; in poly()
48 adouble higher_order(adouble* z) in higher_order()
51 adouble y; in higher_order()
90 adouble* z = new adouble[n]; in main()
91 adouble y; in main()
/dports/math/eigen3/eigen-3.3.9/unsupported/Eigen/
H A DAdolcForward53 * - a struct Eigen::NumTraits<adtl::adouble> specialization
71 inline const adouble& conj(const adouble& x) { return x; }
72 inline const adouble& real(const adouble& x) { return x; }
73 inline adouble imag(const adouble&) { return 0.; }
74 inline adouble abs(const adouble& x) { return fabs(x); }
75 inline adouble abs2(const adouble& x) { return x*x; }
81 template<> struct NumTraits<adtl::adouble>
84 typedef adtl::adouble Real;
85 typedef adtl::adouble NonInteger;
86 typedef adtl::adouble Nested;
[all …]
/dports/math/stanmath/math-4.2.0/lib/eigen_3.3.9/unsupported/Eigen/
H A DAdolcForward53 * - a struct Eigen::NumTraits<adtl::adouble> specialization
71 inline const adouble& conj(const adouble& x) { return x; }
72 inline const adouble& real(const adouble& x) { return x; }
73 inline adouble imag(const adouble&) { return 0.; }
74 inline adouble abs(const adouble& x) { return fabs(x); }
75 inline adouble abs2(const adouble& x) { return x*x; }
81 template<> struct NumTraits<adtl::adouble>
84 typedef adtl::adouble Real;
85 typedef adtl::adouble NonInteger;
86 typedef adtl::adouble Nested;
[all …]

12345678910>>...18