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

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

whats_new_14.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
<?xml version='1.0'?>
<html xmlns='http://www.w3.org/1999/xhtml'
      xmlns:math='http://www.w3.org/1998/Math/MathML'
>
<head>
<title>CppAD Changes and Additions During 2014</title>
<meta http-equiv='Content-Type' content='text/html' charset='utf-8'/>
<meta name="description" id="description" content="CppAD Changes and Additions During 2014"/>
<meta name="keywords" id="keywords" content=" cppad changes and additions during 2014 introduction 12-30 12-29 12-28 12-27 12-26 12-25 12-23 12-22 12-17 12-16 12-15 11-28 11-27 09-28 09-27 09-25 09-21 05-28 05-27 05-23 05-22 05-20 05-19 05-16 05-14 03-18 03-17 03-09 03-05 03-02 03-01 02-28 02-27 02-26 02-23 02-22 02-17 02-15 01-26 01-21 01-10 "/>
<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_14_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.xml" target="_top">Prev</a>
</td><td><a href="whats_new_13.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_14</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_14</td>
<td>
<select onchange='choose_current0(this)'>
<option>Headings-&gt;</option>
<option>Introduction</option>
<option>12-30</option>
<option>12-29</option>
<option>12-28</option>
<option>12-27</option>
<option>12-26</option>
<option>12-25</option>
<option>12-23</option>
<option>12-22</option>
<option>12-17</option>
<option>12-16</option>
<option>12-15</option>
<option>11-28</option>
<option>11-27</option>
<option>09-28</option>
<option>09-27</option>
<option>09-25</option>
<option>09-21</option>
<option>05-28</option>
<option>05-27</option>
<option>05-23</option>
<option>05-22</option>
<option>05-20</option>
<option>05-19</option>
<option>05-16</option>
<option>05-14</option>
<option>03-18</option>
<option>03-17</option>
<option>03-09</option>
<option>03-05</option>
<option>03-02</option>
<option>03-01</option>
<option>02-28</option>
<option>02-27</option>
<option>02-26</option>
<option>02-23</option>
<option>02-22</option>
<option>02-17</option>
<option>02-15</option>
<option>01-26</option>
<option>01-21</option>
<option>01-10</option>
</select>
</td>
</tr></table><br/>




<center><b><big><big>CppAD Changes and Additions During 2014</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 to CppAD during 2014
(in reverse order by date).
The purpose of this section is to
assist you in learning about changes between various versions of CppAD.

<br/>
<br/>
<b><big><a name="12-30" id="12-30">12-30</a></big></b>
<br/>
There was a bug in the <a href="cmake.xml" target="_top"><span style='white-space: nowrap'>cmake</span></a>
 whereby it would sometimes mistakenly
exit with the error message
<code><font color='blue'><pre style='display:inline'> 
	cppad_max_num_threads is not an integer greater than or equal 4
</pre></font></code>

This has been fixed.

<br/>
<br/>
<b><big><a name="12-29" id="12-29">12-29</a></big></b>
<br/>
The example <code><font color="blue">not_complex_ad.cpp</font></code> was using the type

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;std::complex&lt;&#xA0;CppAD::AD&lt;double&gt;&#xA0;&gt;<br/>
</span></font></code>
and was failing to compile with the <code><font color="blue">clang</font></code> complier.
This example has been removed because it is not consistent with the
C++ standard; see 
<a href="faq.xml#Complex Types" target="_top"><span style='white-space: nowrap'>complex&#xA0;FAQ</span></a>
.


<br/>
<br/>
<b><big><a name="12-28" id="12-28">12-28</a></big></b>

<ol type="1"><li>
Fix some warnings generated by clang 3.5 about local functions
that were not being used; e.g., sub-tests that were not being executed.
</li><li>

Fix <code><font color="blue">cmake</font></code> setting
<a href="cmake.xml#cppad_implicit_ctor_from_any_type" target="_top"><span style='white-space: nowrap'>cppad_implicit_ctor_from_any_type</span></a>
.
Note that this option is deprecated and may eventually be removed.
</li><li>

