File: csagrid.m

package info (click to toggle)
ncl 6.3.0-13
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 196,648 kB
  • ctags: 70,631
  • sloc: ansic: 603,601; fortran: 441,469; sed: 11,222; csh: 8,350; yacc: 4,253; xml: 1,928; sh: 1,526; lex: 1,266; python: 1,067; f90: 652; perl: 479; java: 447; objc: 291; makefile: 109
file content (152 lines) | stat: -rw-r--r-- 3,314 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
.\"
.\"     $Id: csagrid.m,v 1.4 2008-07-27 03:35:34 haley Exp $
.\"
.TH Csagrid 3NCARG "January 1999" UNIX "NCAR GRAPHICS"
.na
.nh
.SH NAME
csagrid \- cubic spline approximation 
.SH DESCRIPTION
Csagrid is a software package in the ngmath library that implements a 
cubic spline approximation algorithm to fit a function to input data. 
The input for the approximation is a set of randomly-spaced data. These 
data may be one-dimensional, two-dimensional, or three-dimensional. 
.sp
The output is a set of values at coordinates on a user-specified grid, 
or at a set of user-specified points (including at a single point). 
.sp
Functionally equivalent Fortran, C, and NCL interfaces are provided. 
.sp
Csagrid is based on the work of David Fulker and his package Splpack. 
.SH SYNOPSIS
.sp
Fortran one-dimensional input
.br
-----------------------------
.sp
 CSA1S        -  simple entry
.br
 CSA1XS       - expanded entry
.sp
Fortran two-dimensional input
.br
-----------------------------
.sp
 CSA2S        - simple entry, gridded output
.br
 CSA2XS       - expanded entry, gridded output
.br
 CSA2LS       - simple entry, list output
.br
 CSA2LXS      - expanded entry, list output
.sp
Fortran three-dimensional input
.br
-----------------------------
.sp
 CSA3S        - simple entry, gridded output
.br
 CSA3XS       - expanded entry, gridded output
.br
 CSA3LS       - simple entry, list output
.br
 CSA3LXS      - expanded entry, list output
.sp
C one-dimensional input
.br
-----------------------------
.sp
 c_csa1s        -  simple entry
.br
 c_csa1xs       - expanded entry
.sp
C two-dimensional input
.br
-----------------------------
.sp
 c_csa2s        - simple entry, gridded output
.br
 c_csa2xs       - expanded entry, gridded output
.br
 c_csa2ls       - simple entry, list output
.br
 c_csa2lxs      - expanded entry, list output
.sp
C three-dimensional input
.br
-----------------------------
.sp
 c_csa3s        - simple entry, gridded output
.br
 c_csa3xs       - expanded entry, gridded output
.br
 c_csa3ls       - simple entry, list output
.br
 c_csa3lxs      - expanded entry, list output
.sp
NCL one-dimensional input
.br
-----------------------------
.sp
 csa1s        -  simple entry
.br
 csa1xs       - expanded entry
.sp
NCL two-dimensional input
.br
-----------------------------
.sp
 csa2s        - simple entry, gridded output
.br
 csa2xs       - expanded entry, gridded output
.br
 csa2ls       - simple entry, list output
.br
 csa2lxs      - expanded entry, list output
.sp
NCL three-dimensional input
.br
-----------------------------
.sp
 csa3s        - simple entry, gridded output
.br
 csa3xs       - expanded entry, gridded output
.br
 csa3ls       - simple entry, list output
.br
 csa3lxs      - expanded entry, list output
.SH ACCESS 
To use Csagrid entries, load the NCAR Graphics library ngmath.
.SH SEE ALSO
csagrid,
csa1s,
csa1xs,
csa2s,
csa2xs,
csa2ls,
csa2lxs,
csa3s,
csa3xs,
csa3ls,
csa3lxs,
c_csa1s,
c_csa1xs,
c_csa2s,
c_csa2xs,
c_csa2ls,
c_csa2lxs,
c_csa3s,
c_csa3xs,
c_csa3ls,
c_csa3lxs.
.sp
Complete documentation for Csagrid is available at URL
.br
http://ngwww.ucar.edu/ngdoc/ng/ngmath/csagrid/csahome.html
.SH COPYRIGHT
Copyright (C) 2000
.br
University Corporation for Atmospheric Research
.br

The use of this Software is governed by a License Agreement.