Mercurial > hg > octave-nkf
diff scripts/sparse/module.mk @ 13197:6db186dfdeaa
Refactor sprandn/sprand code, move common code to common function (bug #34352)
* __sprand_impl__.m: New file
* module.mk: Add new file
* sprand.m: Remove comment in docstring about inaccuracy of density.
Put sprandsym in @seealso. Refactor repeated code into
__sprand_impl__.m
* sprandn.m: Ditto. Also enable test for exact density.
author | Jordi Gutiérrez Hermoso <jordigh@octave.org> |
---|---|
date | Fri, 23 Sep 2011 02:40:05 -0500 |
parents | 51bc892d5cf8 |
children | 9106fdfc03e8 |
line wrap: on
line diff
--- a/scripts/sparse/module.mk +++ b/scripts/sparse/module.mk @@ -1,5 +1,8 @@ FCN_FILE_DIRS += sparse +sparse_PRIVATE_FCN_FILES = \ + __sprand_impl__.m + sparse_FCN_FILES = \ sparse/bicg.m \ sparse/bicgstab.m \ @@ -24,7 +27,8 @@ sparse/spy.m \ sparse/svds.m \ sparse/treelayout.m \ - sparse/treeplot.m + sparse/treeplot.m \ + $(sparse_PRIVATE_FCN_FILES) FCN_FILES += $(sparse_FCN_FILES)