The <code><font color="blue">clang++</font></code> compiler was optimizing out the calculations
in the <a href="time_test.cpp.xml" target="_top"><span style='white-space: nowrap'>time_test.cpp</span></a>
 and <a href="speed_test.cpp.xml" target="_top"><span style='white-space: nowrap'>speed_test.cpp</span></a>
 examples.
This caused these tests to hang while trying to determine how
many times to repeat the test.
This has been fixed.
</li></ol>


<br/>
<br/>
<b><big><a name="12-27" id="12-27">12-27</a></big></b>
<br/>
More work on the bug in 
<a href="condexp.xml#Optimize" target="_top"><span style='white-space: nowrap'>optimizing</span></a>
 
conditional expressions. 

<br/>
<br/>
<b><big><a name="12-26" id="12-26">12-26</a></big></b>
<br/>
A minimal example for computing cross terms in atomic operation
Hessian sparsity patterns <a href="atomic_hes_sparse.cpp.xml" target="_top"><span style='white-space: nowrap'>atomic_hes_sparse.cpp</span></a>
 was added.

<br/>
<br/>
<b><big><a name="12-25" id="12-25">12-25</a></big></b>
<br/>
More work on the bug in
<a href="condexp.xml#Optimize" target="_top"><span style='white-space: nowrap'>optimizing</span></a>
 
conditional expressions. 

<br/>
<br/>
<b><big><a name="12-23" id="12-23">12-23</a></big></b>
<br/>
The c++11 standard includes the error function <a href="erf.xml" target="_top"><span style='white-space: nowrap'>erf</span></a>
 in 
<code><font color="blue">cmath</font></code>.
If the c++ compiler has the error function defined in <code><font color="blue">cmath</font></code>,
the complier version of the error function is used and it corresponds to an
atomic operation.
<code><span style='white-space: nowrap'><br/>
<br/>
</span></code>Fix typo in tangent reverse mode theory for
<a href="tan_reverse.xml#Positive Orders Z(t)" target="_top"><span style='white-space: nowrap'>Positive&#xA0;Orders</span></a>
.

<br/>
<br/>
<b><big><a name="12-22" id="12-22">12-22</a></big></b>
<br/>
There was a bug related to 
<a href="condexp.xml#Optimize" target="_top"><span style='white-space: nowrap'>optimizing</span></a>
 
conditional expressions. 
This has been fixed.

<br/>
<br/>
<b><big><a name="12-17" id="12-17">12-17</a></big></b>
<br/>
Fix some compiler warnings and <a href="speed.xml" target="_top"><span style='white-space: nowrap'>speed</span></a>
 program names
when using the deprecated <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>auto-tools</span></a>
 install procedure.

<br/>
<br/>
<b><big><a name="12-16" id="12-16">12-16</a></big></b>
<br/>
If the <code><font color="blue">c++11</font></code> include file <code><font color="blue">&lt;cstdint&gt;</font></code>
defines all the standard types, they can be used by to specify
<a href="cmake.xml#cppad_tape_addr_type.cstdint" target="_top"><span style='white-space: nowrap'>cppad_tape_addr_type</span></a>
 and
<a href="cmake.xml#cppad_tape_id_type.cstdint" target="_top"><span style='white-space: nowrap'>cppad_tape_id_type</span></a>
.

<br/>
<br/>
<b><big><a name="12-15" id="12-15">12-15</a></big></b>
<br/>
Correct the title and <a href="_index.xml" target="_top"><span style='white-space: nowrap'>_index</span></a>
 entries for <a href="forward_two.xml" target="_top"><span style='white-space: nowrap'>forward_two</span></a>

from first to second order.

<br/>
<br/>
<b><big><a name="11-28" id="11-28">11-28</a></big></b>
<br/>
Improve the <a href="_index.xml" target="_top"><span style='white-space: nowrap'>index</span></a>
 and <code><font color="blue">search</font></code> using
a new version of the <code><font color="blue">omhelp</font></code> documentation tool.

<br/>
<br/>
<b><big><a name="11-27" id="11-27">11-27</a></big></b>

<ol type="1"><li>
Add alignment to the 
<a href="ta_get_memory.xml#Alignment" target="_top"><span style='white-space: nowrap'>get_memory</span></a>
 and
<a href="ta_create_array.xml#Alignment" target="_top"><span style='white-space: nowrap'>create_array</span></a>
 specifications
and 
<a href="thread_alloc.cpp.xml" target="_top"><span style='white-space: nowrap'>thread_alloc&#xA0;example</span></a>
.
</li><li>

Advance the deprecated <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;install</span></a>
 utilities to
autoconf-2.69 and automake-1.13.4.
</li></ol>


<br/>
<br/>
<b><big><a name="09-28" id="09-28">09-28</a></big></b>
<br/>
Fix more bugs related to optimizing condition conditional expressions.
<ol type="1"><li>
Using old instead of new operator indices.
</li><li>

Not properly following dependence back through atomic operations.
</li><li>

Aborting during forward order zero, when skipping computation for a variable 
that was already completed (the skip is still useful for higher orders
and for reverse mode).
</li><li>

Reverse mode not properly handling the variable number of arguments in the
conditional skip operation.
</li><li>

Reverse mode tracing not properly handling the variable number
of argument operations; i.e., conditional skip and cumulative summation.
</li></ol>


<br/>
<br/>
<b><big><a name="09-27" id="09-27">09-27</a></big></b>
<br/>
Fix a bug that occurred when 
<a href="optimize.xml" target="_top"><span style='white-space: nowrap'>f.optimize</span></a>
 was used with a function 
<code><i><font color="black"><span style='white-space: nowrap'>f</span></font></i></code>

that contained calls to user defined <a href="atomic.xml" target="_top"><span style='white-space: nowrap'>atomic</span></a>
 operations
and <a href="condexp.xml" target="_top"><span style='white-space: nowrap'>conditional&#xA0;expressions</span></a>
.

<br/>
<br/>
<b><big><a name="09-25" id="09-25">09-25</a></big></b>
<br/>
Fix a bug that occurred when 
<a href="optimize.xml" target="_top"><span style='white-space: nowrap'>f.optimize</span></a>
 was used with a function 
<code><i><font color="black"><span style='white-space: nowrap'>f</span></font></i></code>

that contained <a href="discrete.xml" target="_top"><span style='white-space: nowrap'>discrete</span></a>
 functions.

<br/>
<br/>
<b><big><a name="09-21" id="09-21">09-21</a></big></b>
<br/>
Fix a typo in documentation for 
<a href="reverse_any.xml" target="_top"><span style='white-space: nowrap'>any&#xA0;order&#xA0;reverse</span></a>
.
To be specific, 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<msup><mi mathvariant='italic'>x</mi>
<mrow><mo stretchy="false">(</mo>
<mi mathvariant='italic'>k</mi>
<mo stretchy="false">)</mo>
</mrow>
</msup>
</mrow></math>

 was changed to be 
<math xmlns="http://www.w3.org/1998/Math/MathML" display="inline"><mrow>
<msup><mi mathvariant='italic'>u</mi>
<mrow><mo stretchy="false">(</mo>
<mi mathvariant='italic'>k</mi>
<mo stretchy="false">)</mo>
</mrow>
</msup>
</mrow></math>

. 

<br/>
<br/>
<b><big><a name="05-28" id="05-28">05-28</a></big></b>

<ol type="1"><li>
Change the <a href="speed_main.xml#Sparsity Options.boolsparsity" target="_top"><span style='white-space: nowrap'>boolsparsity</span></a>

so that it only affects the sparsity speed tests
<a href="link_sparse_jacobian.xml" target="_top"><span style='white-space: nowrap'>sparse_jacobian</span></a>
 and
<a href="link_sparse_hessian.xml" target="_top"><span style='white-space: nowrap'>sparse_hessian</span></a>
;
i.e., it is now ignored by the other tests.
</li><li>

