Codebase list cppad / upstream/2015.00.00.7 doc / whats_new_04.xml
upstream/2015.00.00.7

Tree @upstream/2015.00.00.7 (Download .tar.gz)

whats_new_04.xml @upstream/2015.00.00.7raw · history · blame

   1
   2
   3
   4
   5
   6
   7
   8
   9
  10
  11
  12
  13
  14
  15
  16
  17
  18
  19
  20
  21
  22
  23
  24
  25
  26
  27
  28
  29
  30
  31
  32
  33
  34
  35
  36
  37
  38
  39
  40
  41
  42
  43
  44
  45
  46
  47
  48
  49
  50
  51
  52
  53
  54
  55
  56
  57
  58
  59
  60
  61
  62
  63
  64
  65
  66
  67
  68
  69
  70
  71
  72
  73
  74
  75
  76
  77
  78
  79
  80
  81
  82
  83
  84
  85
  86
  87
  88
  89
  90
  91
  92
  93
  94
  95
  96
  97
  98
  99
 100
 101
 102
 103
 104
 105
 106
 107
 108
 109
 110
 111
 112
 113
 114
 115
 116
 117
 118
 119
 120
 121
 122
 123
 124
 125
 126
 127
 128
 129
 130
 131
 132
 133
 134
 135
 136
 137
 138
 139
 140
 141
 142
 143
 144
 145
 146
 147
 148
 149
 150
 151
 152
 153
 154
 155
 156
 157
 158
 159
 160
 161
 162
 163
 164
 165
 166
 167
 168
 169
 170
 171
 172
 173
 174
 175
 176
 177
 178
 179
 180
 181
 182
 183
 184
 185
 186
 187
 188
 189
 190
 191
 192
 193
 194
 195
 196
 197
 198
 199
 200
 201
 202
 203
 204
 205
 206
 207
 208
 209
 210
 211
 212
 213
 214
 215
 216
 217
 218
 219
 220
 221
 222
 223
 224
 225
 226
 227
 228
 229
 230
 231
 232
 233
 234
 235
 236
 237
 238
 239
 240
 241
 242
 243
 244
 245
 246
 247
 248
 249
 250
 251
 252
 253
 254
 255
 256
 257
 258
 259
 260
 261
 262
 263
 264
 265
 266
 267
 268
 269
 270
 271
 272
 273
 274
 275
 276
 277
 278
 279
 280
 281
 282
 283
 284
 285
 286
 287
 288
 289
 290
 291
 292
 293
 294
 295
 296
 297
 298
 299
 300
 301
 302
 303
 304
 305
 306
 307
 308
 309
 310
 311
 312
 313
 314
 315
 316
 317
 318
 319
 320
 321
 322
 323
 324
 325
 326
 327
 328
 329
 330
 331
 332
 333
 334
 335
 336
 337
 338
 339
 340
 341
 342
 343
 344
 345
 346
 347
 348
 349
 350
 351
 352
 353
 354
 355
 356
 357
 358
 359
 360
 361
 362
 363
 364
 365
 366
 367
 368
 369
 370
 371
 372
 373
 374
 375
 376
 377
 378
 379
 380
 381
 382
 383
 384
 385
 386
 387
 388
 389
 390
 391
 392
 393
 394
 395
 396
 397
 398
 399
 400
 401
 402
 403
 404
 405
 406
 407
 408
 409
 410
 411
 412
 413
 414
 415
 416
 417
 418
 419
 420
 421
 422
 423
 424
 425
 426
 427
 428
 429
 430
 431
 432
 433
 434
 435
 436
 437
 438
 439
 440
 441
 442
 443
 444
 445
 446
 447
 448
 449
 450
 451
 452
 453
 454
 455
 456
 457
 458
 459
 460
 461
 462
 463
 464
 465
 466
 467
 468
 469
 470
 471
 472
 473
 474
 475
 476
 477
 478
 479
 480
 481
 482
 483
 484
 485
 486
 487
 488
 489
 490
 491
 492
 493
 494
 495
 496
 497
 498
 499
 500
 501
 502
 503
 504
 505
 506
 507
 508
 509
 510
 511
 512
 513
 514
 515
 516
 517
 518
 519
 520
 521
 522
 523
 524
 525
 526
 527
 528
 529
 530
 531
 532
 533
 534
 535
 536
 537
 538
 539
 540
 541
 542
 543
 544
 545
 546
 547
 548
 549
 550
 551
 552
 553
 554
 555
 556
 557
 558
 559
 560
 561
 562
 563
 564
 565
 566
 567
 568
 569
 570
 571
 572
 573
 574
 575
 576
 577
 578
 579
 580
 581
 582
 583
 584
 585
 586
 587
 588
 589
 590
 591
 592
 593
 594
 595
 596
 597
 598
 599
 600
 601
 602
 603
 604
 605
 606
 607
 608
 609
 610
 611
 612
 613
 614
 615
 616
 617
 618
 619
 620
 621
 622
 623
 624
 625
 626
 627
 628
 629
 630
 631
 632
 633
 634
 635
 636
 637
 638
 639
 640
 641
 642
 643
 644
 645
 646
 647
 648
 649
 650
 651
 652
 653
 654
 655
 656
 657
 658
 659
 660
 661
 662
 663
 664
 665
 666
 667
 668
 669
 670
 671
 672
 673
 674
 675
 676
 677
 678
 679
 680
 681
 682
 683
 684
 685
 686
 687
 688
 689
 690
 691
 692
 693
 694
 695
 696
 697
 698
 699
 700
 701
 702
 703
 704
 705
 706
 707
 708
 709
 710
 711
 712
 713
 714
 715
 716
 717
 718
 719
 720
 721
 722
 723
 724
 725
 726
 727
 728
 729
 730
 731
 732
 733
 734
 735
 736
 737
 738
 739
 740
 741
 742
 743
 744
 745
 746
 747
 748
 749
 750
 751
 752
 753
 754
 755
 756
 757
 758
 759
 760
 761
 762
 763
 764
 765
 766
 767
 768
 769
 770
 771
 772
 773
 774
 775
 776
 777
 778
 779
 780
 781
 782
 783
 784
 785
 786
 787
 788
 789
 790
 791
 792
 793
 794
 795
 796
 797
 798
 799
 800
 801
 802
 803
 804
 805
 806
 807
 808
 809
 810
 811
 812
 813
 814
 815
 816
 817
 818
 819
 820
 821
 822
 823
 824
 825
 826
 827
 828
 829
 830
 831
 832
 833
 834
 835
 836
 837
 838
 839
 840
 841
 842
 843
 844
 845
 846
 847
 848
 849
 850
 851
 852
 853
 854
 855
 856
 857
 858
 859
 860
 861
 862
 863
 864
 865
 866
 867
 868
 869
 870
 871
 872
 873
 874
 875
 876
 877
 878
 879
 880
 881
 882
 883
 884
 885
 886
 887
 888
 889
 890
 891
 892
 893
 894
 895
 896
 897
 898
 899
 900
 901
 902
 903
 904
 905
 906
 907
 908
 909
 910
 911
 912
 913
 914
 915
 916
 917
 918
 919
 920
 921
 922
 923
 924
 925
 926
 927
 928
 929
 930
 931
 932
 933
 934
 935
 936
 937
 938
 939
 940
 941
 942
 943
 944
 945
 946
 947
 948
 949
 950
 951
 952
 953
 954
 955
 956
 957
 958
 959
 960
 961
 962
 963
 964
 965
 966
 967
 968
 969
 970
 971
 972
 973
 974
 975
 976
 977
 978
 979
 980
 981
 982
 983
 984
 985
 986
 987
 988
 989
 990
 991
 992
 993
 994
 995
 996
 997
 998
 999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>Changes and Additions to CppAD During 2004</title>
