gtkIOStream  1.7.0
GTK+ << C++ IOStream operators for GTK+. Now with ORBing, numerical computation, audio client and more ...
evnnot.f
Go to the documentation of this file.
1  subroutine evnnot ( break, coef, l, k, brknew, lnew, coefg )
2 
3 c*********************************************************************72
4 c
5 cc EVNNOT is a version of NEWNOT returning uniform knots.
6 c
7 c from * a practical guide to splines * by c. de boor
8 c this is a fake version of n e w n o t , of use in example 3 of
9 c chapter xiv .
10 c returns lnew+1 knots in brknew which are equidistributed on (a,b)
11 c = (break(1),break(l+1)) .
12 c
13  implicit none
14 
15  integer k,l,lnew, i
16  double precision break(1),brknew(1),coef(k,l),coefg(2,l), step
17 c****** i n p u t ******
18 c break, coef, l, k.....contains the pp-representation of a certain
19 c function f of order k . specifically,
20 c d**(k-1)f(x) = coef(k,i) for break(i).le. x .lt.break(i+1)
21 c lnew.....number of intervals into which the interval (a,b) is to be
22 c sectioned by the new breakpoint sequence brknew .
23 c
24 c****** o u t p u t ******
25 c brknew.....array of length lnew+1 containing the new breakpoint se-
26 c quence
27 c coefg.....the coefficient part of the pp-repr. break, coefg, l, 2
28 c for the monotone p.linear function g wrto which brknew will
29 c be equidistributed.
30 c
31  brknew(1) = break(1)
32  brknew(lnew+1) = break(l+1)
33  step = (break(l+1) - break(1))/dble(lnew)
34  do 93 i=2,lnew
35  93 brknew(i) = break(1) + dble(i-1)*step
36  return
37  end
subroutine evnnot(break, coef, l, k, brknew, lnew, coefg)
Definition: evnnot.f:2
gtkIOStream: /tmp/gtkiostream/src/deBoor/evnnot.f Source File
GTK+ IOStream  Beta