Improve the <a href="speed.xml" target="_top"><span style='white-space: nowrap'>speed</span></a>
 documentation page.
</li></ol>


<br/>
<br/>
<b><big><a name="05-27" id="05-27">05-27</a></big></b>

<ol type="1"><li>
The <a href="colpack_prefix.xml#cppad_colpack.cpp" target="_top"><span style='white-space: nowrap'>cppad_colpack.cpp</span></a>

file was not being copied to the specified directory.
In addition, the specified directory was changed from an include
directory to data directory
(<code><font color="blue">cppad_colpack.cpp</font></code> is not an include file).
</li><li>

If <a href="colpack_prefix.xml" target="_top"><span style='white-space: nowrap'>colpack_prefix</span></a>
  was specified, the CppAD 
<a href="pkgconfig.xml" target="_top"><span style='white-space: nowrap'>pkgconfig</span></a>
 file was missing some information.
This has been fixed.
</li></ol>


<br/>
<br/>
<b><big><a name="05-23" id="05-23">05-23</a></big></b>
<br/>
The <a href="speed.xml" target="_top"><span style='white-space: nowrap'>speed</span></a>
 test instructions were converted from using
the old auto-tools <a href="installunix.xml" target="_top"><span style='white-space: nowrap'>unix&#xA0;install</span></a>
 instructions
to use the <a href="cmake.xml" target="_top"><span style='white-space: nowrap'>cmake</span></a>
 install instructions.
These instructions should work on any system, not just unix.

<br/>
<br/>
<b><big><a name="05-22" id="05-22">05-22</a></big></b>

<ol type="1"><li>
Add multiple direction for mode
<a href="forward_dir.xml" target="_top"><span style='white-space: nowrap'>forward_dir</span></a>
 and use it to speed up the forward
version of <a href="sparse_jacobian.xml" target="_top"><span style='white-space: nowrap'>sparse_jacobian</span></a>
.
Below is an example run of <a href="cppad_sparse_jacobian.cpp.xml" target="_top"><span style='white-space: nowrap'>cppad_sparse_jacobian.cpp</span></a>
 results
before this change:
<code><font color='blue'><pre style='display:inline'> 
	cppad_sparse_jacobian_size = [ 100, 400, 900, 1600, 2500 ]
	cppad_sparse_jacobian_rate = [ 2973, 431.94, 142.25, 78.64, 26.87 ]
</pre></font></code>

and after this change:
<code><font color='blue'><pre style='display:inline'> 
	cppad_sparse_jacobian_size = [ 100, 400, 900, 1600, 2500 ]
	cppad_sparse_jacobian_rate = [ 6389, 954.26, 314.04, 180.06, 56.95 ]
</pre></font></code>

Due to the success of this change, other
<a href="wishlist.xml#Multiple Directions" target="_top"><span style='white-space: nowrap'>multiple&#xA0;direction</span></a>
 items
were added to the wish list.
</li><li>

Improve the  forward mode tracing of arguments to,
and results from, user defined <a href="atomic.xml" target="_top"><span style='white-space: nowrap'>atomic</span></a>
 operations.
</li></ol>


<br/>
<br/>
<b><big><a name="05-20" id="05-20">05-20</a></big></b>

<ol type="1"><li>
Move <code><font color="blue">speed/adolc/alloc_mat.hpp</font></code> to 
<code><font color="blue">speed/adolc/adolc_alloc_mat.hpp</font></code> so it has the
same name is its <code><font color="blue"># ifndef</font></code> command.
</li><li>

Fix <code><font color="blue"># ifndef</font></code> command in 
<code><font color="blue">cppad/ipopt/solve_callback.hpp</font></code>.
</li><li>

Add <code><font color="blue"># ifndef</font></code> command to <code><font color="blue">test_more/extern_value.hpp</font></code>.
</li></ol>



