ext6c.c File Reference

#include "stack-c.h"

Include dependency graph for ext6c.c:

Go to the source code of this file.

Functions

int ext6c (char *aname, double *b, double *c)


Function Documentation

int ext6c ( char *  aname,
double *  b,
double *  c 
)

Definition at line 13 of file ext6c.c.

References a, m, n, and ReadMatrix.

00014 {   
00015   double a[3];
00016   int k, m, n;
00017   ReadMatrix(aname, &m, &n, a);
00018   /*     [m,n]=size(a)  here m=1 n=3  */
00019   for (k = 0; k < n; ++k) 
00020     c[k] = a[k] + b[k] * 2.;
00021   return(0);
00022 }


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