diff options
Diffstat (limited to 'src/c/elementaryFunctions/isvector')
-rw-r--r-- | src/c/elementaryFunctions/isvector/disvectora.c | 4 | ||||
-rw-r--r-- | src/c/elementaryFunctions/isvector/gisvectora.c | 4 | ||||
-rw-r--r-- | src/c/elementaryFunctions/isvector/sisvectora.c | 4 | ||||
-rw-r--r-- | src/c/elementaryFunctions/isvector/zisvectora.c | 4 |
4 files changed, 8 insertions, 8 deletions
diff --git a/src/c/elementaryFunctions/isvector/disvectora.c b/src/c/elementaryFunctions/isvector/disvectora.c index 3c41027..a96485b 100644 --- a/src/c/elementaryFunctions/isvector/disvectora.c +++ b/src/c/elementaryFunctions/isvector/disvectora.c @@ -15,9 +15,9 @@ #include <math.h> #include "isvector.h" #include "types.h" -char disvectora(double* inp, int size1) +char disvectora(double* inp, int row, int col) { - if(size1 ==1) + if(row ==1 || col==1) return 'T'; return 'F'; } diff --git a/src/c/elementaryFunctions/isvector/gisvectora.c b/src/c/elementaryFunctions/isvector/gisvectora.c index d2e261e..758fa87 100644 --- a/src/c/elementaryFunctions/isvector/gisvectora.c +++ b/src/c/elementaryFunctions/isvector/gisvectora.c @@ -16,9 +16,9 @@ #include "isvector.h" #include "types.h" #include "string.h" -char gisvectora(char *inp, int size1) +char gisvectora(char *inp, int row, int col) { - if(size1 ==1) + if(row ==1 || col==1) return 'T'; return 'F'; } diff --git a/src/c/elementaryFunctions/isvector/sisvectora.c b/src/c/elementaryFunctions/isvector/sisvectora.c index 09ad651..d6a4821 100644 --- a/src/c/elementaryFunctions/isvector/sisvectora.c +++ b/src/c/elementaryFunctions/isvector/sisvectora.c @@ -15,9 +15,9 @@ #include <math.h> #include "isvector.h" #include "types.h" -char sisvectora(float* inp, int size1) +char sisvectora(float* inp, int row, int col) { - if(size1 ==1) + if(row ==1 || col==1) return 'T'; return 'F'; } diff --git a/src/c/elementaryFunctions/isvector/zisvectora.c b/src/c/elementaryFunctions/isvector/zisvectora.c index fba7812..0ed64a6 100644 --- a/src/c/elementaryFunctions/isvector/zisvectora.c +++ b/src/c/elementaryFunctions/isvector/zisvectora.c @@ -17,9 +17,9 @@ #include "isvector.h" #include "types.h" -char zisvectora(doubleComplex *inp, int size1) +char zisvectora(doubleComplex *inp, int row, int col) { - if(size1 ==1) + if(row ==1 || col==1) return 'T'; return 'F'; } |