<br/>
<br/>
<b><big><a name="05-19" id="05-19">05-19</a></big></b>
<br/>
In the files 
<code><font color="blue">cppad/local/asin_op.hpp</font></code> and <code><font color="blue">cppad/local/acos_op.hpp</font></code>
there were assignments of the form <code><font color="blue">uj = 0.</font></code> where <code><font color="blue">u_j</font></code>
has type <a href="glossary.xml#Base Type" target="_top"><span style='white-space: nowrap'>Base</span></a>
.
These may have not be defined operations in certain cases and
have been converted to <code><font color="blue">uj = Base(0)</font></code>.


<br/>
<br/>
<b><big><a name="05-16" id="05-16">05-16</a></big></b>
<br/>
There was a mistake in printing the arguments for 
<code><font color="blue">CSumOp</font></code> and <code><font color="blue">CSkipOp</font></code> when using the undocumented
<code><font color="blue">TRACE</font></code> option during forward mode (available in files of the form 

<code><font color="blue"><span style='white-space: nowrap'>cppad/local/</span></font><i><font color="black"><span style='white-space: nowrap'>*</span></font></i><font color="blue"><span style='white-space: nowrap'>sweep.hpp/</span></font></code>
).
This has been fixed.

<br/>
<br/>
<b><big><a name="05-14" id="05-14">05-14</a></big></b>

<ol type="1"><li>
There were some global variables in the file 
<code><font color="blue">cppad/local/op_code.hpp</font></code> that might have caused multiple definitions
during link time for CppAD applications. 
These variables have been changed to be local so that this cannot happen.
</li><li>

There was a mistaken assert that the number of arguments for the 
<code><font color="blue">BeginOp</font></code> was zero that caused an abort when using the undocumented
<code><font color="blue">TRACE</font></code> option available in files of the form 

<code><font color="blue"><span style='white-space: nowrap'>cppad/local/</span></font><i><font color="black"><span style='white-space: nowrap'>*</span></font></i><font color="blue"><span style='white-space: nowrap'>sweep.hpp/</span></font></code>
.
This has been fixed.
</li></ol>


<br/>
<br/>
<b><big><a name="03-18" id="03-18">03-18</a></big></b>

<ol type="1"><li>
The 
<a href="fundeprecated.xml#size_taylor" target="_top"><span style='white-space: nowrap'>size_taylor</span></a>

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

functions were deprecated;
use <a href="size_order.xml" target="_top"><span style='white-space: nowrap'>size_order</span></a>
 and <a href="capacity_order.xml" target="_top"><span style='white-space: nowrap'>capacity_order</span></a>
 instead.
</li><li>

The documentation for <a href="forward.xml" target="_top"><span style='white-space: nowrap'>forward</span></a>
 and the examples
<a href="forward.cpp.xml" target="_top"><span style='white-space: nowrap'>forward.cpp</span></a>
, <a href="forward_order.cpp.xml" target="_top"><span style='white-space: nowrap'>forward_order.cpp</span></a>
, have been improved. 
To be more specific, <a href="forward_order.xml" target="_top"><span style='white-space: nowrap'>forward_order</span></a>
 now references the special
cases <a href="forward_zero.xml" target="_top"><span style='white-space: nowrap'>forward_zero</span></a>
, <a href="forward_one.xml" target="_top"><span style='white-space: nowrap'>forward_one</span></a>
 and the new case
<a href="forward_two.xml" target="_top"><span style='white-space: nowrap'>forward_two</span></a>
.
</li></ol>


<br/>
<br/>
<b><big><a name="03-17" id="03-17">03-17</a></big></b>
<br/>
The 
<a href="cppad_vector.xml#Assignment.Move Semantics" target="_top"><span style='white-space: nowrap'>move&#xA0;semantics</span></a>

version of the <code><font color="blue">CppAD::vector</font></code> assignment statement
was not checking vector sizes.
This has been fixed so that things work the same with compilers
that do not have move semantics.
(Note that with move semantics, no extra memory allocation is done
even if the target vector has a different size.)

