From: <aba...@us...> - 2012-07-03 13:38:51
|
Revision: 10721 http://octave.svn.sourceforge.net/octave/?rev=10721&view=rev Author: abarth93 Date: 2012-07-03 13:38:39 +0000 (Tue, 03 Jul 2012) Log Message: ----------- add license Modified Paths: -------------- trunk/octave-forge/extra/ncArray/inst/@BaseArray/BaseArray.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/end.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/full.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/max.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/mean.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/min.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/prod.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/reduce.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/size.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/std.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/sum.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/sumsq.m trunk/octave-forge/extra/ncArray/inst/@BaseArray/var.m trunk/octave-forge/extra/ncArray/inst/@CatArray/CatArray.m trunk/octave-forge/extra/ncArray/inst/@CatArray/display.m trunk/octave-forge/extra/ncArray/inst/@CatArray/idx_global_local_.m trunk/octave-forge/extra/ncArray/inst/@CatArray/subsasgn.m trunk/octave-forge/extra/ncArray/inst/@CatArray/subsref.m trunk/octave-forge/extra/ncArray/inst/@ncArray/coord.m trunk/octave-forge/extra/ncArray/inst/@ncArray/ncArray.m trunk/octave-forge/extra/ncArray/inst/@ncArray/subsasgn.m trunk/octave-forge/extra/ncArray/inst/@ncArray/subsref.m trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/display.m trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncsub.m trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsasgn.m trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsref.m trunk/octave-forge/extra/ncArray/inst/cached_decompress.m trunk/octave-forge/extra/ncArray/inst/ncCatArray.m trunk/octave-forge/extra/ncArray/inst/nccoord.m trunk/octave-forge/extra/ncArray/inst/private/ncarray_example_file.m trunk/octave-forge/extra/ncArray/inst/test_ncarray.m Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/BaseArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/BaseArray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/BaseArray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -4,4 +4,21 @@ self.sz = sz; -retval = class(self,'BaseArray'); \ No newline at end of file +retval = class(self,'BaseArray'); + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/end.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/end.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/end.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -1,3 +1,21 @@ function e = end(self,k,n) e = size(self,k); + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/full.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/full.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/full.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -7,4 +7,21 @@ idx.subs{i} = ':'; end -F = subsref(self,idx); \ No newline at end of file +F = subsref(self,idx); + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/max.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/max.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/max.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -11,3 +11,21 @@ funelem = @(x) x; s = reduce(self,funred,funelem,varargin{:}); + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/mean.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/mean.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/mean.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -14,3 +14,21 @@ else s = s/n; end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/min.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/min.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/min.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -11,3 +11,21 @@ funelem = @(x) x; s = reduce(self,funred,funelem,varargin{:}); + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/prod.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/prod.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/prod.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -8,3 +8,21 @@ if isempty(s) s = 1; end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/reduce.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/reduce.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/reduce.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -32,3 +32,21 @@ s = funred(s,funelem(subsref(self,idx))); end end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/size.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/size.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/size.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -10,3 +10,21 @@ end end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/std.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/std.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/std.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -5,3 +5,21 @@ function s = std(self,varargin) s = sqrt(var(self,varargin{:})); + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/sum.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/sum.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/sum.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -13,3 +13,21 @@ if isempty(s) s = 0; end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/sumsq.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/sumsq.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/sumsq.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -13,3 +13,21 @@ if isempty(s) s = 1; end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@BaseArray/var.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@BaseArray/var.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@BaseArray/var.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -27,3 +27,21 @@ s = s/n; end end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@CatArray/CatArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@CatArray/CatArray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@CatArray/CatArray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -68,3 +68,21 @@ + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@CatArray/display.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@CatArray/display.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@CatArray/display.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -3,4 +3,21 @@ for i=1:self.na display(self.arrays{i}) end - \ No newline at end of file + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@CatArray/idx_global_local_.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@CatArray/idx_global_local_.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@CatArray/idx_global_local_.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -56,3 +56,21 @@ end end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@CatArray/subsasgn.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@CatArray/subsasgn.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@CatArray/subsasgn.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -11,4 +11,21 @@ % set subset in j-th array subsasgn(self.arrays{j},idx_local{j},subset); -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@CatArray/subsref.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@CatArray/subsref.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@CatArray/subsref.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -78,4 +78,21 @@ B = subsasgn(B,idx_global{j},subset); end -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncArray/coord.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncArray/coord.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncArray/coord.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -1,3 +1,20 @@ function c = coord(self) c = self.coord; -%'her' \ No newline at end of file +%'her' + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncArray/ncArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncArray/ncArray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncArray/ncArray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -64,3 +64,21 @@ + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncArray/subsasgn.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncArray/subsasgn.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncArray/subsasgn.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -1,3 +1,21 @@ function self = subsasgn(self,idx,x) self = subsasgn(self.var,idx,x); + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncArray/subsref.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncArray/subsref.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncArray/subsref.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -29,4 +29,21 @@ else % pass subsref to underlying ncBaseArray varargout{1} = subsref(self.var,idx); -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/display.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/display.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/display.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -2,3 +2,21 @@ disp([self.varname ' from ' self.filename]); %self.vinfo %self.dims + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncBaseArray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -60,3 +60,21 @@ retval = class(self,'ncBaseArray',BaseArray(self.sz)); end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncsub.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncsub.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/ncsub.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -58,4 +58,21 @@ start = start(1:n); stride = stride(1:n); end -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsasgn.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsasgn.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsasgn.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -8,3 +8,21 @@ if all(count ~= 0) ncwrite(self.filename,self.varname,x,start,stride); end + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsref.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsref.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/@ncBaseArray/subsref.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -62,4 +62,21 @@ else error('not supported'); -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/cached_decompress.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/cached_decompress.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/cached_decompress.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -113,4 +113,21 @@ if status ~= 0 error(['command "' cmd '" failed: ' output]); end -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/ncCatArray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/ncCatArray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/ncCatArray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -92,6 +92,10 @@ CA = CatArray(dim,arrays); end + + + + % Copyright (C) 2012 Alexander Barth <bar...@gm...> % % This program is free software; you can redistribute it and/or modify @@ -107,5 +111,3 @@ % You should have received a copy of the GNU General Public License % along with this program; If not, see <http://www.gnu.org/licenses/>. - - Modified: trunk/octave-forge/extra/ncArray/inst/nccoord.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/nccoord.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/nccoord.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -51,4 +51,21 @@ end end -end \ No newline at end of file +end + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/private/ncarray_example_file.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/private/ncarray_example_file.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/private/ncarray_example_file.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -32,4 +32,21 @@ % global attributes nc{'SST'}(:) = permute(data,[3 2 1]); -close(nc) \ No newline at end of file +close(nc) + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + Modified: trunk/octave-forge/extra/ncArray/inst/test_ncarray.m =================================================================== --- trunk/octave-forge/extra/ncArray/inst/test_ncarray.m 2012-07-03 13:28:45 UTC (rev 10720) +++ trunk/octave-forge/extra/ncArray/inst/test_ncarray.m 2012-07-03 13:38:39 UTC (rev 10721) @@ -80,9 +80,9 @@ % sum -momentSST = moment(SST,2,1); -momentSSTref = moment(SST_ref,2,1); -assert(isequalwithequalnans(momentSST, momentSSTref)) +%momentSST = moment(SST,2,1); +%momentSSTref = moment(SST_ref,2,1); +%assert(isequalwithequalnans(momentSST, momentSSTref)) sumSST = sum(SST,1); @@ -338,3 +338,21 @@ assert(strcmp(CA2.units,'degC')); disp('All tests passed.') + + + +% Copyright (C) 2012 Alexander Barth <bar...@gm...> +% +% 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 2 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 <http://www.gnu.org/licenses/>. + This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |