1DSPNT2S(3NCARG) NCAR GRAPHICS DSPNT2S(3NCARG)
2
3
4
6 DSPNT2S- Interpolate at a single point (or points) in 2D in single pre‐
7 cision
8
10 CALL DSPNT2S (N, X, Y, Z, M, XO, YO, ZO, IER)
11
13 N (Integer, Input) - The number of input data points.
14
15 X (Real, Input) - An array containing the X coordinates of
16 the input data points.
17
18 Y (Real, Input) - An array containing the Y coordinates of
19 the input data points.
20
21 Z (Real, Input) - An array containing the functional values
22 of the input data points. That is, Z(L) is the value of the
23 input function at coordinate (X(L),Y(L)), for L=1,N.
24
25 M (Integer, Input) - The number of output data points (this
26 may be "1").
27
28 XO (Real, Input) - An array of dimension M containing the X
29 coordinates of the output data. The values in XO may be in
30 any order.
31
32 YO (Real, Input) - An array of dimension M containing the Y
33 coordinates of the output data. The values in YO may be in
34 any order.
35
36 ZO (Real, Output) - An array of dimension M containing the
37 interpolated values. ZO(I) is the interpolated value at
38 point (XO(I),YO(I)) for I=1,M.
39
40 IER (Integer, Output) - An error return value. If IER is
41 returned as 0, then no errors were detected. If IER is non-
42 zero, then refer to the man page for dsgrid_errors for
43 details.
44
46 This subroutine is called when you want to interpolate at an individual
47 point or points.
48
50 To use DSPNT2S, load the NCAR Graphics library ngmath.
51
53 dsgrid, dsgrid_params.
54
55 Complete documentation for Dsgrid is available at URL
56 http://ngwww.ucar.edu/ngdoc/ng/ngmath/dsgrid/dshome.html
57
59 Copyright (C) 2000
60 University Corporation for Atmospheric Research
61
62 This documentation is free software; you can redistribute it and/or
63 modify it under the terms of the GNU General Public License as pub‐
64 lished by the Free Software Foundation; either version 2 of the
65 License, or (at your option) any later version.
66
67 This software is distributed in the hope that it will be useful, but
68 WITHOUT ANY WARRANTY; without even the implied warranty of MER‐
69 CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
70 Public License for more details.
71
72 You should have received a copy of the GNU General Public License along
73 with this software; if not, write to the Free Software Foundation,
74 Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA.
75
76
77
78
79UNIX September 1997-1998 DSPNT2S(3NCARG)