<br/>
<br/>
<b><big><a name="03-09" id="03-09">03-09</a></big></b>
<br/>
The documentation links
<code><font color="blue">forwardzero</font></code>, <code><font color="blue">forwardone</font></code>, and <code><font color="blue">forwardany</font></code>
have been changed to
<a href="forward_zero.xml" target="_top"><span style='white-space: nowrap'>forward_zero</span></a>
, <a href="forward_one.xml" target="_top"><span style='white-space: nowrap'>forward_one</span></a>
, 
and <a href="forward_order.xml" target="_top"><span style='white-space: nowrap'>forward_order</span></a>
 respectively.
This may affect links from other web pages to the CppAD documentation.

<br/>
<br/>
<b><big><a name="03-05" id="03-05">03-05</a></big></b>
<br/>
The names 
<code><i><font color="black"><span style='white-space: nowrap'>p</span></font></i></code>
 and 
<code><i><font color="black"><span style='white-space: nowrap'>q</span></font></i></code>
 in the 
<a href="forward_order.xml" target="_top"><span style='white-space: nowrap'>forward</span></a>
,
<a href="reverse_any.xml" target="_top"><span style='white-space: nowrap'>reverse</span></a>
,
<a href="atomic_forward.xml" target="_top"><span style='white-space: nowrap'>atomic_forward</span></a>
, and 
<a href="atomic_reverse.xml" target="_top"><span style='white-space: nowrap'>atomic_reverse</span></a>
 functions
were reverse so that 
<code><i><font color="black"><span style='white-space: nowrap'>p</span></font></i><font color="blue"><span style='white-space: nowrap'>&#xA0;&lt;=&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>q</span></font></i></code>
. 
This is only a notational change to make the arguments easier to remember.

<br/>
<br/>
<b><big><a name="03-02" id="03-02">03-02</a></big></b>

<ol type="1"><li>
In the output for the speed
<a href="speed_main.xml#test.correct" target="_top"><span style='white-space: nowrap'>correct</span></a>
 test,
mention which tests are not available. 
Note that the set of available tests can depend on the
<a href="speed_main.xml#option_list" target="_top"><span style='white-space: nowrap'>list&#xA0;of&#xA0;options</span></a>
.
</li><li>

In the documentation for
<a href="sparse_jacobian.xml#n_sweep" target="_top"><span style='white-space: nowrap'>n_sweep</span></a>
,
mention that it is equal to the number of colors determined by the
<a href="sparse_jacobian.xml#work.color_method" target="_top"><span style='white-space: nowrap'>color_method</span></a>
.
</li><li>

The <a href="speed_cppad.xml" target="_top"><span style='white-space: nowrap'>speed_cppad</span></a>
 tests were simplified by removing the printing
of auxillary information related to the 
<a href="speed_main.xml#option_list.optimize" target="_top"><span style='white-space: nowrap'>optimize</span></a>
 option.
Future auxillary information will be passed back in a manner similar to
<a href="link_sparse_jacobian.xml#n_sweep" target="_top"><span style='white-space: nowrap'>n_sweep</span></a>
 for the sparse jacobian test.
</li><li>

<a href="cppad_vector.xml#Assignment.Move Semantics" target="_top"><span style='white-space: nowrap'>Move&#xA0;semantics</span></a>

were added to the <code><font color="blue">CppAD::vector</font></code> assignment operator.
</li></ol>


<br/>
<br/>
<b><big><a name="03-01" id="03-01">03-01</a></big></b>

<ol type="1"><li>
Change the prototype for 
<code><i><font color="black"><span style='white-space: nowrap'>row</span></font></i></code>
 and 
<code><i><font color="black"><span style='white-space: nowrap'>col</span></font></i></code>
 in the 
<a href="link_sparse_jacobian.xml" target="_top"><span style='white-space: nowrap'>link_sparse_jacobian</span></a>
 speed test to be <code><font color="blue">const</font></code>; i.e.,
they are not changed.
</li><li>

Move 
<code><i><font color="black"><span style='white-space: nowrap'>x</span></font></i></code>
 near end of <a href="link_sparse_hessian.xml" target="_top"><span style='white-space: nowrap'>link_sparse_hessian</span></a>
 speed test