<meta http-equiv='Content-Type' content='text/html' charset='utf-8'/>
<meta name="description" id="description" content="Changes and Additions to CppAD During 2004"/>
<meta name="keywords" id="keywords" content=" changes and additions to cppad during 2004 introduction 12-11 12-09 12-03 11-17 11-16 11-15 11-14 11-13 11-12 11-10 11-04 11-02 11-01 10-29 10-28 10-27 10-21 10-19 10-16 10-06 09-29 09-26 09-23 09-21 09-13 09-10 09-09 09-07 09-04 09-02 08-27 08-25 08-24 08-12 07-31 07-08 07-07 07-03 07-02 06-29 06-25 06-12 06-04 06-03 06-01 05-30 05-29 05-26 05-25 05-14 05-12 05-09 05-07 05-04 05-03 04-29 04-28 04-25 04-24 04-22 04-21 04-20 04-19 04-09 04-08 04-07 04-03 04-02 04-01 03-30 03-28 03-25 03-18 03-17 03-15 03-12 03-11 03-09 03-07 03-06 03-05 03-04 03-03 03-01 02-29 02-28 02-21 02-20 02-17 02-16 02-15 02-12 02-01 01-29 01-28 01-22 "/>
<style type='text/css'>
body { color : black }
body { background-color : white }
A:link { color : blue }
A:visited { color : purple }
A:active { color : purple }
</style>
<script type='text/javascript' language='JavaScript' src='_whats_new_04_xml.js'>
</script>
</head>
<body>
<table><tr>
<td>
<a href="http://www.coin-or.org/CppAD/" target="_top"><img border="0" src="_image.gif"/></a>
</td>
<td><a href="whats_new_05.xml" target="_top">Prev</a>
</td><td><a href="whats_new_03.xml" target="_top">Next</a>
</td><td>
<select onchange='choose_across0(this)'>
<option>Index-&gt;</option>
<option>contents</option>
<option>reference</option>
<option>index</option>
<option>search</option>
<option>external</option>
</select>
</td>
<td>
<select onchange='choose_up0(this)'>
<option>Up-&gt;</option>
<option>CppAD</option>
<option>Appendix</option>
<option>whats_new</option>
<option>whats_new_04</option>
</select>
</td>
<td>
<select onchange='choose_down3(this)'>
<option>CppAD-&gt;</option>
<option>Install</option>
<option>Introduction</option>
<option>AD</option>
<option>ADFun</option>
<option>preprocessor</option>
<option>multi_thread</option>
<option>library</option>
<option>ipopt_solve</option>
<option>Example</option>
<option>speed</option>
<option>Appendix</option>
</select>
</td>
<td>
<select onchange='choose_down2(this)'>
<option>Appendix-&gt;</option>
<option>Faq</option>
<option>Theory</option>
<option>glossary</option>
<option>Bib</option>
<option>Bugs</option>
<option>WishList</option>
<option>whats_new</option>
<option>deprecated</option>
<option>compare_c</option>
<option>License</option>
</select>
</td>
<td>
<select onchange='choose_down1(this)'>
<option>whats_new-&gt;</option>
<option>whats_new_14</option>
<option>whats_new_13</option>
<option>whats_new_12</option>
<option>whats_new_11</option>
<option>whats_new_10</option>
<option>whats_new_09</option>
<option>whats_new_08</option>
<option>whats_new_07</option>
<option>whats_new_06</option>
<option>whats_new_05</option>
<option>whats_new_04</option>
<option>whats_new_03</option>
</select>
</td>
<td>whats_new_04</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Introduction</option>
<option>12-11</option>
<option>12-09</option>
<option>12-03</option>
<option>11-17</option>
<option>11-16</option>
<option>11-15</option>
<option>11-14</option>
<option>11-13</option>
<option>11-12</option>
<option>11-10</option>
<option>11-04</option>
<option>11-02</option>
<option>11-01</option>
<option>10-29</option>
<option>10-28</option>
<option>10-27</option>
<option>10-21</option>
<option>10-19</option>
<option>10-16</option>
<option>10-06</option>
<option>09-29</option>
<option>09-26</option>
<option>09-23</option>
<option>09-21</option>
<option>09-13</option>
<option>09-10</option>
<option>09-09</option>
<option>09-07</option>
<option>09-04</option>
<option>09-02</option>
<option>08-27</option>
<option>08-25</option>
<option>08-24</option>
<option>08-12</option>
<option>07-31</option>
<option>07-08</option>
<option>07-07</option>
<option>07-03</option>
<option>07-02</option>
<option>06-29</option>
<option>06-25</option>
<option>06-12</option>
<option>06-04</option>
<option>06-03</option>
<option>06-01</option>
<option>05-30</option>
<option>05-29</option>
<option>05-26</option>
<option>05-25</option>
<option>05-14</option>
<option>05-12</option>
<option>05-09</option>
<option>05-07</option>
<option>05-04</option>
<option>05-03</option>
<option>04-29</option>
<option>04-28</option>
<option>04-25</option>
<option>04-24</option>
<option>04-22</option>
<option>04-21</option>
<option>04-20</option>
<option>04-19</option>
<option>04-09</option>
<option>04-08</option>
<option>04-07</option>
<option>04-03</option>
<option>04-02</option>
<option>04-01</option>
<option>03-30</option>
<option>03-28</option>
<option>03-25</option>
<option>03-18</option>
<option>03-17</option>
<option>03-15</option>
<option>03-12</option>
<option>03-11</option>
<option>03-09</option>
<option>03-07</option>
<option>03-06</option>
<option>03-05</option>
<option>03-04</option>
<option>03-03</option>
<option>03-01</option>
<option>02-29</option>
<option>02-28</option>
<option>02-21</option>
<option>02-20</option>
<option>02-17</option>
<option>02-16</option>
<option>02-15</option>
<option>02-12</option>
<option>02-01</option>
<option>01-29</option>
<option>01-28</option>
<option>01-22</option>
</select>
</td>
</tr></table><br/>



<center><b><big><big>Changes and Additions to CppAD During 2004</big></big></b></center>
<br/>
<b><big><a name="Introduction" id="Introduction">Introduction</a></big></b>
<br/>
This section contains a list of the changes plus future plans for 
CppAD during 2004
(in reverse order by date).
The purpose of this section is to
assist you in learning about changes between various versions.


<br/>
<br/>
<b><big><a name="12-11" id="12-11">12-11</a></big></b>
<br/>
The documentation for the CppAD error macros was improved.
The package title in <a href="cppad.xml" target="_top"><span style='white-space: nowrap'>cppad</span></a>
 was changed.
The documentation for <a href="cppad_vector.xml" target="_top"><span style='white-space: nowrap'>CppAD::vector</span></a>
 
was improved and the corresponding source code 
<code><font color="blue">cppad/vector.hpp</font></code> was included.

<br/>
<br/>
<b><big><a name="12-09" id="12-09">12-09</a></big></b>
<br/>
The <a href="lusolve.xml" target="_top"><span style='white-space: nowrap'>LuSolve</span></a>
 and <code><font color="blue">OdeRunge</font></code> source code
was modified to make the more in line with the introduction
to C++ AD book
(<code><font color="blue">OdeRunge</font></code> has been replaced by <a href="runge45.xml" target="_top"><span style='white-space: nowrap'>Runge45</span></a>
).
In addition, the examples <code><font color="blue">OdeRunge.cpp</font></code> and
<a href="lu_solve.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_solve.cpp</span></a>
 were modified to make the simpler.
(The more complex version of <code><font color="blue">OdeRunge.cpp</font></code>
was moved to the <code><font color="blue">TestMore</font></code> directory.)

<br/>
<br/>
<b><big><a name="12-03" id="12-03">12-03</a></big></b>
<br/>
The <a href="poly.xml" target="_top"><span style='white-space: nowrap'>Poly</span></a>
 documentation and source code were modified to
make them more in line with the introduction to C++ AD book.

<br/>
<br/>
<b><big><a name="11-17" id="11-17">11-17</a></big></b>
<br/>
Changing to Autoconf and Automake on
<a href="whats_new_04.xml#08-24" target="_top"><span style='white-space: nowrap'>08-24</span></a>
 mistakenly forgot 
the <code><font color="blue">-Wall</font></code> compiler switch (all warnings).
This has been added and the corresponding warnings
have been fixed.

<br/>
<br/>
<b><big><a name="11-16" id="11-16">11-16</a></big></b>
<br/>
The 11-15 Debug version would not compile under Visual C++ version 7.0 
because a declaration of <code><font color="blue">LessThanOrZero</font></code> was missing.
This has been fixed.

<br/>
<br/>
<b><big><a name="11-15" id="11-15">11-15</a></big></b>
<br/>
The <a href="forone.xml" target="_top"><span style='white-space: nowrap'>ForOne</span></a>
 and <a href="revone.xml" target="_top"><span style='white-space: nowrap'>RevOne</span></a>

easy to use  <a href="drivers.xml" target="_top"><span style='white-space: nowrap'>drivers</span></a>
 were added.

