--- a/inst/optiminterpn.m +++ b/inst/optiminterpn.m @@ -1,30 +1,30 @@ -## Copyright (C) 2008 Alexander Barth +## Copyright (C) 2008 Alexander Barth <barth.alexander@gmail.com> ## -## 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 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. +## 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/>. +## You should have received a copy of the GNU General Public License along with +## this program; if not, see <http://www.gnu.org/licenses/>. ## -*- texinfo -*- -## @deftypefn {Loadable Function} {[@var{fi},@var{vari}] = } optiminterpn(@var{x},@var{y},@var{...},@var{f},@var{var},@var{lenx},@var{leny},@var{...},@var{m},@var{xi},@var{yi},@var{...}) +## @deftypefn {Loadable Function} {[@var{fi},@var{vari}] = } optiminterpn(@var{x},@var{y},@dots{},@var{f},@var{var},@var{lenx},@var{leny},@dots{},@var{m},@var{xi},@var{yi},@dots{}) ## Performs a local nD-optimal interpolation (objective analysis). ## ## Every elements in @var{f} corresponds to a data point (observation) -## at location @var{x},@var{y},@var{...} with the error variance @var{var}. +## at location @var{x},@var{y},@dots{} with the error variance @var{var}. ## -## @var{lenx},@var{leny},@var{...} are correlation length in x-direction +## @var{lenx},@var{leny},@dots{} are correlation length in x-direction ## y-direction,... respectively. ## @var{m} represents the number of influential points. ## -## @var{xi},@var{yi},@var{...} are the data points where the field is +## @var{xi},@var{yi},@dots{} are the data points where the field is ## interpolated. @var{fi} is the interpolated field and @var{vari} is ## its error variance. ## @@ -36,11 +36,6 @@ ## The error variance of the background field is assumed to ## have a error variance of one. ## @end deftypefn - -## Copyright (C) 2008, Alexander Barth -## Author: Alexander Barth <barth.alexander@gmail.com> - -# {[@var{fi},@var{vari}] = } optiminterpn(@var{x},@var{y},@var{...},@var{f},@var{var},@var{lenx},@var{leny},@var{len...},@var{m},@var{xi},@var{yi},@var{...}) function [fi,vari] = optiminterpn(varargin)