#include <stdio.h>#include <string.h>#include "machine.h"#include "stack-c.h"#include "IsAScalar.h"Include dependency graph for IsAScalar.c:

Go to the source code of this file.
Functions | |
| int | IsAScalar (int RhsNumber) |
Definition at line 11 of file IsAScalar.c.
References GetRhsVar, GetType, m1, n1, and sci_matrix.
00012 { 00013 int bOK=0; 00014 00015 if ( GetType(RhsNumber) == sci_matrix ) 00016 { 00017 static int l1,n1,m1; 00018 GetRhsVar(RhsNumber,"d",&m1,&n1,&l1); 00019 if ( (m1 == 1) && (n1 == 1) ) 00020 { 00021 bOK=1; 00022 } 00023 } 00024 return bOK; 00025 }
1.5.1