#include "stack-c.h"Include dependency graph for ext14c.c:

Go to the source code of this file.
Functions | |
| int | ext14cI (char *fname) |
| int | ext14c (int *n, double *a, double *b, double *c) |
| int ext14cI | ( | char * | fname | ) |
Definition at line 14 of file ext14c.c.
References CheckLhs, CheckRhs, CreateVar, Error, ext14c(), GetRhsVar, LhsVar, m1, m2, n, n1, n2, Nbvars, PutLhsVar, sciprint(), and stk.
00015 { 00016 int m1,n1,l1,m2,n2,l2,m3,n3,l3,n,l4; 00017 int minlhs=1, minrhs=3, maxlhs=1, maxrhs=3; 00018 Nbvars = 0; 00019 CheckRhs(minrhs,maxrhs) ; 00020 CheckLhs(minlhs,maxlhs) ; 00021 GetRhsVar( 1, "c", &m1, &n1, &l1); 00022 GetRhsVar( 2, "d", &m2, &n2, &l2); 00023 GetRhsVar( 3, "d", &m3, &n3, &l3); 00024 if ( m3*n3 != m2*n2) 00025 { 00026 sciprint("%s :Incompatible dimensions\r\n",fname); 00027 Error(999); return(0); 00028 } 00029 CreateVar( 4, "d", &m2, &n2, &l4); 00030 n=m3*n3; 00031 ext14c(&n,stk(l2),stk(l3),stk(l4)); 00032 LhsVar(1) = 4; 00033 PutLhsVar(); 00034 return(0); 00035 }
Here is the call graph for this function:

1.5.1