<br/>
<br/>
<b><big><a name="11-14" id="11-14">11-14</a></big></b>
<br/>
The notation in the <a href="adfun.xml" target="_top"><span style='white-space: nowrap'>ADFun</span></a>
 sections was changed
to make the <a href="forward.xml" target="_top"><span style='white-space: nowrap'>Forward</span></a>
 and <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
 routines
easier to use.


<br/>
<br/>
<b><big><a name="11-13" id="11-13">11-13</a></big></b>
<br/>
The Taylor coefficient vector and matrix notation was folded into
just <a href="glossary.xml#Taylor Coefficient" target="_top"><span style='white-space: nowrap'>Taylor&#xA0;coefficients</span></a>
.

<br/>
<br/>
<b><big><a name="11-12" id="11-12">11-12</a></big></b>
<br/>
If <code><font color="blue">NDEBUG</font></code> is not defined during compile time,
all 
<code><font color="blue"><span style='white-space: nowrap'>AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;</span></font></code>
 
<a href="compare.xml" target="_top"><span style='white-space: nowrap'>comparison</span></a>
 operations are checked during
<a href="forward_zero.xml" target="_top"><span style='white-space: nowrap'>zero&#xA0;order</span></a>
 forward mode calculations.
The 
<a href="comparechange.xml" target="_top"><span style='white-space: nowrap'>CompareChange</span></a>
 function
returns the number of comparison operations that have changed.

<br/>
<br/>
<b><big><a name="11-10" id="11-10">11-10</a></big></b>
<br/>
The <a href="get_started.cpp.xml" target="_top"><span style='white-space: nowrap'>get_started.cpp</span></a>
 example was changed to use the 
<a href="jacobian.xml" target="_top"><span style='white-space: nowrap'>Jacobian</span></a>
 driver.
In addition, more <a href="_index.xml" target="_top"><span style='white-space: nowrap'>index</span></a>
 entries,
that point to the <a href="drivers.xml" target="_top"><span style='white-space: nowrap'>easy&#xA0;to&#xA0;use&#xA0;drivers</span></a>
, 
were added.

<br/>
<br/>
<b><big><a name="11-04" id="11-04">11-04</a></big></b>
<br/>
The Microsoft Visual Studio
project file <code><font color="blue">example/Example.dsp/</font></code> was missing some
new examples that needed to be linked in
the install windows procedure.
This has been fixed.

<br/>
<br/>
<b><big><a name="11-02" id="11-02">11-02</a></big></b>
<br/>
The <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;installation</span></a>
 required the user
to touch the files to get the dates in proper order.
This is no longer necessary.

<br/>
<br/>
<b><big><a name="11-01" id="11-01">11-01</a></big></b>
<br/>
Some of the dependency directories and files, for example 
<code><font color="blue">PrintFor/.deps</font></code> and
<code><font color="blue">PrintFor/.deps/PrintFor.Po</font></code> had an extra <code><font color="blue">?</font></code>
at the end of their names.
This seems to have been fixed by using a newer version of the autoconf
and automake tools.

<br/>
<br/>
<b><big><a name="10-29" id="10-29">10-29</a></big></b>
<br/>
Add the example and test <a href="simple_vector.cpp.xml" target="_top"><span style='white-space: nowrap'>simple_vector.cpp</span></a>
 
to the <a href="simplevector.xml" target="_top"><span style='white-space: nowrap'>SimpleVector</span></a>
 documentation.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The specifications for 
<a href="preprocessor.xml" target="_top"><span style='white-space: nowrap'>preprocessor&#xA0;symbols</span></a>

state that all the CppAD preprocessor symbols
begin with <code><font color="blue">CppAD</font></code> 
(so they do not conflict with other packages).
Some preprocessor symbols in the file <code><font color="blue">cppad/config.h</font></code> did
began with <code><font color="blue">WITH_</font></code>.
This has been fixed.

<br/>
<br/>
<b><big><a name="10-28" id="10-28">10-28</a></big></b>
<br/>
The examples 
<a href="hes_lu_det.cpp.xml" target="_top"><span style='white-space: nowrap'>hes_lu_det.cpp</span></a>
,
<a href="hes_minor_det.cpp.xml" target="_top"><span style='white-space: nowrap'>hes_minor_det.cpp</span></a>
,
<a href="jac_lu_det.cpp.xml" target="_top"><span style='white-space: nowrap'>jac_lu_det.cpp</span></a>
,
and
<a href="jac_minor_det.cpp.xml" target="_top"><span style='white-space: nowrap'>jac_minor_det.cpp</span></a>
 used the negative of a <code><font color="blue">size_t</font></code> value.
The value has been changed to an <code><font color="blue">int</font></code>.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="cppad_vector.xml" target="_top"><span style='white-space: nowrap'>CppAD::vector</span></a>
 template class
was converted into a library routine so it can be used
separately from the rest of CppAD.

<br/>
<br/>
<b><big><a name="10-27" id="10-27">10-27</a></big></b>
<br/>
The <a href="printfor.xml" target="_top"><span style='white-space: nowrap'>PrintFor</span></a>
 example was moved to its own directory
because the conversion from VC 6.0 to VC 7.0 projects
did not work when there were multiple executables in one project file.
The <a href="install.xml" target="_top"><span style='white-space: nowrap'>install</span></a>
 instructions were modified to reflect this change.

<br/>
<br/>
<b><big><a name="10-21" id="10-21">10-21</a></big></b>
<br/>
One declaration (for the <a href="value.xml" target="_top"><span style='white-space: nowrap'>Value</span></a>
 function) was missing
from the file <code><font color="blue">cppad/local/Declare.h</font></code>.
This has been added and CppAD should now compile and run
under both Microsoft VC 6.0 and 7.0. 

<br/>
<br/>
<b><big><a name="10-19" id="10-19">10-19</a></big></b>
<br/>
The current version of CppAD has a problem compiling under Microsoft
Visual C++ version 7.0 (it compiles and works under version 6.0).
The problem appears to be due to a closer agreement between VC 7.0 and the
C++ standard for declaring templates functions as friends.
Some friend declarations were removed and others were made more specific
in order to migrate the a version that will compile and run using VC 7.0.

<br/>
<br/>
<b><big><a name="10-16" id="10-16">10-16</a></big></b>
<br/>
The example <a href="compare.cpp.xml" target="_top"><span style='white-space: nowrap'>compare.cpp</span></a>
 displayed the text from
<a href="bool_fun.cpp.xml" target="_top"><span style='white-space: nowrap'>bool_fun.cpp</span></a>
 by mistake.
This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="compare.xml" target="_top"><span style='white-space: nowrap'>Compare</span></a>
 operators have been extended to work with
<code><font color="blue">int</font></code> operands.

<br/>
<br/>
<b><big><a name="10-06" id="10-06">10-06</a></big></b>
<br/>
The test 
<code><font color="blue">TapeDetLu</font></code> was added to <code><font color="blue">speed_cppad/DetLuSpeed.cpp</font></code>
and 
<code><font color="blue">TapeDetMinor</font></code> was added to <code><font color="blue">speed_cppad/DetMinorSpeed.cpp</font></code>.
These tests just tape the calculations without computing any derivatives.
Using this, and the other tests, one can to separate the taping time 
from the derivative calculation time.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The 
windows installation steps
do not build a <code><font color="blue">config.h</font></code> file.
Hence a default <code><font color="blue">config.h</font></code> file was added to the 
distribution for use with Microsoft Visual Studio.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <code><font color="blue">Distribute</font></code> section of the
developer documentation was brought up to date.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Links to the ADOLC and FADBAD download pages were added
to the <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;installation</span></a>
 instructions.

<br/>
<br/>
<b><big><a name="09-29" id="09-29">09-29</a></big></b>
<br/>
The include files for the <a href="library.xml" target="_top"><span style='white-space: nowrap'>library</span></a>
 are now included
by the root file <code><font color="blue">cppad/cppad.hpp</font></code>. 
They can still be included individually with out the rest of
the CppAD package.

<br/>
<br/>
<b><big><a name="09-26" id="09-26">09-26</a></big></b>
<br/>
The routine <code><font color="blue">OdeRunge</font></code> was modified
so that it will now integrate functions of a complex arguments.
This was done by removing
all uses of greater than and less than comparisons were removed.
(<code><font color="blue">OdeRunge</font></code> has been replaced by <a href="runge45.xml" target="_top"><span style='white-space: nowrap'>Runge45</span></a>
).
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The changes on <a href="whats_new_04.xml#09-21" target="_top"><span style='white-space: nowrap'>09-21</span></a>
 did not fix all
