Branch: Tag:

2003-07-24

2003-07-24 16:08:48 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Added some AutoDoc markup.

Rev: lib/modules/Array.pmod:1.89
Rev: lib/modules/Getopt.pmod:1.28
Rev: lib/modules/Mapping.pmod:1.3
Rev: src/iterators.cmod:1.43

8:   constant longest_ordered_sequence = __builtin.longest_ordered_sequence;   constant interleave_array = __builtin.interleave_array;    + constant diff_dyn_longest_sequence = __builtin.diff_dyn_longest_sequence; +    constant sort = predef::sort;   constant everynth = __builtin.everynth;   constant splice = __builtin.splice;
209:    return foo;   }    - array columns(array x, array ind) + //! Get multiple columns from an array. + //! + //! This function is equvivalent to + //! @pre{ + //! map(ind, lambda(mixed i) { return column(x, i); }) + //! @} + //! + //! @seealso + //! @[column()] + array(array) columns(array x, array ind)   {    array ret=allocate(sizeof(ind));    for(int e=0;e<sizeof(ind);e++) ret[e]=column(x,ind[e]);
226:      // diff3, complement to diff    + //! Return the three-way difference between the arrays. + //! + //! @seealso + //! @[Array.diff()], @[Array.diff_longest_sequence()]   array(array(array)) diff3 (array a, array b, array c)   {    // This does not necessarily produce the optimal sequence between