# HG changeset patch # User michelemartone # Date 1432933952 0 # Node ID c3df6726a661355eb012429744e1ea20637844e6 # Parent 1e2a304857c5a6997e0bf6d08836e8be7b909b66 changes to respond to Carnë Draug's review of sparsersb dated 20150521@18:22 (ticket #172). diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/DESCRIPTION --- a/main/sparsersb/DESCRIPTION Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/DESCRIPTION Fri May 29 21:12:32 2015 +0000 @@ -6,6 +6,6 @@ Title: Interface to the librsb package implementing the RSB sparse matrix format. Description: Interface to the librsb package implementing the RSB sparse matrix format. Depends: octave (>= 4.0.0) -License: GPL version 3 or later +License: GPLv3+ Url: http://librsb.sourceforge.net/ Categories: Sparse Matrix Computations diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/INDEX --- a/main/sparsersb/INDEX Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/INDEX Fri May 29 21:12:32 2015 +0000 @@ -1,4 +1,3 @@ sparsersb >> Interface to the librsb package implementing the RSB sparse matrix format. - sparsersb Support sparsersb diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/PKG_ADD --- a/main/sparsersb/PKG_ADD Wed May 20 12:25:45 2015 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,1 +0,0 @@ -autoload ("sparsersb", fullfile (fileparts (mfilename ("fullpath")), "sparsersb.oct")); diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/bin/demo_sparsersb.m --- a/main/sparsersb/bin/demo_sparsersb.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/bin/demo_sparsersb.m Fri May 29 21:12:32 2015 +0000 @@ -1,2 +1,19 @@ +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# + # This documentation is yet to be written. disp "This demo is to be written" diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/bin/lsbench.m --- a/main/sparsersb/bin/lsbench.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/bin/lsbench.m Fri May 29 21:12:32 2015 +0000 @@ -1,3 +1,19 @@ +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# # # Linear Solvers benchmarks using sparsersb. # diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/bin/obench.m --- a/main/sparsersb/bin/obench.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/bin/obench.m Fri May 29 21:12:32 2015 +0000 @@ -1,3 +1,19 @@ +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# 1; # This is a script # once complete, this program will benchmark our matrix implementation against octave's cmt="#"; diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/bin/octavebench.m --- a/main/sparsersb/bin/octavebench.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/bin/octavebench.m Fri May 29 21:12:32 2015 +0000 @@ -1,4 +1,20 @@ #!/usr/bin/octave -q +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# 1; # This is a script # a benchmark program for octave/matlab # TODO: fix output format diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/bin/ufsolve.m --- a/main/sparsersb/bin/ufsolve.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/bin/ufsolve.m Fri May 29 21:12:32 2015 +0000 @@ -1,3 +1,19 @@ +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# # # This program shall attempt solution of a problem saved in the MATLAB format as for the University of Florida collection. # diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/inst/matlabbench.m --- a/main/sparsersb/inst/matlabbench.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/inst/matlabbench.m Fri May 29 21:12:32 2015 +0000 @@ -1,3 +1,19 @@ +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# # Undocumented # function mbench(fname) function matlabbench(fname) diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/inst/sparsersbbench.m --- a/main/sparsersb/inst/sparsersbbench.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/inst/sparsersbbench.m Fri May 29 21:12:32 2015 +0000 @@ -1,4 +1,20 @@ #!/usr/bin/octave -q +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# # TODO: document this file's functions so they get installed and are properly usable. # TODO: sprand should not be used in a consistent way diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/inst/sparsersbtester.m --- a/main/sparsersb/inst/sparsersbtester.m Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/inst/sparsersbtester.m Fri May 29 21:12:32 2015 +0000 @@ -1,4 +1,20 @@ #!/usr/bin/octave -q +# +# Copyright (C) 2011-2015 Michele Martone +# +# This program is free software; you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation; either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with this program; if not, see . +# # # A comparative tester for sparsersb. # diff -r 1e2a304857c5 -r c3df6726a661 main/sparsersb/src/sparsersb.cc --- a/main/sparsersb/src/sparsersb.cc Wed May 20 12:25:45 2015 +0000 +++ b/main/sparsersb/src/sparsersb.cc Fri May 29 21:12:32 2015 +0000 @@ -15,6 +15,9 @@ along with this program; if not, see . */ +// PKG_ADD: autoload ("sparsersb", fullfile (fileparts (mfilename ("fullpath")), "sparsersb.oct")); +// PKG_DEL: autoload ("sparsersb", fullfile (fileparts (mfilename ("fullpath")), "sparsersb.oct", "remove")); + /* * TODO wishlist (patches are welcome!): * adapt to when octave_idx_type is 64 bit long