the file date and time problems; i.e., automake was still running
in response to the <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;installation</span></a>
 
<code><font color="blue">make</font></code> command.


<br/>
<br/>
<b><big><a name="09-23" id="09-23">09-23</a></big></b>
<br/>
There was a reference to 
<code><i><font color="black"><span style='white-space: nowrap'>B</span></font></i></code>
 that should have been 
<code><i><font color="black"><span style='white-space: nowrap'>X</span></font></i></code>

in the description of the 
<a href="lusolve.xml#X" target="_top"><span style='white-space: nowrap'>X</span></a>
 argument of <code><font color="blue">LuSolve</font></code>.
This has been fixed.

<br/>
<br/>
<b><big><a name="09-21" id="09-21">09-21</a></big></b>
<br/>
The <a href="condexp.xml" target="_top"><span style='white-space: nowrap'>CondExp</span></a>
 function has been modified so that it works properly
for 
<code><font color="blue"><span style='white-space: nowrap'>AD&lt;&#xA0;AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;&#xA0;&gt;</span></font></code>
 types; i.e.,
it now works for multiple levels of taping.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The date of the files <code><font color="blue">aclocal.m4</font></code> and <code><font color="blue">config.h.in</font></code>
were later than the date of top level <code><font color="blue">Makefile.am</font></code>.
This caused the <code><font color="blue">make</font></code> command during the 
<a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;installation</span></a>

to try to run <code><font color="blue">autoconf</font></code>
and this did not work on systems with very old versions of <code><font color="blue">autoconf</font></code>.
This has been fixed.


<br/>
<br/>
<b><big><a name="09-13" id="09-13">09-13</a></big></b>
<br/>
The examples that are specific to an operation were moved
to be below that operation in the documentation tree.
For example
<a href="add.cpp.xml" target="_top"><span style='white-space: nowrap'>add.cpp</span></a>
 is below <a href="ad_binary.xml" target="_top"><span style='white-space: nowrap'>ad_binary</span></a>
 
in the documentation tree.

<br/>
<br/>
<b><big><a name="09-10" id="09-10">09-10</a></big></b>
<br/>
The version released on 04-09-09 did not have the 
new file <code><font color="blue">PrintFor.h</font></code> in <code><font color="blue">cppad/local</font></code>.
This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The 
<code><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i></code>
 type requirements were simplified.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>Unix&#xA0;installation</span></a>
 instructions
were modified so just one make command was executed at the top level.
This was necessary because the order of the makes is now important
(as previously suggested, the makes did not work properly).

<br/>
<br/>
<b><big><a name="09-09" id="09-09">09-09</a></big></b>
<br/>
The <a href="printfor.xml" target="_top"><span style='white-space: nowrap'>PrintFor</span></a>
 function was added so that
users can debug the computation of function values
at arguments that are different from those used when taping.

<br/>
<br/>
<b><big><a name="09-07" id="09-07">09-07</a></big></b>
<br/>
In the <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>Unix&#xA0;installation</span></a>
 instructions
place <code><font color="blue">./</font></code> in front of current directory program names; for example,
<code><font color="blue">./GetStarted</font></code> instead of <code><font color="blue">GetStarted</font></code>
(because some unix systems do not have the current directory
in the default executable path).


<br/>
<br/>
<b><big><a name="09-04" id="09-04">09-04</a></big></b>
<br/>
A library containing the 
<a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
 and <a href="nearequal.xml" target="_top"><span style='white-space: nowrap'>NearEqual</span></a>
 object files
was added to the distribution.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>All of the include files of the form 

<code><font color="blue"><span style='white-space: nowrap'>&lt;cppad/library/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&gt;</span></font></code>
 were moved to

<code><font color="blue"><span style='white-space: nowrap'>&lt;cppad/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&gt;</span></font></code>
. 

<br/>
<br/>
<b><big><a name="09-02" id="09-02">09-02</a></big></b>
<br/>
Some more messages were added to the output of <code><font color="blue">configure</font></code>
during the <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>Unix&#xA0;installation</span></a>
.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The suggested compression program during 
Windows installation
was changed from
<a href="http://www.7-zip.org" target="_top"><span style='white-space: nowrap'>7-zip</span></a>

to
<a href="http://www.winzip.com" target="_top"><span style='white-space: nowrap'>WinZip</span></a>
.


<br/>
<br/>
<b><big><a name="08-27" id="08-27">08-27</a></big></b>
<br/>
The error messages printed by the default version of 
the CppAD error macros had <code><font color="blue">YY-MM-DD</font></code> in place of the 
date for the current version.
This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>All the correctness tests are now compiled with the <code><font color="blue">-g</font></code>
command line option
(the speed tests are still compiled with <code><font color="blue">-O2 -DNDEBUG</font></code>).
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="install.xml" target="_top"><span style='white-space: nowrap'>installation&#xA0;instructions</span></a>
 for 
Unix and Windows were split into separate pages.

<br/>
<br/>
<b><big><a name="08-25" id="08-25">08-25</a></big></b>
<br/>
The <a href="install.xml" target="_top"><span style='white-space: nowrap'>installation</span></a>
 now automates the replacement
of <a href="cppad_vector.xml" target="_top"><span style='white-space: nowrap'>CppAD::vector</span></a>
 by 
either the <code><font color="blue">std::vector</font></code>
or <code><font color="blue">boost::numeric::ublas::vector</font></code>.

<br/>
<br/>
<b><big><a name="08-24" id="08-24">08-24</a></big></b>
<br/>
This date marks the first release that uses
the Gnu tools Autoconf and Automake.
This automates the building of the make files for the
<a href="install.xml" target="_top"><span style='white-space: nowrap'>installation</span></a>
 and is the standard
way to distribute open source software.
This caused some organizational changes,
for example, the <a href="get_started.cpp.xml" target="_top"><span style='white-space: nowrap'>GetStarted</span></a>
 example now 
has its own directory and
the distribution directory is named

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;cppad-</span></font><i><font color="black"><span style='white-space: nowrap'>yy</span></font></i><font color="blue"><span style='white-space: nowrap'>-</span></font><i><font color="black"><span style='white-space: nowrap'>mm</span></font></i><font color="blue"><span style='white-space: nowrap'>-</span></font><i><font color="black"><span style='white-space: nowrap'>dd</span></font></i><font color="blue"><span style='white-space: nowrap'><br/>
</span></font></code>
where 
<code><i><font color="black"><span style='white-space: nowrap'>yy</span></font></i><font color="blue"><span style='white-space: nowrap'>-</span></font><i><font color="black"><span style='white-space: nowrap'>mm</span></font></i><font color="blue"><span style='white-space: nowrap'>-</span></font><i><font color="black"><span style='white-space: nowrap'>dd</span></font></i></code>
 is the year, month and date
of the distribution.
(Note the distribution directory is different from the directory
where CppAD is finally installed.)


<br/>
<br/>
<b><big><a name="08-12" id="08-12">08-12</a></big></b>
<br/>
Move <code><font color="blue">OdeExplicit</font></code> into the <code><font color="blue">cppad/library/</font></code> directory.
In addition, change it so that the vector type was a template argument; i.e.,
works for any type of vector (not just <code><font color="blue">CppADvector</font></code>).

<br/>
<br/>
<b><big><a name="07-31" id="07-31">07-31</a></big></b>
<br/>
Move <a href="lusolve.xml" target="_top"><span style='white-space: nowrap'>LuSolve</span></a>
 into the <code><font color="blue">cppad/library/</font></code> directory.
In addition, change it so that the vector type was a template argument; i.e.,
works for any type of vector (not just <code><font color="blue">CppADvector</font></code>).


<br/>
<br/>
<b><big><a name="07-08" id="07-08">07-08</a></big></b>
<br/>
The file <code><font color="blue">cppad/example/NearEqual.h</font></code> has been moved
to <code><font color="blue">cppad/example/NearEqualExt.h</font></code> because it contains
extensions of the <a href="nearequal.xml" target="_top"><span style='white-space: nowrap'>NearEqual</span></a>
 routine to <code><font color="blue">AD</font></code> types. 

<br/>
<br/>
<b><big><a name="07-07" id="07-07">07-07</a></big></b>
<br/>
The <code><font color="blue">double</font></code> and <code><font color="blue">std::complex&lt;double&gt;</font></code>
cases for the <a href="nearequal.xml" target="_top"><span style='white-space: nowrap'>NearEqual</span></a>
 routine arguments
