summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/isvector
diff options
context:
space:
mode:
authorAbhinav Dronamraju2017-07-20 21:38:57 +0530
committerAbhinav Dronamraju2017-07-20 21:38:57 +0530
commitb0df4c8bb591d5df8a2401b15ea36c6402161c53 (patch)
tree7bfc3f4e58071c0b2b217566a9039742fd1fad6c /2.3-1/src/c/elementaryFunctions/isvector
parent40913c177746aaf97d9fa62edb3c1ed9dc9873a5 (diff)
downloadScilab2C-b0df4c8bb591d5df8a2401b15ea36c6402161c53.tar.gz
Scilab2C-b0df4c8bb591d5df8a2401b15ea36c6402161c53.tar.bz2
Scilab2C-b0df4c8bb591d5df8a2401b15ea36c6402161c53.zip
Pmodulo and nanmax started
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/isvector')
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/disvectora.c4
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/gisvectora.c4
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c4
-rw-r--r--2.3-1/src/c/elementaryFunctions/isvector/zisvectora.c4
4 files changed, 8 insertions, 8 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
index 3c41027f..a96485be 100644
--- a/2.3-1/src/c/elementaryFunctions/isvector/disvectora.c
+++ b/2.3-1/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/2.3-1/src/c/elementaryFunctions/isvector/gisvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/gisvectora.c
index d2e261e9..758fa879 100644
--- a/2.3-1/src/c/elementaryFunctions/isvector/gisvectora.c
+++ b/2.3-1/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/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
index 09ad6515..d6a4821b 100644
--- a/2.3-1/src/c/elementaryFunctions/isvector/sisvectora.c
+++ b/2.3-1/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/2.3-1/src/c/elementaryFunctions/isvector/zisvectora.c b/2.3-1/src/c/elementaryFunctions/isvector/zisvectora.c
index fba78124..0ed64a63 100644
--- a/2.3-1/src/c/elementaryFunctions/isvector/zisvectora.c
+++ b/2.3-1/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';
}