1 #ifndef _tinyfadseventeen_h_ 2 #define _tinyfadseventeen_h_ 9 template <
class T>
class TinyFad<17,T> {
38 void diff(
const size_t ith,
const size_t sz){
59 case 0 : dx0_ = T(1.);
break;
60 case 1 : dx1_ = T(1.);
break;
61 case 2 : dx2_ = T(1.);
break;
62 case 3 : dx3_ = T(1.);
break;
63 case 4 : dx4_ = T(1.);
break;
64 case 5 : dx5_ = T(1.);
break;
65 case 6 : dx6_ = T(1.);
break;
66 case 7 : dx7_ = T(1.);
break;
67 case 8 : dx8_ = T(1.);
break;
68 case 9 : dx9_ = T(1.);
break;
69 case 10 : dx10_ = T(1.);
break;
70 case 11 : dx11_ = T(1.);
break;
71 case 12 : dx12_ = T(1.);
break;
72 case 13 : dx13_ = T(1.);
break;
73 case 14 : dx14_ = T(1.);
break;
74 case 15 : dx15_ = T(1.);
break;
75 case 16 : dx16_ = T(1.);
break;
76 default : cout <<
"ith = " << ith <<
" out of definition set" << endl;exit(1);
80 TinyFad(
const T& ind,
const int ini) : n(ini+1), val_(ind) {
100 case 0 : dx0_ = T(1.);
break;
101 case 1 : dx1_ = T(1.);
break;
102 case 2 : dx2_ = T(1.);
break;
103 case 3 : dx3_ = T(1.);
break;
104 case 4 : dx4_ = T(1.);
break;
105 case 5 : dx5_ = T(1.);
break;
106 case 6 : dx6_ = T(1.);
break;
107 case 7 : dx7_ = T(1.);
break;
108 case 8 : dx8_ = T(1.);
break;
109 case 9 : dx9_ = T(1.);
break;
110 case 10 : dx10_ = T(1.);
break;
111 case 11 : dx11_ = T(1.);
break;
112 case 12 : dx12_ = T(1.);
break;
113 case 13 : dx13_ = T(1.);
break;
114 case 14 : dx14_ = T(1.);
break;
115 case 15 : dx15_ = T(1.);
break;
116 case 16 : dx16_ = T(1.);
break;
117 default : cout <<
"ini = " << ini <<
" out of definition set" << endl;exit(1);
181 int N()
const {
return n-1;}
186 const T&
d0()
const {
return dx0_;}
187 T&
d0() {
return dx0_;}
189 const T&
d1()
const {
return dx1_;}
190 T&
d1() {
return dx1_;}
192 const T&
d2()
const {
return dx2_;}
193 T&
d2() {
return dx2_;}
195 const T&
d3()
const {
return dx3_;}
196 T&
d3() {
return dx3_;}
198 const T&
d4()
const {
return dx4_;}
199 T&
d4() {
return dx4_;}
201 const T&
d5()
const {
return dx5_;}
202 T&
d5() {
return dx5_;}
204 const T&
d6()
const {
return dx6_;}
205 T&
d6() {
return dx6_;}
207 const T&
d7()
const {
return dx7_;}
208 T&
d7() {
return dx7_;}
210 const T&
d8()
const {
return dx8_;}
211 T&
d8() {
return dx8_;}
213 const T&
d9()
const {
return dx9_;}
214 T&
d9() {
return dx9_;}
216 const T&
d10()
const {
return dx10_;}
219 const T&
d11()
const {
return dx11_;}
222 const T&
d12()
const {
return dx12_;}
225 const T&
d13()
const {
return dx13_;}
228 const T&
d14()
const {
return dx14_;}
231 const T&
d15()
const {
return dx15_;}
234 const T&
d16()
const {
return dx16_;}
239 case 0 :
return dx0_;
240 case 1 :
return dx1_;
241 case 2 :
return dx2_;
242 case 3 :
return dx3_;
243 case 4 :
return dx4_;
244 case 5 :
return dx5_;
245 case 6 :
return dx6_;
246 case 7 :
return dx7_;
247 case 8 :
return dx8_;
248 case 9 :
return dx9_;
249 case 10 :
return dx10_;
250 case 11 :
return dx11_;
251 case 12 :
return dx12_;
252 case 13 :
return dx13_;
253 case 14 :
return dx14_;
254 case 15 :
return dx15_;
255 case 16 :
return dx16_;
256 default : cout <<
"i out of bounds" << endl;exit(1);
259 const T&
dx(
int i)
const {
261 case 0 :
return dx0_;
262 case 1 :
return dx1_;
263 case 2 :
return dx2_;
264 case 3 :
return dx3_;
265 case 4 :
return dx4_;
266 case 5 :
return dx5_;
267 case 6 :
return dx6_;
268 case 7 :
return dx7_;
269 case 8 :
return dx8_;
270 case 9 :
return dx9_;
271 case 10 :
return dx10_;
272 case 11 :
return dx11_;
273 case 12 :
return dx12_;
274 case 13 :
return dx13_;
275 case 14 :
return dx14_;
276 case 15 :
return dx15_;
277 case 16 :
return dx16_;
278 default : cout <<
"i out of bounds" << endl;exit(1);
283 case 0 :
return dx0_;
284 case 1 :
return dx1_;
285 case 2 :
return dx2_;
286 case 3 :
return dx3_;
287 case 4 :
return dx4_;
288 case 5 :
return dx5_;
289 case 6 :
return dx6_;
290 case 7 :
return dx7_;
291 case 8 :
return dx8_;
292 case 9 :
return dx9_;
293 case 10 :
return dx10_;
294 case 11 :
return dx11_;
295 case 12 :
return dx12_;
296 case 13 :
return dx13_;
297 case 14 :
return dx14_;
298 case 15 :
return dx15_;
299 case 16 :
return dx16_;
300 default : cout <<
"i out of bounds" << endl;exit(1);
303 const T&
d(
int i)
const {
305 case 0 :
return dx0_;
306 case 1 :
return dx1_;
307 case 2 :
return dx2_;
308 case 3 :
return dx3_;
309 case 4 :
return dx4_;
310 case 5 :
return dx5_;
311 case 6 :
return dx6_;
312 case 7 :
return dx7_;
313 case 8 :
return dx8_;
314 case 9 :
return dx9_;
315 case 10 :
return dx10_;
316 case 11 :
return dx11_;
317 case 12 :
return dx12_;
318 case 13 :
return dx13_;
319 case 14 :
return dx14_;
320 case 15 :
return dx15_;
321 case 16 :
return dx16_;
322 default : cout <<
"i out of bounds" << endl;exit(1);
420 dx0_ = dx0_ * in.
val_ + val_ * in.
dx0_;
421 dx1_ = dx1_ * in.
val_ + val_ * in.
dx1_;
422 dx2_ = dx2_ * in.
val_ + val_ * in.
dx2_;
423 dx3_ = dx3_ * in.
val_ + val_ * in.
dx3_;
424 dx4_ = dx4_ * in.
val_ + val_ * in.
dx4_;
425 dx5_ = dx5_ * in.
val_ + val_ * in.
dx5_;
426 dx6_ = dx6_ * in.
val_ + val_ * in.
dx6_;
427 dx7_ = dx7_ * in.
val_ + val_ * in.
dx7_;
428 dx8_ = dx8_ * in.
val_ + val_ * in.
dx8_;
429 dx9_ = dx9_ * in.
val_ + val_ * in.
dx9_;
430 dx10_ = dx10_ * in.
val_ + val_ * in.
dx10_;
431 dx11_ = dx11_ * in.
val_ + val_ * in.
dx11_;
432 dx12_ = dx12_ * in.
val_ + val_ * in.
dx12_;
433 dx13_ = dx13_ * in.
val_ + val_ * in.
dx13_;
434 dx14_ = dx14_ * in.
val_ + val_ * in.
dx14_;
435 dx15_ = dx15_ * in.
val_ + val_ * in.
dx15_;
436 dx16_ = dx16_ * in.
val_ + val_ * in.
dx16_;
442 if (in.
val_ == 0.)
error(
"TinyFad & TinyFad::operator /= (const TinyFad & in), dividing by 0");
497 if ( in == T(0.) )
error(
"TinyFad & TinyFad::operator /= (const T & in), dividing by 0");
552 template <
class L,
class R>
inline 561 tmp.d0() = un.d0() + deux.d0();
563 tmp.d1() = un.d1() + deux.d1();
565 tmp.d2() = un.d2() + deux.d2();
567 tmp.d3() = un.d3() + deux.d3();
569 tmp.d4() = un.d4() + deux.d4();
571 tmp.d5() = un.d5() + deux.d5();
573 tmp.d6() = un.d6() + deux.d6();
575 tmp.d7() = un.d7() + deux.d7();
577 tmp.d8() = un.d8() + deux.d8();
579 tmp.d9() = un.d9() + deux.d9();
581 tmp.d10() = un.d10() + deux.d10();
583 tmp.d11() = un.d11() + deux.d11();
585 tmp.d12() = un.d12() + deux.d12();
587 tmp.d13() = un.d13() + deux.d13();
589 tmp.d14() = un.d14() + deux.d14();
591 tmp.d15() = un.d15() + deux.d15();
593 tmp.d16() = un.d16() + deux.d16();
600 template <
class L,
class R>
inline 629 tmp.d10() = un.d10();
631 tmp.d11() = un.d11();
633 tmp.d12() = un.d12();
635 tmp.d13() = un.d13();
637 tmp.d14() = un.d14();
639 tmp.d15() = un.d15();
641 tmp.d16() = un.d16();
643 tmp.
val() = un.
val() + deux;
648 template <
class L,
class R>
inline 654 template <
class L,
class R>
inline 663 tmp.d0() = un.d0()*deux.
val() + un.
val() * deux.d0();
665 tmp.d1() = un.d1()*deux.
val() + un.
val() * deux.d1();
667 tmp.d2() = un.d2()*deux.
val() + un.
val() * deux.d2();
669 tmp.d3() = un.d3()*deux.
val() + un.
val() * deux.d3();
671 tmp.d4() = un.d4()*deux.
val() + un.
val() * deux.d4();
673 tmp.d5() = un.d5()*deux.
val() + un.
val() * deux.d5();
675 tmp.d6() = un.d6()*deux.
val() + un.
val() * deux.d6();
677 tmp.d7() = un.d7()*deux.
val() + un.
val() * deux.d7();
679 tmp.d8() = un.d8()*deux.
val() + un.
val() * deux.d8();
681 tmp.d9() = un.d9()*deux.
val() + un.
val() * deux.d9();
683 tmp.d10() = un.d10()*deux.
val() + un.
val() * deux.d10();
685 tmp.d11() = un.d11()*deux.
val() + un.
val() * deux.d11();
687 tmp.d12() = un.d12()*deux.
val() + un.
val() * deux.d12();
689 tmp.d13() = un.d13()*deux.
val() + un.
val() * deux.d13();
691 tmp.d14() = un.d14()*deux.
val() + un.
val() * deux.d14();
693 tmp.d15() = un.d15()*deux.
val() + un.
val() * deux.d15();
695 tmp.d16() = un.d16()*deux.
val() + un.
val() * deux.d16();
702 template <
class L,
class R>
inline 711 tmp.d0() = un.d0()*deux;
713 tmp.d1() = un.d1()*deux;
715 tmp.d2() = un.d2()*deux;
717 tmp.d3() = un.d3()*deux;
719 tmp.d4() = un.d4()*deux;
721 tmp.d5() = un.d5()*deux;
723 tmp.d6() = un.d6()*deux;
725 tmp.d7() = un.d7()*deux;
727 tmp.d8() = un.d8()*deux;
729 tmp.d9() = un.d9()*deux;
731 tmp.d10() = un.d10()*deux;
733 tmp.d11() = un.d11()*deux;
735 tmp.d12() = un.d12()*deux;
737 tmp.d13() = un.d13()*deux;
739 tmp.d14() = un.d14()*deux;
741 tmp.d15() = un.d15()*deux;
743 tmp.d16() = un.d16()*deux;
745 tmp.
val() = un.
val() * deux;
750 template <
class L,
class R>
inline 758 template <
class L,
class R>
inline 767 tmp.d0() = un.d0() - deux.d0();
769 tmp.d1() = un.d1() - deux.d1();
771 tmp.d2() = un.d2() - deux.d2();
773 tmp.d3() = un.d3() - deux.d3();
775 tmp.d4() = un.d4() - deux.d4();
777 tmp.d5() = un.d5() - deux.d5();
779 tmp.d6() = un.d6() - deux.d6();
781 tmp.d7() = un.d7() - deux.d7();
783 tmp.d8() = un.d8() - deux.d8();
785 tmp.d9() = un.d9() - deux.d9();
787 tmp.d10() = un.d10() - deux.d10();
789 tmp.d11() = un.d11() - deux.d11();
791 tmp.d12() = un.d12() - deux.d12();
793 tmp.d13() = un.d13() - deux.d13();
795 tmp.d14() = un.d14() - deux.d14();
797 tmp.d15() = un.d15() - deux.d15();
799 tmp.d16() = un.d16() - deux.d16();
806 template <
class L,
class R>
inline 815 tmp.d0() -= deux.d0();
817 tmp.d1() -= deux.d1();
819 tmp.d2() -= deux.d2();
821 tmp.d3() -= deux.d3();
823 tmp.d4() -= deux.d4();
825 tmp.d5() -= deux.d5();
827 tmp.d6() -= deux.d6();
829 tmp.d7() -= deux.d7();
831 tmp.d8() -= deux.d8();
833 tmp.d9() -= deux.d9();
835 tmp.d10() -= deux.d10();
837 tmp.d11() -= deux.d11();
839 tmp.d12() -= deux.d12();
841 tmp.d13() -= deux.d13();
843 tmp.d14() -= deux.d14();
845 tmp.d15() -= deux.d15();
847 tmp.d16() -= deux.d16();
849 tmp.
val() = un - deux.
val();
854 template <
class L,
class R>
inline 882 tmp.d10() = un.d10();
884 tmp.d11() = un.d11();
886 tmp.d12() = un.d12();
888 tmp.d13() = un.d13();
890 tmp.d14() = un.d14();
892 tmp.d15() = un.d15();
894 tmp.d16() = un.d16();
896 tmp.
val() = un.
val() - deux;
901 template <
class L,
class R>
inline 907 if (deux.
val() == 0.)
error(
"TinyFad & TinyFad::operator /(const TinyFad<17,L> & un, const TinyFad<17,R> & deux), dividing by 0");
911 value_type dval = deux.
val();
913 tmp.d0() = ( un.d0()* deux.
val() - un.
val() * deux.d0() ) / dval / dval ;
915 tmp.d1() = ( un.d1()* deux.
val() - un.
val() * deux.d1() ) / dval / dval ;
917 tmp.d2() = ( un.d2()* deux.
val() - un.
val() * deux.d2() ) / dval / dval ;
919 tmp.d3() = ( un.d3()* deux.
val() - un.
val() * deux.d3() ) / dval / dval ;
921 tmp.d4() = ( un.d4()* deux.
val() - un.
val() * deux.d4() ) / dval / dval ;
923 tmp.d5() = ( un.d5()* deux.
val() - un.
val() * deux.d5() ) / dval / dval ;
925 tmp.d6() = ( un.d6()* deux.
val() - un.
val() * deux.d6() ) / dval / dval ;
927 tmp.d7() = ( un.d7()* deux.
val() - un.
val() * deux.d7() ) / dval / dval ;
929 tmp.d8() = ( un.d8()* deux.
val() - un.
val() * deux.d8() ) / dval / dval ;
931 tmp.d9() = ( un.d9()* deux.
val() - un.
val() * deux.d9() ) / dval / dval ;
933 tmp.d10() = ( un.d10()* deux.
val() - un.
val() * deux.d10() ) / dval / dval ;
935 tmp.d11() = ( un.d11()* deux.
val() - un.
val() * deux.d11() ) / dval / dval ;
937 tmp.d12() = ( un.d12()* deux.
val() - un.
val() * deux.d12() ) / dval / dval ;
939 tmp.d13() = ( un.d13()* deux.
val() - un.
val() * deux.d13() ) / dval / dval ;
941 tmp.d14() = ( un.d14()* deux.
val() - un.
val() * deux.d14() ) / dval / dval ;
943 tmp.d15() = ( un.d15()* deux.
val() - un.
val() * deux.d15() ) / dval / dval ;
945 tmp.d16() = ( un.d16()* deux.
val() - un.
val() * deux.d16() ) / dval / dval ;
947 tmp.
val() = un.
val() / dval;
952 template <
class L,
class R>
inline 958 if (deux.
val() == 0.)
error(
"TinyFad & TinyFad::operator /(const L & un, const TinyFad<17,R> & deux), dividing by 0");
962 value_type dval = deux.
val();
964 tmp.d0() = - un * deux.d0() / dval / dval ;
966 tmp.d1() = - un * deux.d1() / dval / dval ;
968 tmp.d2() = - un * deux.d2() / dval / dval ;
970 tmp.d3() = - un * deux.d3() / dval / dval ;
972 tmp.d4() = - un * deux.d4() / dval / dval ;
974 tmp.d5() = - un * deux.d5() / dval / dval ;
976 tmp.d6() = - un * deux.d6() / dval / dval ;
978 tmp.d7() = - un * deux.d7() / dval / dval ;
980 tmp.d8() = - un * deux.d8() / dval / dval ;
982 tmp.d9() = - un * deux.d9() / dval / dval ;
984 tmp.d10() = - un * deux.d10() / dval / dval ;
986 tmp.d11() = - un * deux.d11() / dval / dval ;
988 tmp.d12() = - un * deux.d12() / dval / dval ;
990 tmp.d13() = - un * deux.d13() / dval / dval ;
992 tmp.d14() = - un * deux.d14() / dval / dval ;
994 tmp.d15() = - un * deux.d15() / dval / dval ;
996 tmp.d16() = - un * deux.d16() / dval / dval ;
998 tmp.
val() = un / dval;
1003 template <
class L,
class R>
inline 1009 if (deux == 0.)
error(
"TinyFad & TinyFad::operator /(const TinyFad<17,L> & un, const R & deux), dividing by 0");
1014 tmp.d0() = un.d0() / deux;
1016 tmp.d1() = un.d1() / deux;
1018 tmp.d2() = un.d2() / deux;
1020 tmp.d3() = un.d3() / deux;
1022 tmp.d4() = un.d4() / deux;
1024 tmp.d5() = un.d5() / deux;
1026 tmp.d6() = un.d6() / deux;
1028 tmp.d7() = un.d7() / deux;
1030 tmp.d8() = un.d8() / deux;
1032 tmp.d9() = un.d9() / deux;
1034 tmp.d10() = un.d10() / deux;
1036 tmp.d11() = un.d11() / deux;
1038 tmp.d12() = un.d12() / deux;
1040 tmp.d13() = un.d13() / deux;
1042 tmp.d14() = un.d14() / deux;
1044 tmp.d15() = un.d15() / deux;
1046 tmp.d16() = un.d16() / deux;
1048 tmp.
val() = un.
val() / deux;
1080 if ( in.
val() <= 0)
error(
"TinyFad log (const TinyFad& in) : zero or negative value");
1083 tmp.
d0() = in.
d0() / in.
val();
1084 tmp.
d1() = in.
d1() / in.
val();
1085 tmp.
d2() = in.
d2() / in.
val();
1086 tmp.
d3() = in.
d3() / in.
val();
1087 tmp.
d4() = in.
d4() / in.
val();
1088 tmp.
d5() = in.
d5() / in.
val();
1089 tmp.
d6() = in.
d6() / in.
val();
1090 tmp.
d7() = in.
d7() / in.
val();
1091 tmp.
d8() = in.
d8() / in.
val();
1092 tmp.
d9() = in.
d9() / in.
val();
1106 if ( in.
val() < 0. )
error(
"TinyFad<17,T> sqrt (const TinyFad& in) : negative value");
1110 if ( in.
val() == T(0.) ){
1111 if ( in.
d0() != T(0.) ) test =
false;
1113 if ( in.
d1() != T(0.) ) test =
false;
1115 if ( in.
d2() != T(0.) ) test =
false;
1117 if ( in.
d3() != T(0.) ) test =
false;
1119 if ( in.
d4() != T(0.) ) test =
false;
1121 if ( in.
d5() != T(0.) ) test =
false;
1123 if ( in.
d6() != T(0.) ) test =
false;
1125 if ( in.
d7() != T(0.) ) test =
false;
1127 if ( in.
d8() != T(0.) ) test =
false;
1129 if ( in.
d9() != T(0.) ) test =
false;
1131 if ( in.
d10() != T(0.) ) test =
false;
1133 if ( in.
d11() != T(0.) ) test =
false;
1135 if ( in.
d12() != T(0.) ) test =
false;
1137 if ( in.
d13() != T(0.) ) test =
false;
1139 if ( in.
d14() != T(0.) ) test =
false;
1141 if ( in.
d15() != T(0.) ) test =
false;
1143 if ( in.
d16() != T(0.) ) test =
false;
1146 error(
"TinyFad<17,T> sqrt (const TinyFad& in) : null value");
1223 if ( in.
val() == 0)
error(
"TinyFad tan (const TinyFad& in) undiefined in 0.");
1226 T cosinus =
cos(in.
val());
1227 tmp.
d0() = in.
d0() / cosinus / cosinus;
1228 tmp.
d1() = in.
d1() / cosinus / cosinus;
1229 tmp.
d2() = in.
d2() / cosinus / cosinus;
1230 tmp.
d3() = in.
d3() / cosinus / cosinus;
1231 tmp.
d4() = in.
d4() / cosinus / cosinus;
1232 tmp.
d5() = in.
d5() / cosinus / cosinus;
1233 tmp.
d6() = in.
d6() / cosinus / cosinus;
1234 tmp.
d7() = in.
d7() / cosinus / cosinus;
1235 tmp.
d8() = in.
d8() / cosinus / cosinus;
1236 tmp.
d9() = in.
d9() / cosinus / cosinus;
1237 tmp.
d10() = in.
d10() / cosinus / cosinus;
1238 tmp.
d11() = in.
d11() / cosinus / cosinus;
1239 tmp.
d12() = in.
d12() / cosinus / cosinus;
1240 tmp.
d13() = in.
d13() / cosinus / cosinus;
1241 tmp.
d14() = in.
d14() / cosinus / cosinus;
1242 tmp.
d15() = in.
d15() / cosinus / cosinus;
1243 tmp.
d16() = in.
d16() / cosinus / cosinus;
1275 if (un.
val() == 0)
error(
"TinyFad pow (const TinyFad& un, const TinyFad& deux), un = 0. ");
1320 tmp.d0() = e*in.
d0()*
pow((
double)in.
val(), (double)e-1);
1321 tmp.d1() = e*in.
d1()*
pow((
double)in.
val(), (double)e-1);
1322 tmp.d2() = e*in.
d2()*
pow((
double)in.
val(), (double)e-1);
1323 tmp.d3() = e*in.
d3()*
pow((
double)in.
val(), (double)e-1);
1324 tmp.d4() = e*in.
d4()*
pow((
double)in.
val(), (double)e-1);
1325 tmp.d5() = e*in.
d5()*
pow((
double)in.
val(), (double)e-1);
1326 tmp.d6() = e*in.
d6()*
pow((
double)in.
val(), (double)e-1);
1327 tmp.d7() = e*in.
d7()*
pow((
double)in.
val(), (double)e-1);
1328 tmp.d8() = e*in.
d8()*
pow((
double)in.
val(), (double)e-1);
1329 tmp.d9() = e*in.
d9()*
pow((
double)in.
val(), (double)e-1);
1330 tmp.d10() = e*in.
d10()*
pow((
double)in.
val(), (double)e-1);
1331 tmp.d11() = e*in.
d11()*
pow((
double)in.
val(), (double)e-1);
1332 tmp.d12() = e*in.
d12()*
pow((
double)in.
val(), (double)e-1);
1333 tmp.d13() = e*in.
d13()*
pow((
double)in.
val(), (double)e-1);
1334 tmp.d14() = e*in.
d14()*
pow((
double)in.
val(), (double)e-1);
1335 tmp.d15() = e*in.
d15()*
pow((
double)in.
val(), (double)e-1);
1336 tmp.d16() = e*in.
d16()*
pow((
double)in.
val(), (double)e-1);
1343 int sign = in.
val() > 0? 1:0;
1345 if (sign)
return in;
1349 template <
class T> std::ostream& operator << (std::ostream& os, const TinyFad<17,T>& a)
1351 os.setf(std::ios::fixed,std::ios::scientific);
1353 os << a.
val() <<
" [";
TinyFad< 17, T > log(const TinyFad< 17, T > &in)
void diff(const size_t ith, const size_t sz)
TinyFad< Num, T > & operator-=(const TinyFad< Num, T > &in)
TinyFad< 17, T > sin(const TinyFad< 17, T > &in)
TinyFad< 17, T > & operator--()
TinyFad< 17, T > abs(const TinyFad< 17, T > &in)
TinyFad< 17, T > sqrt(const TinyFad< 17, T > &in)
TinyFad< 17, T > operator-(const TinyFad< 17, T > &in)
TinyFad< 17, typename NumericalTraits< L, R >::promote > operator/(const TinyFad< 17, L > &un, const TinyFad< 17, R > &deux)
const T & dx(int i) const
TinyFad(const TinyFad< 17, T > &in)
AutoPointerMutexArrayInit tmp
TinyFad< 17, T > exp(const TinyFad< 17, T > &in)
TinyFad< 17, T > tan(const TinyFad< 17, T > &in)
TinyFad(const No_Initialization &)
TinyFad< 17, typename NumericalTraits< L, R >::promote > operator*(const TinyFad< 17, L > &un, const TinyFad< 17, R > &deux)
TinyFad< Num, T > & operator=(const TinyFad< Num, T > &in)
TinyFad< 17, T > operator++(int)
TinyFad< 17, T > operator--(int)
TinyFad< Num, T > & operator+=(const TinyFad< Num, T > &in)
TinyFad(const T &ind, const int ini)
TinyFad< Num, T > & operator*=(const TinyFad< Num, T > &in)
TinyFad< 17, T > cos(const TinyFad< 17, T > &in)
TinyFad< Num, T > & operator/=(const TinyFad< Num, T > &in)
TinyFad< 17, T > operator+(const TinyFad< 17, T > &in)
TinyFad< 17, T > & operator++()
TinyFad< 17, T > pow(const TinyFad< 17, T > &in, double e)