has been moved to the general purpose <a href="library.xml" target="_top"><span style='white-space: nowrap'>library</span></a>
.

<br/>
<br/>
<b><big><a name="07-03" id="07-03">07-03</a></big></b>
<br/>
The CppAD error macros names
<code><font color="blue">CppADExternalAssert</font></code> and <code><font color="blue">CppADInternalAssert</font></code>
were changed to
<code><font color="blue">CppADUsageError</font></code> and <code><font color="blue">CppADUnknownError</font></code>.
The <a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
 routine was changed to use <code><font color="blue">CppADUsageError</font></code>
instead of a C assert.

<br/>
<br/>
<b><big><a name="07-02" id="07-02">07-02</a></big></b>
<br/>
The <a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
 output was improved so that the columns of
values line up. Previously, this was not the case when
the number of digits in the size changed.

<br/>
<br/>
<b><big><a name="06-29" id="06-29">06-29</a></big></b>
<br/>
Added code to trap and report memory allocation errors during 
<code><font color="blue">new</font></code> operations.

<br/>
<br/>
<b><big><a name="06-25" id="06-25">06-25</a></big></b>
<br/>
A discussion of the order dependence of the
<a href="ad_assign.xml" target="_top"><span style='white-space: nowrap'>assignment</span></a>
 operator
and the 
<a href="independent.xml" target="_top"><span style='white-space: nowrap'>independent&#xA0;function</span></a>

was added to the
<a href="faq.xml#Assignment and Independent" target="_top"><span style='white-space: nowrap'>Faq</span></a>
. 
In addition,
a similar discussion
was added to the documentation for the
<a href="independent.xml" target="_top"><span style='white-space: nowrap'>Independent</span></a>
 function.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The definition of a 
<a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameter</span></a>

and 
<a href="glossary.xml#Variable" target="_top"><span style='white-space: nowrap'>variable</span></a>

were changed to reflect that fact that 
these are time dependent (current) properties
of an 
<code><font color="blue"><span style='white-space: nowrap'>AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;</span></font></code>
 object.


<br/>
<br/>
<b><big><a name="06-12" id="06-12">06-12</a></big></b>
<br/>
All of the 
<a href="arithmetic.xml" target="_top"><span style='white-space: nowrap'>arithmetic&#xA0;operators</span></a>
 
(except for the unary operators)
can now accept <code><font color="blue">int</font></code> arguments.
The documentation for these arguments has been changed to reflect this.
In addition, 
the corresponding test cases have been changed to test this and to
test high order derivative cases.
The old versions of these tests were moved into the
<code><font color="blue">cppad/Test</font></code> directory.


<br/>
<br/>
<b><big><a name="06-04" id="06-04">06-04</a></big></b>
<br/>
The <a href="atan2.xml" target="_top"><span style='white-space: nowrap'>atan2</span></a>
 function was added.

<br/>
<br/>
<b><big><a name="06-03" id="06-03">06-03</a></big></b>
<br/>
The <code><font color="blue">asin</font></code> and <code><font color="blue">acos</font></code> 
<a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>AD&#xA0;standard&#xA0;math&#xA0;unary&#xA0;functions</span></a>
 were added.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>There was a bug the reverse mode theory and calculation of 
derivatives of <a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>sqrt</span></a>
 for fourth and higher orders. 
This has been fixed.
In addition,
the following examples have been changed
so that they test derivative up to fifth order:
<a href="asin.cpp.xml" target="_top"><span style='white-space: nowrap'>asin</span></a>
,
<a href="atan.cpp.xml" target="_top"><span style='white-space: nowrap'>atan</span></a>
,
<a href="cos.cpp.xml" target="_top"><span style='white-space: nowrap'>cos</span></a>
,
<a href="exp.cpp.xml" target="_top"><span style='white-space: nowrap'>exp</span></a>
,
<a href="log.cpp.xml" target="_top"><span style='white-space: nowrap'>log</span></a>
,
<a href="sin.cpp.xml" target="_top"><span style='white-space: nowrap'>sin</span></a>
,
<a href="sqrt.cpp.xml" target="_top"><span style='white-space: nowrap'>sqrt</span></a>
.


<br/>
<br/>
<b><big><a name="06-01" id="06-01">06-01</a></big></b>
<br/>
There was a bug in the <a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>atan</span></a>
 function 
<a href="forward.xml" target="_top"><span style='white-space: nowrap'>forward&#xA0;mode</span></a>
 calculations for Taylor coefficient
orders greater than two.
This has been fixed.

<br/>
<br/>
<b><big><a name="05-30" id="05-30">05-30</a></big></b>
<br/>
The <a href="sin.cpp.xml" target="_top"><span style='white-space: nowrap'>sin</span></a>
 and <a href="cos.cpp.xml" target="_top"><span style='white-space: nowrap'>cos</span></a>
 examples were
changed so that they tested higher order derivatives.


<br/>
<br/>
<b><big><a name="05-29" id="05-29">05-29</a></big></b>
<br/>
The forward mode recursion formulas for each of the 
<a href="forwardtheory.xml#Standard Math Functions.Cases that Apply Recursion Above" target="_top"><span style='white-space: nowrap'>standard&#xA0;math&#xA0;functions</span></a>

has been split into separate sections.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>A roman (instead of italic) font was used for the name of
for the name of each of the standard math functions 
in the assumption statements below the section
for the standard math functions.
For example, 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<mi>sin</mi>
<mo stretchy="false">(</mo>
<mi mathvariant='italic'>x</mi>
<mo stretchy="false">)</mo>
</mrow></math>

 instead of 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<mi mathvariant='italic'>sin</mi>
<mo stretchy="false">(</mo>
<mi mathvariant='italic'>x</mi>
<mo stretchy="false">)</mo>
</mrow></math>

.


<br/>
<br/>
<b><big><a name="05-26" id="05-26">05-26</a></big></b>
<br/>
In the documentation for <a href="poly.xml" target="_top"><span style='white-space: nowrap'>Poly</span></a>
,
the reference to <code><font color="blue">example/Poly.h</font></code> 
was corrected to <code><font color="blue">cppad/library/Poly.h</font></code>.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>In the documentation for <a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
,
the reference to <code><font color="blue">Lib/SpeedTest.h</font></code> 
was corrected to <code><font color="blue">cppad/library/SpeedTest.h</font></code>.
In addition, the example case was corrected.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>In <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
, the definition for 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<mi mathvariant='italic'>U</mi>
<mo stretchy="false">(</mo>
<mi mathvariant='italic'>t</mi>
<mo stretchy="false">,</mo>
<mi mathvariant='italic'>u</mi>
<mo stretchy="false">)</mo>
</mrow></math>

 had

<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<msup><mi mathvariant='italic'>t</mi>
<mi mathvariant='italic'>p</mi>
</msup>
<mn>-1</mn>
</mrow></math>

 where it should have had 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<msup><mi mathvariant='italic'>t</mi>
<mrow><mi mathvariant='italic'>p</mi>
<mn>-1</mn>
</mrow>
</msup>
</mrow></math>

.
This has been fixed.


<br/>
<br/>
<b><big><a name="05-25" id="05-25">05-25</a></big></b>
<br/>
The special case where the second argument to the <a href="pow.xml" target="_top"><span style='white-space: nowrap'>pow</span></a>
 function is an
<code><font color="blue">int</font></code> has been added.

<br/>
<br/>
<b><big><a name="05-14" id="05-14">05-14</a></big></b>
<br/>
Change all of the include syntax

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&quot;</span></font><i><font color="black"><span style='white-space: nowrap'>filename</span></font></i><font color="blue"><span style='white-space: nowrap'>&quot;<br/>
</span></font></code>
to the syntax

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>filename</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;<br/>
</span></font></code>
so that examples and other use better reflect how one would use CppAD after
it was installed in a standard include directory; for example
<code><font color="blue">/usr/local/include/cppad</font></code>.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The user documentation was moved from the directory 
<code><font color="blue">cppad/User</font></code> to the directory <code><font color="blue">cppad/Doc</font></code>.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The directory <code><font color="blue">cppad/Lib</font></code> was moved to <code><font color="blue">cppad/library</font></code>
to reflect that fact that it is not what one expects in a standard 
<code><font color="blue">lib</font></code> directory or a standard <code><font color="blue">include</font></code> directory.


