www.pudn.com > c.rar > NPMUL0.C, change:1996-02-25,size:321b


 
  #include "stdio.h" 
  #include "npmul.c" 
  main() 
  { int i; 
    static double p[6]={4.0,-6.0,5.0,2.0,-1.0,3.0}; 
    static double q[4]={2.0,3.0,-6.0,2.0}; 
    double s[9]; 
    npmul(p,6,q,4,s,9); 
    printf("\n"); 
    for (i=0; i<=8; i++) 
      printf(" s(%d)=%13.7e\n",i,s[i]); 
    printf("\n"); 
  }