summaryrefslogtreecommitdiff
path: root/2.3-1/src/c/elementaryFunctions/interfaces
diff options
context:
space:
mode:
authorimushir2016-02-22 14:18:24 +0530
committerimushir2016-02-22 14:18:24 +0530
commit53ba48050cb84aac181851b1426579e866d8d1dd (patch)
treed434e62f7b1ace342dd3a8d930461f7895107132 /2.3-1/src/c/elementaryFunctions/interfaces
parent65ca99dd846281e3d1c3066697ad260df0d0909e (diff)
downloadScilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.tar.gz
Scilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.tar.bz2
Scilab2C-53ba48050cb84aac181851b1426579e866d8d1dd.zip
added support of double for linspace
Diffstat (limited to '2.3-1/src/c/elementaryFunctions/interfaces')
-rw-r--r--2.3-1/src/c/elementaryFunctions/interfaces/int_linspace.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/2.3-1/src/c/elementaryFunctions/interfaces/int_linspace.h b/2.3-1/src/c/elementaryFunctions/interfaces/int_linspace.h
new file mode 100644
index 00000000..4e60b15b
--- /dev/null
+++ b/2.3-1/src/c/elementaryFunctions/interfaces/int_linspace.h
@@ -0,0 +1,10 @@
+/* Scilab2C FOSSEE IITB */
+
+#ifndef __INT_LINSPACE_H__
+#define __INT_LINSPACE_H__
+
+#define d0d0d0linspaced2(in1,in2,in3,out) dlinspaces(in1,in2,in3,out)
+
+#define d2d2d0linspaced2(in1,size1,in2,size2,in3,out) dlinspacea(in1,size1[0],in2,in3,out)
+
+#endif