<br/>
<br/>
<b><big><a name="05-12" id="05-12">05-12</a></big></b>
<br/>
The string <code><font color="blue">YY-MM-DD</font></code> in the preprocessor symbol <code><font color="blue">CppADVersion</font></code> 
was not being replaced by the current date during distribution.
This resulted in the <code><font color="blue">CppADExternalAssert</font></code> macro printing 
<code><font color="blue">YY-MM-DD</font></code> where is should have printed the date of distribution.  
This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>All of the include commands of the form

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&quot;include/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&quot;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&quot;lib/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&quot;<br/>
</span></font></code>
have been changed to the form

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&quot;cppad/include/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&quot;<br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;#&#xA0;include&#xA0;&quot;cppad/lib/</span></font><i><font color="black"><span style='white-space: nowrap'>name</span></font></i><font color="blue"><span style='white-space: nowrap'>.h&quot;<br/>
</span></font></code>
This will avoid mistakenly loading a file from another package
that is in the set of directories being searched by the compiler.
It is therefore necessary to specify that the directory above the 
<code><font color="blue">CppAD</font></code> directory be searched by the compiler.
For example,
if <code><font color="blue">CppAD</font></code> is in <code><font color="blue">/usr/local/cppad</font></code>,
you must specify that <code><font color="blue">/usr/local</font></code> be searched by the compiler.
Note that if <code><font color="blue">/usr/local/cppad/</font></code> is no longer searched,
you will have to change 
<code><font color='blue'><pre style='display:inline'> 
	# include &quot;cppad.hpp&quot;
</pre></font></code>

to 
<code><font color='blue'><pre style='display:inline'> 
	# include &quot;cppad/cppad.hpp&quot;
</pre></font></code>
.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The window <code><font color="blue">nmake</font></code> file <code><font color="blue">Speed/Speed.mak</font></code> was out of date.
This has been fixed.

<br/>
<br/>
<b><big><a name="05-09" id="05-09">05-09</a></big></b>
<br/>
Move <a href="poly.xml" target="_top"><span style='white-space: nowrap'>Poly</span></a>
 and <a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
 into the
<code><font color="blue">cppad/Lib</font></code> directory and the <code><font color="blue">CppAD</font></code> namespace.


<br/>
<br/>
<b><big><a name="05-07" id="05-07">05-07</a></big></b>
<br/>
The <a href="div.cpp.xml" target="_top"><span style='white-space: nowrap'>divide&#xA0;operator&#xA0;tests</span></a>
 were extended to
include a second order derivative calculation using reverse mode.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="poly.xml" target="_top"><span style='white-space: nowrap'>Poly</span></a>
 routine was modified to be more efficient in the
derivative case. In addition, it was changed to use an arbitrary
vector for the coefficients (not just a <code><font color="blue">CppADvector</font></code>).


<br/>
<br/>
<b><big><a name="05-04" id="05-04">05-04</a></big></b>
<br/>
A reloading of the data base
caused the files <code><font color="blue">include/atan.h</font></code> and <code><font color="blue">include/cos.h</font></code> to be
mistakenly started with lower case letters.
These have been moved to <code><font color="blue">include/Atan.h</font></code> and <code><font color="blue">include/Cos.h</font></code>
respectively.

<br/>
<br/>
<b><big><a name="05-03" id="05-03">05-03</a></big></b>
<br/>
The <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
 mode calculations for 
<a href="condexp.xml" target="_top"><span style='white-space: nowrap'>conditional&#xA0;expressions</span></a>
 were mistakenly left out.
This has been fixed.

<br/>
<br/>
<b><big><a name="04-29" id="04-29">04-29</a></big></b>
<br/>
The unary functions, such as <a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>sin</span></a>
 and <a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>cos</span></a>
,
were not defined for elements of an <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 vector.
This has been fixed.


<br/>
<br/>
<b><big><a name="04-28" id="04-28">04-28</a></big></b>
<br/>
The operator <a href="cppad_vector.xml#Output" target="_top"><span style='white-space: nowrap'>&lt;&lt;</span></a>
 was added to the
default <a href="test_vector.xml" target="_top"><span style='white-space: nowrap'>test_vector</span></a>
 template class.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>A FADBAD correctness and speed comparison with CppAD
was added.

<br/>
<br/>
<b><big><a name="04-25" id="04-25">04-25</a></big></b>
<br/>
Factor out common sub-expressions in order to make
<a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad.cpp</span></a>
 faster.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Convert description
from C++ Automatic Differentiation to C++ Algorithmic Differentiation.

<br/>
<br/>
<b><big><a name="04-24" id="04-24">04-24</a></big></b>
<br/>
The <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 element class is no longer
a derived class of the <a href="ad.xml" target="_top"><span style='white-space: nowrap'>AD</span></a>
 class.
This enabled a decrease in tape memory
and an increase in the speed for <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 operations.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="std_math_ad.xml" target="_top"><span style='white-space: nowrap'>log10</span></a>
 function was added.


<br/>
<br/>
<b><big><a name="04-22" id="04-22">04-22</a></big></b>
<br/>
Add <a href="condexp.xml" target="_top"><span style='white-space: nowrap'>CondExp</span></a>
 and use it to speed up <a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad.cpp</span></a>
.

<br/>
<br/>
<b><big><a name="04-21" id="04-21">04-21</a></big></b>
<br/>
Use <a href="abs.xml" target="_top"><span style='white-space: nowrap'>abs</span></a>
 to speed up <a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad.cpp</span></a>
.

<br/>
<br/>
<b><big><a name="04-20" id="04-20">04-20</a></big></b>
<br/>
The <a href="abs.xml" target="_top"><span style='white-space: nowrap'>absolute&#xA0;value</span></a>
 function was added.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The value 
<code><i><font color="black"><span style='white-space: nowrap'>n</span></font></i></code>
 for 
<code><font color="blue">OdeExplicit</font></code> and <code><font color="blue">OdeImplicit</font></code> 
is deduced from the argument 
<code><i><font color="black"><span style='white-space: nowrap'>x0</span></font></i></code>
 and is not passed
as a separate argument.
This documentation has been fixed to this effect.



<br/>
<br/>
<b><big><a name="04-19" id="04-19">04-19</a></big></b>
<br/>
The <a href="compute_assign.xml" target="_top"><span style='white-space: nowrap'>+=</span></a>
 operator did not function correctly
when the left hand operand was a 
<a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameter</span></a>

and the right hand operand was a variable
(found by <a href="mailto:magister@u.washington.edu" target="_top"><span style='white-space: nowrap'>Mike&#xA0;Dodds</span></a>
).
This has been fixed.


<br/>
<br/>
<b><big><a name="04-09" id="04-09">04-09</a></big></b>
<br/>
Adding special operators for using parameters to index <code><font color="blue">VecAD</font></code> objects
increased the speed and reduced the memory requirements (by about 20%) for 
the <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 case in the <code><font color="blue">speed_cppad/LuSolveSpeed.cpp/</font></code> test.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 objects are not being handled correctly by the 
<a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
 function.
The <code><font color="blue">VecAD</font></code> test was extended to demonstrate the problem
and the problem was fixed
(it is now part of <code><font color="blue">TestMore/VecAD</font></code>).

<br/>
<br/>
<b><big><a name="04-08" id="04-08">04-08</a></big></b>
<br/>
The example <a href="lu_vec_ad_ok.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad_ok.cpp</span></a>
 
uses <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 to executes different pivoting operations 
during the solution of linear equations with out having to retape.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The speed test <code><font color="blue">speed_cppad/LuSolveSpeed.cpp/</font></code> has been added.
It shows that the initial implementation of <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 is slow
(and uses a lot of memory.) 
In fact, 
it is faster to use <a href="lusolve.xml" target="_top"><span style='white-space: nowrap'>LuSolve</span></a>
 and retape for each set of equations
than it is to use <a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad.cpp</span></a>
 and not have to retape.
This test will help us improve the speed of <a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>lu_vec_ad.cpp</span></a>
.


<br/>
<br/>
<b><big><a name="04-07" id="04-07">04-07</a></big></b>
<br/>
There were bugs in the assignment to <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 elements
during taping that have been fixed.
In addition, an example of tapping the pivoting operations in
an <a href="lu_vec_ad.cpp.xml" target="_top"><span style='white-space: nowrap'>Lu&#xA0;factorization</span></a>
 has been added.

<br/>
<br/>
<b><big><a name="04-03" id="04-03">04-03</a></big></b>
<br/>
Added <code><font color="blue">size_t</font></code> indexing to the <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 class.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Fixed a bug connected to the <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
 class and erasing the tape.

