c Copyright (C) 2008 VZLU Prague, a.s., Czech Republic c c Author: Jaroslav Hajek <highegg@gmail.com> c c This file is part of OctGPR. c c OctGPR is free software; you can redistribute it and/or modify c it under the terms of the GNU General Public License as published by c the Free Software Foundation; either version 3 of the License, or c (at your option) any later version. c c This program is distributed in the hope that it will be useful, c but WITHOUT ANY WARRANTY; without even the implied warranty of c MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the c GNU General Public License for more details. c c You should have received a copy of the GNU General Public License c along with this software; see the file COPYING. If not, see c <http://www.gnu.org/licenses/>. c double precision function dxnrm2(n,d,x) integer n double precision d(*),x(*) integer k dxnrm2 = 0 do k = 1,n dxnrm2 = dxnrm2 + (x(k)/d(k))**2 end do dxnrm2 = sqrt(dxnrm2) end function

Generated by Doxygen 1.6.0 Back to index