Commit add4004d authored by Tim Mitchell's avatar Tim Mitchell
Browse files

Fixed pragma warning issues.

parent aad0bc23
......@@ -29,26 +29,26 @@ function cleanEigsPlus(varargin)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% cleanEigsPlus.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
if isOctave()
error( 'cleanEigsPlus:octave', ...
......
......@@ -91,26 +91,26 @@ function varargout = eigsPlus(varargin)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% eigsPlus.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
persistent eigs_fn;
......
......@@ -24,26 +24,26 @@ function makeEigsPlus()
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% makeEigsPlus.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
if isOctave()
error( 'makeEigsPlus:octave', ...
......
......@@ -18,47 +18,47 @@ function assertMatlabReleaseStr(s)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% assertMatlabReleaseStr.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# assertMatlabReleaseStr.m #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is originally from URTM. #
%# #
%# URTM is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# URTM 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | assertMatlabReleaseStr.m |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is originally from URTM. |
% | |
% | URTM is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | URTM 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
msg = 'Version must be specified in XXXX[ab] format, e.g. ''2015a''';
assert(ischar(s) && length(s) == 5, msg);
......
......@@ -13,47 +13,47 @@ function tf = atLeastVersion(uv)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% atLeastVersion.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# atLeastVersion.m #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is originally from URTM. #
%# #
%# URTM is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# URTM 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | atLeastVersion.m |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is originally from URTM. |
% | |
% | URTM is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | URTM 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
persistent ver;
......
......@@ -11,26 +11,26 @@ function cleanEigsPlusAll()
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% cleanEigsPlusAll.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
base_path = fileparts(mfilename('fullpath'));
potential_files = dir([base_path filesep '*_R*.m']);
......
......@@ -17,26 +17,26 @@ function cleanEigsPlusVersion(rel_name)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% cleanEigsPlusVersion.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
base_path = fileparts(mfilename('fullpath'));
fs = filesep();
......@@ -50,4 +50,4 @@ function cleanEigsPlusVersion(rel_name)
if exist(config_file,'file')
delete(config_file);
end
end
end
\ No newline at end of file
......@@ -10,26 +10,26 @@ function eigsPlus_diffs_path = getEigsPlusDiffsPath()
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% getEigsPlusDiffsPath.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
eigsPlus_diffs_path = 'diffs';
end
\ No newline at end of file
......@@ -13,26 +13,26 @@ function fn = getEigsPlusFunction()
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% getEigsPlusFunction.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
% the folder this file is contained in
base_path = fileparts(mfilename('fullpath'));
......
......@@ -16,26 +16,26 @@ function eigsPlus_name = getEigsPlusName(rel_name)
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% getEigsPlusName.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |
% | |
% | eigsPlus 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 Affero General Public License for more details. |
% | |
% | You should have received a copy of the GNU Affero General Public |
% | License along with this program. If not, see |
% | <http://www.gnu.org/licenses/>. |
% =========================================================================
eigsPlus_name = ['eigsPlus_R' rel_name '.m'];
end
\ No newline at end of file
......@@ -29,26 +29,26 @@ function [eigsPlus_suffix,rel_name,newer_matlab] = getEigsPlusSuffix()
% eigsPlus Version 2.0, 2016, see AGPL license info below.
% getEigsPlusSuffix.m introduced in eigsPlus Version 2.0.
%
%##########################################################################
%# eigsPlus #
%# Copyright (C) 2016 Tim Mitchell #
%# #
%# This file is part of eigsPlus. #
%# #
%# eigsPlus is free software: you can redistribute it and/or modify #
%# it under the terms of the GNU Affero General Public License as #
%# published by the Free Software Foundation, either version 3 of #
%# the License, or (at your option) any later version. #
%# #
%# eigsPlus 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 Affero General Public License for more details. #
%# #
%# You should have received a copy of the GNU Affero General Public #
%# License along with this program. If not, see #
%# <http://www.gnu.org/licenses/>. #
%##########################################################################
% =========================================================================
% | eigsPlus |
% | Copyright (C) 2016 Tim Mitchell |
% | |
% | This file is part of eigsPlus. |
% | |
% | eigsPlus is free software: you can redistribute it and/or modify |
% | it under the terms of the GNU Affero General Public License as |
% | published by the Free Software Foundation, either version 3 of |
% | the License, or (at your option) any later version. |