<br/>
<br/>
<b><big><a name="04-02" id="04-02">04-02</a></big></b>
<br/>
Some memory savings is done with regard to equal parameter values
being stored in the tape. There was a bug in this logic when parameter
in an 
<code><font color="blue"><span style='white-space: nowrap'>AD&lt;&#xA0;AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;&#xA0;&gt;</span></font></code>
 class had values that were variables in the 

<code><font color="blue"><span style='white-space: nowrap'>AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;</span></font></code>
 class.
This has been fixed.

<br/>
<br/>
<b><big><a name="04-01" id="04-01">04-01</a></big></b>
<br/>
The name of the class that tapes indexing operations 
was changed from <code><font color="blue">ADVec</font></code> to <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
.
This class was extended so that
the value of elements in these vectors can be variables
(need not be <a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameters</span></a>
).

<br/>
<br/>
<b><big><a name="03-30" id="03-30">03-30</a></big></b>
<br/>
Do some simple searching of the parameter table during taping
avoid multiple copies of parameters on tape (use less tape memory).


<br/>
<br/>
<b><big><a name="03-28" id="03-28">03-28</a></big></b>
<br/>
The version <a href="vecad.xml" target="_top"><span style='white-space: nowrap'>ADVec</span></a>
, 
a vector class that tapes indexing operations,
is now available.
It is currently restricted by the fact that all the
values in the vector must be 
<a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameters</span></a>
.



<br/>
<br/>
<b><big><a name="03-25" id="03-25">03-25</a></big></b>
<br/>
The internal taping structure has been changed to have variable length
instructions. 
This is to save memory on the tape.
In addition, it may help in the implementation of the
vector class that tracks indexing.
(A now functioning version of this class is described in
<a href="vecad.xml" target="_top"><span style='white-space: nowrap'>VecAD</span></a>
.)


<br/>
<br/>
<b><big><a name="03-18" id="03-18">03-18</a></big></b>
<br/>
A change was made to the way parameter values are stored on the tape.
This resulted in a significant savings in the amount of memory required.


<br/>
<br/>
<b><big><a name="03-17" id="03-17">03-17</a></big></b>
<br/>
Change the return type for <a href="speedtest.xml" target="_top"><span style='white-space: nowrap'>SpeedTest</span></a>
 from <code><font color="blue">const char *</font></code>
to <code><font color="blue">std::string</font></code>.
The memory required for the largest test cases was added to the
<a href="speed_cppad.xml" target="_top"><span style='white-space: nowrap'>speed_cppad</span></a>
 tests output.

<br/>
<br/>
<b><big><a name="03-15" id="03-15">03-15</a></big></b>
<br/>
The comparison between ADOLC and CppAD for
the <code><font color="blue">DetLuADOLC.cpp/</font></code> example was returning an error
(because it was checking for exact equality of calculated derivatives
instead of nearly equal).
This has been fixed.

<br/>
<br/>
<b><big><a name="03-12" id="03-12">03-12</a></big></b>
<br/>
The user defined unary functions were removed and 
the user defined <a href="discrete.xml" target="_top"><span style='white-space: nowrap'>discrete&#xA0;functions</span></a>
 were
added. 
These discrete functions add the capability of conditional expressions 
(alternate calculations)
being included in an <a href="adfun.xml" target="_top"><span style='white-space: nowrap'>ADFun</span></a>
 object.

<br/>
<br/>
<b><big><a name="03-11" id="03-11">03-11</a></big></b>
<br/>
The classes <a href="det_by_minor.xml" target="_top"><span style='white-space: nowrap'>det_by_minor</span></a>
 and <a href="det_by_lu.xml" target="_top"><span style='white-space: nowrap'>det_by_lu</span></a>
 were added
and used these to simplify the 
examples that compute determinants.

<br/>
<br/>
<b><big><a name="03-09" id="03-09">03-09</a></big></b>
<br/>
The routines <code><font color="blue">Grad</font></code> and <code><font color="blue">Hess</font></code> have been removed.
You should use <a href="jacobian.xml" target="_top"><span style='white-space: nowrap'>Jacobian</span></a>
 and <a href="hessian.xml" target="_top"><span style='white-space: nowrap'>Hessian</span></a>
 instead.


<br/>
<br/>
<b><big><a name="03-07" id="03-07">03-07</a></big></b>
<br/>
The driver routines <a href="hessian.xml" target="_top"><span style='white-space: nowrap'>Hessian</span></a>
 and <a href="revtwo.xml" target="_top"><span style='white-space: nowrap'>RevTwo</span></a>
 has been added.
These to compute specialized subsets of the second order partials.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Documentation errors in <a href="fortwo.xml" target="_top"><span style='white-space: nowrap'>ForTwo</span></a>
 and <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
 were fixed.
The <a href="example.xml" target="_top"><span style='white-space: nowrap'>example</span></a>
 documentation was reorganized.


<br/>
<br/>
<b><big><a name="03-06" id="03-06">03-06</a></big></b>
<br/>
The driver <a href="fortwo.xml" target="_top"><span style='white-space: nowrap'>ForTwo</span></a>
 has been added.
It uses forward mode to compute a subset of the second order partials.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Split all of the &quot;example&quot; and &quot;test&quot; index entries that come from

<code><font color="blue"><span style='white-space: nowrap'>cppad/example/</span></font><i><font color="black"><span style='white-space: nowrap'>*</span></font></i><font color="blue"><span style='white-space: nowrap'>.cpp</span></font></code>

into sorted subheadings.

<br/>
<br/>
<b><big><a name="03-05" id="03-05">03-05</a></big></b>
<br/>
The <code><font color="blue">Grad</font></code> routine,
which only computed first derivatives of scalar valued functions,
has been replaced by the <a href="jacobian.xml" target="_top"><span style='white-space: nowrap'>Jacobian</span></a>
 routine which 
computes the derivative of vector valued functions.

<br/>
<br/>
<b><big><a name="03-04" id="03-04">03-04</a></big></b>
<br/>
The bug reported on <a href="whats_new_04.xml#02-17" target="_top"><span style='white-space: nowrap'>02-17</span></a>
 was present in all
the operators. These have all been fixed and tests for all the operators
have been added to the <code><font color="blue">cppad/Test</font></code> directory.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="seq_property.xml#Parameter" target="_top"><span style='white-space: nowrap'>f.Parameter()</span></a>
 function was added so that
one can count how many components of the range space depend
on the value of the domain space components. 
This helps when deciding whether to use forward or reverse mode.

<br/>
<br/>
<b><big><a name="03-03" id="03-03">03-03</a></big></b>
<br/>
Special operators were added to distinguish the cases where 
one of the operands is a
<a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameter</span></a>
.
This reduced the amount of branching that is necessary
when executing <a href="forward.xml" target="_top"><span style='white-space: nowrap'>Forward</span></a>
 and <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
 calculations.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="independent.xml" target="_top"><span style='white-space: nowrap'>Independent</span></a>
 and <a href="seq_property.xml#Parameter" target="_top"><span style='white-space: nowrap'>Parameter</span></a>
 functions
were moved below <a href="adfun.xml" target="_top"><span style='white-space: nowrap'>ADFun</span></a>
 in the documentation.


<br/>
<br/>
<b><big><a name="03-01" id="03-01">03-01</a></big></b>
<br/>
The DetLuADOLC.cpp, DetLu case was added to the ADOLC
comparison tests.

<br/>
<br/>
<b><big><a name="02-29" id="02-29">02-29</a></big></b>
<br/>
Under certain optimization flag values, 
and on certain systems,
an error was reported by the
ADOLC correctness comparison.
It turned out that CppAD was not initializing a particular index 
when debugging was turned off. This has been fixed.


<br/>
<br/>
<b><big><a name="02-28" id="02-28">02-28</a></big></b>
<br/>
A set of routines for comparing CppAD with 
ADOLC has been added to the distribution.
In addition, documentation for compiling and linking the
<a href="example.xml" target="_top"><span style='white-space: nowrap'>Examples</span></a>
 and <a href="speed_cppad.xml" target="_top"><span style='white-space: nowrap'>Speed&#xA0;Tests</span></a>

has been added.

<br/>
<br/>
<b><big><a name="02-21" id="02-21">02-21</a></big></b>
<br/>
If you use the user defined unary atomic functions
there is a restriction on the order of the derivatives that can be calculated.
This restriction was documented in the user defined unary function
<a href="forward.xml" target="_top"><span style='white-space: nowrap'>Forward</span></a>