parameter list,
(as is the case for <a href="link_sparse_jacobian.xml" target="_top"><span style='white-space: nowrap'>link_sparse_jacobian</span></a>
).
</li></ol>


<br/>
<br/>
<b><big><a name="02-28" id="02-28">02-28</a></big></b>
<br/>
The <a href="cppad_vector.xml#data" target="_top"><span style='white-space: nowrap'>data</span></a>
 function was added to the
<code><font color="blue">CppAD::vector</font></code> template class.

<br/>
<br/>
<b><big><a name="02-27" id="02-27">02-27</a></big></b>
<br/>
The CppAD developer documentation for the subdirectory
<code><font color="blue">cppad/ipopt</font></code> was not being built by the command 
<code><font color="blue">bin/run_doxygen.sh</font></code>. 
This has been fixed.

<br/>
<br/>
<b><big><a name="02-26" id="02-26">02-26</a></big></b>

<ol type="1"><li>
The 
<a href="speed_adolc.xml" target="_top"><span style='white-space: nowrap'>adolc</span></a>
 and
<a href="speed_cppad.xml" target="_top"><span style='white-space: nowrap'>cppad</span></a>
 sparse jacobian speed tests now print out
<a href="sparse_jacobian.xml#n_sweep" target="_top"><span style='white-space: nowrap'>n_sweep</span></a>
.
</li><li>

The size of some of the <a href="speed.xml" target="_top"><span style='white-space: nowrap'>speed</span></a>
 test cases has been increased
to test behavior for larger problems.
</li><li>

A link to <a href="ode_evaluate.xml" target="_top"><span style='white-space: nowrap'>ode_evaluate</span></a>
 was missing in the
<a href="speed_utility.xml#Speed Utility Routines" target="_top"><span style='white-space: nowrap'>Speed&#xA0;Utility&#xA0;Routines</span></a>
 table.
This has been fixed.
</li></ol>



<br/>
<br/>
<b><big><a name="02-23" id="02-23">02-23</a></big></b>
<br/>
The <a href="sparse_jacobian.xml#work.color_method" target="_top"><span style='white-space: nowrap'>color_method</span></a>

option was added to the sparse Jacobian calculations.
This enables one to use <a href="colpack_prefix.xml" target="_top"><span style='white-space: nowrap'>ColPack</span></a>
 
do color the rows or columns.
The speed test <a href="speed_main.xml#Sparsity Options.colpack" target="_top"><span style='white-space: nowrap'>colpack</span></a>
 option 
was also added (but not yet implemented for 
<a href="link_sparse_hessian.xml" target="_top"><span style='white-space: nowrap'>sparse_hessian</span></a>
 speed tests).


<br/>
<br/>
<b><big><a name="02-22" id="02-22">02-22</a></big></b>
<br/>
The program names in
<a href="thread_test.cpp.xml" target="_top"><span style='white-space: nowrap'>thread_test.cpp</span></a>
 where changes from

<code><i><font color="black"><span style='white-space: nowrap'>threading</span></font></i><font color="blue"><span style='white-space: nowrap'>_test</span></font></code>
 to 
<code><font color="blue"><span style='white-space: nowrap'>multi_thread_</span></font><i><font color="black"><span style='white-space: nowrap'>threading</span></font></i></code>

where 
<code><i><font color="black"><span style='white-space: nowrap'>threading</span></font></i></code>
 is <code><font color="blue">openmp</font></code>, <code><font color="blue">pthread</font></code> or <code><font color="blue">bthread</font></code>.

<br/>
<br/>
<b><big><a name="02-17" id="02-17">02-17</a></big></b>
<br/>
Fix ambiguous call to <a href="nan.xml#isnan" target="_top"><span style='white-space: nowrap'>isnan</span></a>
 
during MS Visual Studio 2012 compilation.

<br/>
<br/>
<b><big><a name="02-15" id="02-15">02-15</a></big></b>

<ol type="1"><li>
The <a href="speed_main.xml#Sparsity Options.boolsparsity" target="_top"><span style='white-space: nowrap'>boolsparsity</span></a>
 option
