Changeset 3019


Ignore:
Timestamp:
Dec 4, 2013 6:24:06 AM (6 years ago)
Author:
bradbell
Message:

wish_list.omh: Improve iterator entry.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/omh/wish_list.omh

    r3003 r3019  
    116116$head Iterator Interface$$
    117117$index iterator$$
    118 If the CppAD API had iterator interfaces,
    119 in addition to simple vector interfaces,
    120 it would not be necessary to (sometimes) copy information to simple vectors
    121 with the correct dimension.
     118All of the CppAD simple vector interfaces should also have an
     119iterator version for the following reasons:
     120$list number$$
     121It would not be necessary to copy information to simple vectors
     122when it was originally stored in a different type of container.
     123$lnext
     124It would not be necessary to reallocate memory for a result that is
     125repeatedly calculated
     126(because an iterator for the result container would be passed in).
     127$lend
    122128
    123129$head Library$$
Note: See TracChangeset for help on using the changeset viewer.