and <a href="reverse.xml" target="_top"><span style='white-space: nowrap'>Reverse</span></a>
.
(These unary functions were removed on <a href="whats_new_04.xml#03-12" target="_top"><span style='white-space: nowrap'>03-12</span></a>
.)

<br/>
<br/>
<b><big><a name="02-20" id="02-20">02-20</a></big></b>
<br/>
A user interface to arbitrary order 
<a href="reverse.xml" target="_top"><span style='white-space: nowrap'>reverse&#xA0;mode</span></a>
 calculations was implemented.
In addition, the <a href="adfun.xml" target="_top"><span style='white-space: nowrap'>ADFun</span></a>
 member functions
<code><font color="blue">Rev</font></code> and <code><font color="blue">RevTwo</font></code> were removed
because it is easier to use the uniform syntax below:
<table><tr><td align='left'  valign='top'>

<b>Old Syntax</b> </td><td align='left'  valign='top'>
 <b>Uniform Syntax</b> 
</td></tr><tr><td align='left'  valign='top'>


<code><i><font color="black"><span style='white-space: nowrap'>r1</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Rev(</span></font><i><font color="black"><span style='white-space: nowrap'>v</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>
 </td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>r1</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Reverse(1,&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>v</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>

</td></tr><tr><td align='left'  valign='top'>


<code><i><font color="black"><span style='white-space: nowrap'>q1</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.RevTwo(</span></font><i><font color="black"><span style='white-space: nowrap'>v</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>
 </td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>r2</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Reverse(2,&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>v</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>

</td></tr><tr><td align='left'  valign='top'>

	</td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>q1</span></font></i><font color="blue"><span style='white-space: nowrap'>[</span></font><i><font color="black"><span style='white-space: nowrap'>i</span></font></i><font color="blue"><span style='white-space: nowrap'>]&#xA0;==&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>r2</span></font></i><font color="blue"><span style='white-space: nowrap'>[2&#xA0;*&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>i</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;+&#xA0;1]</span></font></code>

</td></tr>
</table>
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The <a href="theory.xml" target="_top"><span style='white-space: nowrap'>Theory</span></a>
 section has been completely changed so that 
it corresponds to the arbitrary order calculations.
(Some of this change was made when the arbitrary forward mode
interface was added on 
<a href="whats_new_04.xml#02-15" target="_top"><span style='white-space: nowrap'>04-02-15</span></a>
.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The directory <code><font color="blue">cppad/Test</font></code> has been added. 
It contains tests cases that are not intended as examples.

<br/>
<br/>
<b><big><a name="02-17" id="02-17">02-17</a></big></b>
<br/>
There was a bug in the way CppAD handled the parameters zero and one
when they were variables on a lower level tape; i.e. x might be a 
parameter on an 
<code><font color="blue"><span style='white-space: nowrap'>AD&lt;&#xA0;AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;&#xA0;&gt;</span></font></code>
 tape and a its value
might be a variable on the

<code><font color="blue"><span style='white-space: nowrap'>AD&lt;</span></font><i><font color="black"><span style='white-space: nowrap'>Base</span></font></i><font color="blue"><span style='white-space: nowrap'>&gt;</span></font></code>
 tape.
This bug in the multiply and divide routines has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>There was a bug that is some cases reported a divide by zero error
when the numerator was zero. This has been fixed.


<br/>
<br/>
<b><big><a name="02-16" id="02-16">02-16</a></big></b>
<br/>
A bug in <a href="forward.xml" target="_top"><span style='white-space: nowrap'>Forward</span></a>
 prevented the calculation of derivatives
with higher order than two.
In addition, this checking for user errors in the use of <code><font color="blue">Forward</font></code>
was also faulty. 
This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The Microsoft project file <code><font color="blue">example\Example.dsp</font></code>
was out of date. This has been fixed.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>The example that <a href="mul_level.xml" target="_top"><span style='white-space: nowrap'>tapes&#xA0;derivative&#xA0;calculations</span></a>

has been changed to an application of 
<a href="mul_level_ode.cpp.xml" target="_top"><span style='white-space: nowrap'>Taylor's&#xA0;method</span></a>
 for solving ordinary differential
equations.

<br/>
<br/>
<b><big><a name="02-15" id="02-15">02-15</a></big></b>
<br/>
A user interface to arbitrary order 
<a href="forward.xml" target="_top"><span style='white-space: nowrap'>forward&#xA0;mode</span></a>
 calculations was implemented.
In addition, the <a href="adfun.xml" target="_top"><span style='white-space: nowrap'>ADFun</span></a>
 member functions
<code><font color="blue">Arg</font></code>, <code><font color="blue">For</font></code> and <code><font color="blue">ForTwo</font></code> were removed
because it is easier to use the uniform syntax below:
<table><tr><td align='left'  valign='top'>

<b>Old Syntax</b> </td><td align='left'  valign='top'>
 <b>Uniform Syntax</b> 
</td></tr><tr><td align='left'  valign='top'>


<code><i><font color="black"><span style='white-space: nowrap'>v0</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Arg(</span></font><i><font color="black"><span style='white-space: nowrap'>u0</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>
 </td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>v0</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Forward(0,&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>u0</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>

</td></tr><tr><td align='left'  valign='top'>


<code><i><font color="black"><span style='white-space: nowrap'>v1</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.For(</span></font><i><font color="black"><span style='white-space: nowrap'>u1</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>
 </td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>v1</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Forward(1,&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>u1</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>

</td></tr><tr><td align='left'  valign='top'>


<code><i><font color="black"><span style='white-space: nowrap'>v2</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.For(</span></font><i><font color="black"><span style='white-space: nowrap'>u2</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>
 </td><td align='left'  valign='top'>
 
<code><i><font color="black"><span style='white-space: nowrap'>v2</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>f</span></font></i><font color="blue"><span style='white-space: nowrap'>.Forward(1,&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>u2</span></font></i><font color="blue"><span style='white-space: nowrap'>)</span></font></code>

</td></tr>
</table>
<br/>
<b><big><a name="02-12" id="02-12">02-12</a></big></b>
<br/>
All of the derivative calculations are now done using arbitrary
order Taylor arithmetic routines.
The <a href="theory.xml" target="_top"><span style='white-space: nowrap'>Theory</span></a>
 section was changed to document this method
of calculation.


<br/>
<br/>
<b><big><a name="02-01" id="02-01">02-01</a></big></b>
<br/>
The definition of a 
<a href="glossary.xml#Taylor Coefficient" target="_top"><span style='white-space: nowrap'>Taylor&#xA0;coefficient</span></a>

was changed to include the factorial factor.
This change was also made to the output specifications for the 
<code><font color="blue">FunForTwo</font></code> routine.

<br/>
<br/>
<b><big><a name="01-29" id="01-29">01-29</a></big></b>
<br/>
There were some bugs in the <code><font color="blue">FunArg</font></code> function
that were fixed.
<ol type="1"><li>
If one of the dependent variables was a
<a href="glossary.xml#Parameter" target="_top"><span style='white-space: nowrap'>parameter</span></a>
 
<code><font color="blue">FunArg</font></code> did not set it's value properly.
(All its derivatives are zero and this was handled properly.)
</li><li>

The user defined unary functions were not
computed correctly.
</li></ol>


The specifications for the usage and unknown CppAD error macros
were modified so that they could be used with out side effects.

<br/>
<br/>
<b><big><a name="01-28" id="01-28">01-28</a></big></b>
<br/>
Some corrections and improvements were made to the documentation including:
<code><font color="blue">CppADvector</font></code> was placed before its use,
a reference to <code><font color="blue">Ode_ind</font></code> and <code><font color="blue">Ode_dep</font></code> was fixed in 
<code><font color="blue">OdeImplicit</font></code>.

<br/>
<br/>
<b><big><a name="01-22" id="01-22">01-22</a></big></b>
<br/>
The specifications for the routine <code><font color="blue">FunForTwo</font></code> 
was changed to use 
<a href="glossary.xml#Taylor Coefficient" target="_top"><span style='white-space: nowrap'>Taylor&#xA0;coefficients</span></a>
.
This makes the interface to CppAD closer to the interface for
<a href="https://projects.coin-or.org/ADOL-C" target="_top"><span style='white-space: nowrap'>ADOLC</span></a>
.





<hr/>Input File: omh/whats_new/whats_new_04.omh

</body>
</html>