diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/c/elementaryFunctions/includes/isrow.h | 3 | ||||
-rw-r--r-- | src/c/elementaryFunctions/interfaces/int_isrow.h | 1 | ||||
-rw-r--r-- | src/c/elementaryFunctions/isrow/zisrows.c | 25 |
3 files changed, 28 insertions, 1 deletions
diff --git a/src/c/elementaryFunctions/includes/isrow.h b/src/c/elementaryFunctions/includes/isrow.h index 5c01063..8c9f7ce 100644 --- a/src/c/elementaryFunctions/includes/isrow.h +++ b/src/c/elementaryFunctions/includes/isrow.h @@ -28,7 +28,8 @@ char sisrowa( float* , int); char sisrows( float); char gisrowa(char* , int); char gisrows(char); -char zisrowa(doubleComplex *inp, int); +char zisrowa(doubleComplex*, int); +char zisrows(doubleComplex); #ifdef __cplusplus } /* extern "C" */ diff --git a/src/c/elementaryFunctions/interfaces/int_isrow.h b/src/c/elementaryFunctions/interfaces/int_isrow.h index af718b4..6ecb145 100644 --- a/src/c/elementaryFunctions/interfaces/int_isrow.h +++ b/src/c/elementaryFunctions/interfaces/int_isrow.h @@ -20,6 +20,7 @@ #define g2isrowg0(in, size) gisrowa(in, size[0]) #define g0isrowg0(in) gisrows(in) #define z2isrowg0(in, size) zisrowa(in , size[0]) +#define z0isrowg0(in) zisrows(in) #endif diff --git a/src/c/elementaryFunctions/isrow/zisrows.c b/src/c/elementaryFunctions/isrow/zisrows.c new file mode 100644 index 0000000..96e671a --- /dev/null +++ b/src/c/elementaryFunctions/isrow/zisrows.c @@ -0,0 +1,25 @@ +/* Copyright (C) 2016 - IIT Bombay - FOSSEE + + This file must be used under the terms of the CeCILL. + This source file is licensed as described in the file COPYING, which + you should have received as part of this distribution. The terms + are also available at + http://www.cecill.info/licences/Licence_CeCILL_V2-en.txt + Author: Abhinav Dronamraju + Organization: FOSSEE, IIT Bombay + Email: toolbox@scilab.in +*/ + +#include <stdio.h> +#include <stdlib.h> +#include <math.h> +#include "isrow.h" +#include "types.h" +#include "doubleComplex.h" + +char zisrows(doubleComplex inp) +{ + char out='T'; + + return out; +} |