ex11c.c File Reference

#include "../../routines/machine.h"

Include dependency graph for ex11c.c:

Go to the source code of this file.

Functions

int F2C() ext11c (double *ar, double *ai, int *itra, double *br, double *bi, int *itrb, int *m, int *n)


Function Documentation

int F2C() ext11c ( double *  ar,
double*  ai,
int itra,
double *  br,
double*  bi,
int itrb,
int m,
int n 
)

Definition at line 12 of file ex11c.c.

References ai, ar, bi, br, and n.

00015 {   
00016   int k;
00017   for (k = 0; k < *n*(*m); ++k) 
00018       {
00019         if ( *itra == 1) 
00020           br[k] = ai[k];
00021         else 
00022           br[k] = 0.0;
00023         bi[k] = ar[k];
00024       }
00025   *itrb=1;
00026   return(0);
00027 }


Generated on Sun Mar 4 16:08:11 2007 for Scilab [trunk] by  doxygen 1.5.1