was added to the <a href="speed_main.xml" target="_top"><span style='white-space: nowrap'>speed_main</span></a>
 program.
</li><li>

The <code><font color="blue">retape</font></code> option what changed to 
<a href="speed_main.xml#option_list.onetape" target="_top"><span style='white-space: nowrap'>onetape</span></a>
 so that the default
is to retape (option not present).
This was done because 
<a href="fadbad_prefix.xml" target="_top"><span style='white-space: nowrap'>fadbad</span></a>
 and
<a href="sacado_prefix.xml" target="_top"><span style='white-space: nowrap'>sacado</span></a>
 always retape.
</li><li>

The documentation, and example source code, for all the speed
<a href="speed_main.xml#option_list" target="_top"><span style='white-space: nowrap'>options</span></a>
 was improved
(made clearer).
</li><li>

Improve the success rate for 
<a href="speed_test.cpp.xml" target="_top"><span style='white-space: nowrap'>speed_test.cpp</span></a>
 and <a href="time_test.cpp.xml" target="_top"><span style='white-space: nowrap'>time_test.cpp</span></a>
.
</li></ol>


<br/>
<br/>
<b><big><a name="01-26" id="01-26">01-26</a></big></b>
<br/>
The destination directory for the
<a href="cmake.xml#cmake_install_docdir" target="_top"><span style='white-space: nowrap'>cppad&#xA0;documentation</span></a>

is now set separately from the data directory
using the <code><font color="blue">cmake</font></code> option

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;-D&#xA0;cmake_install_docdir=</span></font><i><font color="black"><span style='white-space: nowrap'>cmake_install_docdir</span></font></i><font color="blue"><span style='white-space: nowrap'><br/>
</span></font></code>
This has increased the flexibility of the documentation installation
and removed the need for the option

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;-D&#xA0;cppad_documentation=</span></font><i><font color="black"><span style='white-space: nowrap'>yes_or_no</span></font></i><font color="blue"><span style='white-space: nowrap'><br/>
</span></font></code>
which has been removed.
	
<br/>
<br/>
<b><big><a name="01-21" id="01-21">01-21</a></big></b>
<br/>
The destination directory for the
cppad documentation
used to be one of the following:

<code><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>prefix</span></font></i><font color="blue"><span style='white-space: nowrap'>/</span></font><i><font color="black"><span style='white-space: nowrap'>datadir</span></font></i><font color="blue"><span style='white-space: nowrap'>/doc/cppad-</span></font><i><font color="black"><span style='white-space: nowrap'>version</span></font></i><font color="blue"><span style='white-space: nowrap'><br/>
&#xA0;&#xA0;&#xA0;&#xA0;&#xA0;</span></font><i><font color="black"><span style='white-space: nowrap'>prefix</span></font></i><font color="blue"><span style='white-space: nowrap'>/</span></font><i><font color="black"><span style='white-space: nowrap'>datadir</span></font></i><font color="blue"><span style='white-space: nowrap'>/doc/</span></font><i><font color="black"><span style='white-space: nowrap'>postfix</span></font></i><font color="blue"><span style='white-space: nowrap'>cppad-</span></font><i><font color="black"><span style='white-space: nowrap'>version</span></font></i><font color="blue"><span style='white-space: nowrap'><br/>
</span></font></code>
This has been changed by dropping the 
<code><i><font color="black"><span style='white-space: nowrap'>version</span></font></i></code>
 number
at the end of the directory name.

<br/>
<br/>
<b><big><a name="01-10" id="01-10">01-10</a></big></b>
<br/>
The change on <a href="whats_new_13.xml#12-27" target="_top"><span style='white-space: nowrap'>2013-12-27</span></a>

caused a conversion error in <a href="atan2.xml" target="_top"><span style='white-space: nowrap'>atan2</span></a>
 when it was used with
<code><font color="blue">AD&lt; AD&lt;double&gt; &gt;</font></code> arguments (and other similar cases).
This has been fixed.


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

</body>
</html>