annotate .hgignore @ 19010:3fb030666878 draft default tip dspies

Added special-case logical-indexing function * logical-index.h (New file) : Logical-indexing function. May be called on octave_value types via call_bool_index * nz-iterators.h : Add base-class nz_iterator for iterator types. Array has template bool for whether to internally store row-col or compute on the fly Add skip_ahead method which skips forward to the next nonzero after its argument Add flat_index for computing octave_idx_type index of current position (with assertion failure in the case of overflow) Move is_zero to separate file * ov-base-diag.cc, ov-base-mat.cc, ov-base-sparse.cc, ov-perm.cc (do_index_op): Add call to call_bool_index in logical-index.h * Array.h : Move forward-declaration for array_iterator to separate header file * dim-vector.cc (dim_max): Refers to idx-bounds.h (max_idx) * array-iter-decl.h (New file): Header file for forward declaration of array-iterator * direction.h : Add constants fdirc and bdirc to avoid having to reconstruct them * dv-utils.h, dv-utils.cc (New files) : Utility functions for querying and constructing dim-vectors * idx-bounds.h (New file) : Utility constants and functions for determining whether things will overflow the maximum allowed bounds * interp-idx.h (New function : to_flat_idx) : Converts row-col pair to linear index of octave_idx_type * is-zero.h (New file) : Function for determining whether an element is zero * logical-index.tst : Add tests for correct return-value dimensions and large sparse matrix behavior
author David Spies <dnspies@gmail.com>
date Fri, 25 Jul 2014 13:39:31 -0600
parents dc76e3909d36
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
1 syntax: regexp
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
2 # The recurrent (^|/) idiom in the regexps below should be understood
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
3 # to mean "at any directory" while the ^ idiom means "from the
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
4 # project's top-level directory".
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
5
15325
d9b955926a50 maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15207
diff changeset
6 # gnulib makes these silly backup files
15410
2024c70329df .hgignore: Ignore gnulib/gnulib.mk file.
Rik <rik@octave.org>
parents: 15394
diff changeset
7 .~$
15325
d9b955926a50 maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15207
diff changeset
8
15394
2b72343ed9c4 hgignore: Update patterns to reflect directory changes to source tree.
Rik <rik@octave.org>
parents: 15325
diff changeset
9 # This directory gets created by gnulib during the build.
2b72343ed9c4 hgignore: Update patterns to reflect directory changes to source tree.
Rik <rik@octave.org>
parents: 15325
diff changeset
10 # It contains no Octave files.
15765
70bf9b6d47af maint: update .hgignore to reflect new libgnu/ structure
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15410
diff changeset
11 ^libgnu/*
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
12
15765
70bf9b6d47af maint: update .hgignore to reflect new libgnu/ structure
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15410
diff changeset
13 # This directory mostly contains cruft during build time, but it does
70bf9b6d47af maint: update .hgignore to reflect new libgnu/ structure
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15410
diff changeset
14 # contain some Octave code, so we gotta be a bit more careful about
15325
d9b955926a50 maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15207
diff changeset
15 # what we ignore here
d9b955926a50 maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15207
diff changeset
16 ^m4/(?!ax_).+\.m4$
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
17
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
18 # Emacs tools create these
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
19 (^|/)TAGS$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
20 (^|/)semantic.cache$
7823
feaaf725c54f Ignore build directories.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 0
diff changeset
21
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
22 (/|^)Makefile\.in$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
23 ^INSTALL$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
24
15394
2b72343ed9c4 hgignore: Update patterns to reflect directory changes to source tree.
Rik <rik@octave.org>
parents: 15325
diff changeset
25 ^aclocal\.m4$
7823
feaaf725c54f Ignore build directories.
Michael Goffioul <michael.goffioul@gmail.com>
parents: 0
diff changeset
26 ^build-.*($|/)
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
27 ^configure$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
28 ^autom4te\.cache($|/)
16759
dc76e3909d36 maint: update config.in.h in .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15765
diff changeset
29 ^config\.in\.h$
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
30
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
31 # e.g. doc/faq/OctaveFAQ.info
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
32 # doc/interpreter/octave.info-4
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
33 ^doc/.*\.info(-\d)?$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
34
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
35 ^doc/\w*/stamp-vti$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
36 ^doc/\w*/version\.texi$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
37 ^doc/interpreter/images\.mk$
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
38
15394
2b72343ed9c4 hgignore: Update patterns to reflect directory changes to source tree.
Rik <rik@octave.org>
parents: 15325
diff changeset
39 # e.g. liboctave/operators/smx-op-inc.mk
15325
d9b955926a50 maint: update .hgignore
Jordi Gutiérrez Hermoso <jordigh@octave.org>
parents: 15207
diff changeset
40 ^liboctave/operators/\w+-op-\w+\.mk$
12473
95b1c64c287f Improve .hgignore adding more things to be ignored
Jordi Gutiérrez Hermoso <jordigh@gmail.com>
parents: 7823
diff changeset
41
15207
2f2fb099ac3a fix name of ignored dldfcn/module.mk file
John W. Eaton <jwe@octave.org>
parents: 12473
diff changeset
42 ^libinterp/dldfcn/module\.mk$