/usr/share/axiom-20170501/src/algebra/NAGE01.spad is in axiom-source 20170501-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 | )abbrev package NAGE01 NagInterpolationPackage
++ Author: Godfrey Nolan and Mike Dewar
++ Date Created: Jan 1994
++ Date Last Updated: Thu May 12 17:44:53 1994
++ Description:
++ This package uses the NAG Library to calculate the interpolation of a
++ function of one or two variables. When provided with the value of the
++ function (and possibly one or more of its lowest-order
++ derivatives) at each of a number of values of the variable(s),
++ the routines provide either an interpolating function or an
++ interpolated value. For some of the interpolating functions,
++ there are supporting routines to evaluate, differentiate or
++ integrate them.
NagInterpolationPackage() : SIG == CODE where
S ==> Symbol
FOP ==> FortranOutputStackPackage
SIG ==> with
e01baf : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Integer,_
Integer,Integer) -> Result
++ e01baf(m,x,y,lck,lwrk,ifail)
++ determines a cubic spline to a given set of
++ data.
++ See \downlink{Manual Page}{manpageXXe01baf}.
e01bef : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Integer) -> Result
++ e01bef(n,x,f,ifail)
++ computes a monotonicity-preserving piecewise cubic Hermite
++ interpolant to a set of data points.
++ See \downlink{Manual Page}{manpageXXe01bef}.
e01bff : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
Integer,Matrix DoubleFloat,Integer) -> Result
++ e01bff(n,x,f,d,m,px,ifail)
++ evaluates a piecewise cubic Hermite interpolant at a set
++ of points.
++ See \downlink{Manual Page}{manpageXXe01bff}.
e01bgf : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
Integer,Matrix DoubleFloat,Integer) -> Result
++ e01bgf(n,x,f,d,m,px,ifail)
++ evaluates a piecewise cubic Hermite interpolant and its
++ first derivative at a set of points.
++ See \downlink{Manual Page}{manpageXXe01bgf}.
e01bhf : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
DoubleFloat,DoubleFloat,Integer) -> Result
++ e01bhf(n,x,f,d,a,b,ifail)
++ evaluates the definite integral of a piecewise cubic
++ Hermite interpolant over the interval [a,b].
++ See \downlink{Manual Page}{manpageXXe01bhf}.
e01daf : (Integer,Integer,Matrix DoubleFloat,Matrix DoubleFloat,_
Matrix DoubleFloat,Integer) -> Result
++ e01daf(mx,my,x,y,f,ifail)
++ computes a bicubic spline interpolating surface through a
++ set of data values, given on a rectangular grid in the x-y plane.
++ See \downlink{Manual Page}{manpageXXe01daf}.
e01saf : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
Integer) -> Result
++ e01saf(m,x,y,f,ifail)
++ generates a two-dimensional surface interpolating a set of
++ scattered data points, using the method of Renka and Cline.
++ See \downlink{Manual Page}{manpageXXe01saf}.
e01sbf : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
Matrix Integer,Matrix DoubleFloat,DoubleFloat,DoubleFloat,_
Integer) -> Result
++ e01sbf(m,x,y,f,triang,grads,px,py,ifail)
++ evaluates at a given point the two-dimensional interpolant
++ function computed by E01SAF.
++ See \downlink{Manual Page}{manpageXXe01sbf}.
e01sef : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
Integer,Integer,DoubleFloat,DoubleFloat,Integer) -> Result
++ e01sef(m,x,y,f,nw,nq,rnw,rnq,ifail)
++ generates a two-dimensional surface interpolating a set of
++ scattered data points, using a modified Shepard method.
++ See \downlink{Manual Page}{manpageXXe01sef}.
e01sff : (Integer,Matrix DoubleFloat,Matrix DoubleFloat,Matrix DoubleFloat,_
DoubleFloat,Matrix DoubleFloat,DoubleFloat,DoubleFloat,_
Integer) -> Result
++ e01sff(m,x,y,f,rnw,fnodes,px,py,ifail)
++ evaluates at a given point the two-dimensional
++ interpolating function computed by E01SEF.
++ See \downlink{Manual Page}{manpageXXe01sff}.
CODE ==> add
import Lisp
import DoubleFloat
import Any
import Record
import Integer
import Matrix DoubleFloat
import Boolean
import NAGLinkSupportPackage
import AnyFunctions1(Integer)
import AnyFunctions1(Matrix DoubleFloat)
import AnyFunctions1(Matrix Integer)
import AnyFunctions1(DoubleFloat)
e01baf(mArg:Integer,xArg:Matrix DoubleFloat,yArg:Matrix DoubleFloat,_
lckArg:Integer,lwrkArg:Integer,ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01baf",_
["m"::S,"lck"::S,"lwrk"::S,"ifail"::S,"x"::S,"y"::S,_
"lamda"::S,"c"::S,"wrk"::S_
]$Lisp,_
["lamda"::S,"c"::S,"wrk"::S]$Lisp,_
[["double"::S,["x"::S,"m"::S]$Lisp,["y"::S,"m"::S]$Lisp_
,["lamda"::S,"lck"::S]$Lisp,["c"::S,"lck"::S]$Lisp,_
["wrk"::S,"lwrk"::S]$Lisp]$Lisp_
,["integer"::S,"m"::S,"lck"::S,"lwrk"::S,"ifail"::S_
]$Lisp_
]$Lisp,_
["lamda"::S,"c"::S,"ifail"::S]$Lisp,_
[([mArg::Any,lckArg::Any,lwrkArg::Any,ifailArg::Any,_
xArg::Any,yArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01bef(nArg:Integer,xArg:Matrix DoubleFloat,fArg:Matrix DoubleFloat,_
ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01bef",_
["n"::S,"ifail"::S,"x"::S,"f"::S,"d"::S]$Lisp,_
["d"::S]$Lisp,_
[["double"::S,["x"::S,"n"::S]$Lisp,["f"::S,"n"::S]$Lisp_
,["d"::S,"n"::S]$Lisp]$Lisp_
,["integer"::S,"n"::S,"ifail"::S]$Lisp_
]$Lisp,_
["d"::S,"ifail"::S]$Lisp,_
[([nArg::Any,ifailArg::Any,xArg::Any,fArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01bff(nArg:Integer,xArg:Matrix DoubleFloat,fArg:Matrix DoubleFloat,_
dArg:Matrix DoubleFloat,mArg:Integer,pxArg:Matrix DoubleFloat,_
ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01bff",_
["n"::S,"m"::S,"ifail"::S,"x"::S,"f"::S,"d"::S,"px"::S,"pf"::S_
]$Lisp,_
["pf"::S]$Lisp,_
[["double"::S,["x"::S,"n"::S]$Lisp,["f"::S,"n"::S]$Lisp_
,["d"::S,"n"::S]$Lisp,["px"::S,"m"::S]$Lisp,_
["pf"::S,"m"::S]$Lisp]$Lisp_
,["integer"::S,"n"::S,"m"::S,"ifail"::S]$Lisp_
]$Lisp,_
["pf"::S,"ifail"::S]$Lisp,_
[([nArg::Any,mArg::Any,ifailArg::Any,xArg::Any,fArg::Any,_
dArg::Any,pxArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01bgf(nArg:Integer,xArg:Matrix DoubleFloat,fArg:Matrix DoubleFloat,_
dArg:Matrix DoubleFloat,mArg:Integer,pxArg:Matrix DoubleFloat,_
ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01bgf",_
["n"::S,"m"::S,"ifail"::S,"x"::S,"f"::S,"d"::S,"px"::S,"pf"::S_
,"pd"::S]$Lisp,_
["pf"::S,"pd"::S]$Lisp,_
[["double"::S,["x"::S,"n"::S]$Lisp,["f"::S,"n"::S]$Lisp_
,["d"::S,"n"::S]$Lisp,["px"::S,"m"::S]$Lisp,_
["pf"::S,"m"::S]$Lisp,["pd"::S,"m"::S]$Lisp]$Lisp_
,["integer"::S,"n"::S,"m"::S,"ifail"::S]$Lisp_
]$Lisp,_
["pf"::S,"pd"::S,"ifail"::S]$Lisp,_
[([nArg::Any,mArg::Any,ifailArg::Any,xArg::Any,_
fArg::Any,dArg::Any,pxArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01bhf(nArg:Integer,xArg:Matrix DoubleFloat,fArg:Matrix DoubleFloat,_
dArg:Matrix DoubleFloat,aArg:DoubleFloat,bArg:DoubleFloat,_
ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01bhf",_
["n"::S,"a"::S,"b"::S,"pint"::S,"ifail"::S_
,"x"::S,"f"::S,"d"::S]$Lisp,_
["pint"::S]$Lisp,_
[["double"::S,["x"::S,"n"::S]$Lisp,["f"::S,"n"::S]$Lisp_
,["d"::S,"n"::S]$Lisp,"a"::S,"b"::S,"pint"::S]$Lisp_
,["integer"::S,"n"::S,"ifail"::S]$Lisp_
]$Lisp,_
["pint"::S,"ifail"::S]$Lisp,_
[([nArg::Any,aArg::Any,bArg::Any,ifailArg::Any,xArg::Any,_
fArg::Any,dArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01daf(mxArg:Integer,myArg:Integer,xArg:Matrix DoubleFloat,_
yArg:Matrix DoubleFloat,fArg:Matrix DoubleFloat,_
ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01daf",_
["mx"::S,"my"::S,"px"::S,"py"::S,"ifail"::S_
,"x"::S,"y"::S,"f"::S,"lamda"::S,"mu"::S_
,"c"::S,"wrk"::S]$Lisp,_
["px"::S,"py"::S,"lamda"::S,"mu"::S,"c"::S,"wrk"::S]$Lisp,_
[["double"::S,["x"::S,"mx"::S]$Lisp,["y"::S,"my"::S]$Lisp_
,["f"::S,["*"::S,"mx"::S,"my"::S]$Lisp]$Lisp,_
["lamda"::S,["+"::S,"mx"::S,4$Lisp]$Lisp]$Lisp,_
["mu"::S,["+"::S,"mx"::S,4$Lisp]$Lisp]$Lisp_
,["c"::S,["*"::S,"mx"::S,"my"::S]$Lisp]$Lisp,_
["wrk"::S,["*"::S,["+"::S,"mx"::S,6$Lisp]$Lisp,_
["+"::S,"my"::S,6$Lisp]$Lisp]$Lisp]$Lisp_
]$Lisp_
,["integer"::S,"mx"::S,"my"::S,"px"::S,"py"::S_
,"ifail"::S]$Lisp_
]$Lisp,_
["px"::S,"py"::S,"lamda"::S,"mu"::S,"c"::S,"ifail"::S]$Lisp,_
[([mxArg::Any,myArg::Any,ifailArg::Any,xArg::Any,_
yArg::Any,fArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01saf(mArg:Integer,xArg:Matrix DoubleFloat,yArg:Matrix DoubleFloat,_
fArg:Matrix DoubleFloat,ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01saf",_
["m"::S,"ifail"::S,"x"::S,"y"::S,"f"::S,"triang"::S,"grads"::S_
]$Lisp,_
["triang"::S,"grads"::S]$Lisp,_
[["double"::S,["x"::S,"m"::S]$Lisp,["y"::S,"m"::S]$Lisp_
,["f"::S,"m"::S]$Lisp,["grads"::S,2$Lisp,"m"::S]$Lisp]$Lisp_
,["integer"::S,"m"::S,["triang"::S,["*"::S,7$Lisp,"m"::S]$Lisp]$Lisp_
,"ifail"::S]$Lisp_
]$Lisp,_
["triang"::S,"grads"::S,"ifail"::S]$Lisp,_
[([mArg::Any,ifailArg::Any,xArg::Any,yArg::Any,fArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01sbf(mArg:Integer,xArg:Matrix DoubleFloat,yArg:Matrix DoubleFloat,_
fArg:Matrix DoubleFloat,triangArg:Matrix Integer,_
gradsArg:Matrix DoubleFloat,_
pxArg:DoubleFloat,pyArg:DoubleFloat,ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01sbf",_
["m"::S,"px"::S,"py"::S,"pf"::S,"ifail"::S_
,"x"::S,"y"::S,"f"::S,"triang"::S,"grads"::S_
]$Lisp,_
["pf"::S]$Lisp,_
[["double"::S,["x"::S,"m"::S]$Lisp,["y"::S,"m"::S]$Lisp_
,["f"::S,"m"::S]$Lisp,["grads"::S,2$Lisp,"m"::S]$Lisp,_
"px"::S,"py"::S,"pf"::S]$Lisp_
,["integer"::S,"m"::S,["triang"::S,["*"::S,7$Lisp,"m"::S]$Lisp]$Lisp_
,"ifail"::S]$Lisp_
]$Lisp,_
["pf"::S,"ifail"::S]$Lisp,_
[([mArg::Any,pxArg::Any,pyArg::Any,ifailArg::Any,xArg::Any,_
yArg::Any,fArg::Any,triangArg::Any,gradsArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01sef(mArg:Integer,xArg:Matrix DoubleFloat,yArg:Matrix DoubleFloat,_
fArg:Matrix DoubleFloat,nwArg:Integer,nqArg:Integer,_
rnwArg:DoubleFloat,rnqArg:DoubleFloat,ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01sef",_
["m"::S,"nw"::S,"nq"::S,"minnq"::S,"rnw"::S_
,"rnq"::S,"ifail"::S,"x"::S,"y"::S,"f"::S,"fnodes"::S,"wrk"::S_
]$Lisp,_
["fnodes"::S,"minnq"::S,"wrk"::S]$Lisp,_
[["double"::S,["x"::S,"m"::S]$Lisp,["y"::S,"m"::S]$Lisp_
,["f"::S,"m"::S]$Lisp,["fnodes"::S,["*"::S,5$Lisp,"m"::S]$Lisp]$Lisp,_
"rnw"::S,"rnq"::S,["wrk"::S,["*"::S,6$Lisp,"m"::S]$Lisp]$Lisp_
]$Lisp_
,["integer"::S,"m"::S,"nw"::S,"nq"::S,"minnq"::S_
,"ifail"::S]$Lisp_
]$Lisp,_
["fnodes"::S,"minnq"::S,"rnw"::S,"rnq"::S,"ifail"::S]$Lisp,_
[([mArg::Any,nwArg::Any,nqArg::Any,rnwArg::Any,rnqArg::Any,_
ifailArg::Any,xArg::Any,yArg::Any,fArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
e01sff(mArg:Integer,xArg:Matrix DoubleFloat,yArg:Matrix DoubleFloat,_
fArg:Matrix DoubleFloat,rnwArg:DoubleFloat,_
fnodesArg:Matrix DoubleFloat,_
pxArg:DoubleFloat,pyArg:DoubleFloat,ifailArg:Integer): Result ==
[(invokeNagman(NIL$Lisp,_
"e01sff",_
["m"::S,"rnw"::S,"px"::S,"py"::S,"pf"::S_
,"ifail"::S,"x"::S,"y"::S,"f"::S,"fnodes"::S]$Lisp,_
["pf"::S]$Lisp,_
[["double"::S,["x"::S,"m"::S]$Lisp,["y"::S,"m"::S]$Lisp_
,["f"::S,"m"::S]$Lisp,"rnw"::S,["fnodes"::S,_
["*"::S,5$Lisp,"m"::S]$Lisp]$Lisp,"px"::S,"py"::S,"pf"::S]$Lisp_
,["integer"::S,"m"::S,"ifail"::S]$Lisp_
]$Lisp,_
["pf"::S,"ifail"::S]$Lisp,_
[([mArg::Any,rnwArg::Any,pxArg::Any,pyArg::Any,_
ifailArg::Any,xArg::Any,yArg::Any,fArg::Any,fnodesArg::Any ])_
@List Any]$Lisp)$Lisp)_
pretend List (Record(key:Symbol,entry:Any))]$Result
|