File: tild.f

package info (click to toggle)
scilab 2.2-4
  • links: PTS
  • area: non-free
  • in suites: hamm
  • size: 31,472 kB
  • ctags: 21,963
  • sloc: fortran: 110,983; ansic: 89,717; makefile: 3,016; sh: 1,892; csh: 150; cpp: 101
file content (21 lines) | stat: -rw-r--r-- 590 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
C/MEMBR ADD NAME=TILD,SSI=0
      subroutine tild(n,tp,tpti)
c!but
c     pour un polynome p(z)  l'operation tild aboutit a un polynome
c     ptild(z) defini par la relation suivante :
c       ptild(z)= z**n * p(1/z) .
c!liste d'appel
c     Entree : - tp . vecteur des coefficients du polynome a "tilder" .
c              -  n . degre du polynome "tp"
c
c     Sortie : - tpti . vecteur des coefficients du polynome resultant .
c
c!
      implicit double precision (a-h,o-y)
      dimension tp(0:*),tpti(0:*)
c
      do 50 j=0,n
         tpti(j)=tp(n-j)
 50   continue
      return
      end