ext5c.c File Reference

#include "stack-c.h"

Include dependency graph for ext5c.c:

Go to the source code of this file.

Functions

int ext5c (double *b, double *c)


Function Documentation

int ext5c ( double *  b,
double *  c 
)

Definition at line 14 of file ext5c.c.

References a, m, n, and ReadMatrix.

00015 { 
00016   static double a[3];
00017   static int k, m, n;
00018   ReadMatrix("Amatrix",&m, &n, a);
00019   /*******************************/
00020   /* [m,n]=size(Amatrix)  here m=1 n=3, a=Amatrix which must exist in Scilab*/
00021   for (k = 0; k < n; ++k) 
00022     c[k] = a[k] + b[k] * 2.;
00023   return(0);
00024 }


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