summaryrefslogtreecommitdiff
path: root/src/implicitList/implicitList.h
diff options
context:
space:
mode:
authorjofret2008-06-19 15:11:20 +0000
committerjofret2008-06-19 15:11:20 +0000
commite708176b6010174972b5c248c4e550e5c46ceff2 (patch)
tree6eb52073a0c52311ce07d52eb1e23c78bec24444 /src/implicitList/implicitList.h
parente7e9181b9e873e7a4ca4f2335224053744bb2024 (diff)
downloadscilab2c-e708176b6010174972b5c248c4e550e5c46ceff2.tar.gz
scilab2c-e708176b6010174972b5c248c4e550e5c46ceff2.tar.bz2
scilab2c-e708176b6010174972b5c248c4e550e5c46ceff2.zip
Add Implicit List construction.
Means start:step:end that create some array.
Diffstat (limited to 'src/implicitList/implicitList.h')
-rw-r--r--src/implicitList/implicitList.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/src/implicitList/implicitList.h b/src/implicitList/implicitList.h
new file mode 100644
index 00000000..d5f87bfc
--- /dev/null
+++ b/src/implicitList/implicitList.h
@@ -0,0 +1,33 @@
+/*
+ * Scilab ( http://www.scilab.org/ ) - This file is part of Scilab
+ * Copyright (C) 2006-2008 - INRIA - Bruno JOFRET
+ *
+ * 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
+ *
+ */
+
+#ifndef __IMPLICITLIST_H__
+#define __IMPLICITLIST_H__
+
+#include "floatComplex.h"
+#include "doubleComplex.h"
+
+/*
+** Create implicit Lists with scilab syntax
+** start:step:end
+** or start:end <=> start:1:end
+*/
+
+void simplicitLists(float start, float step, float end, float *out);
+
+void dimplicitLists(double start, double step, double end, double *out);
+
+void cimplicitLists(floatComplex start, floatComplex step, floatComplex end, float *out);
+
+void zimplicitLists(doubleComplex start, doubleComplex step, doubleComplex end, double *out);
+
+#endif /* !__IMPLICITLIST_H__ */