summaryrefslogtreecommitdiff
path: root/thirdparty/includes/GSL/gsl/gsl_vector_complex.h
diff options
context:
space:
mode:
authorSandeep Gupta2017-07-05 12:41:25 +0530
committerSandeep Gupta2017-07-05 12:41:25 +0530
commit06337f0dc8114c70fd0c7767083971a0d091750a (patch)
tree446481550ba88e6e0f7df2db7fdc66d2016ee2f1 /thirdparty/includes/GSL/gsl/gsl_vector_complex.h
parentc2e305c3b82ed944d57402dd515b3d5839a31980 (diff)
downloadscilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.gz
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.tar.bz2
scilab2c-06337f0dc8114c70fd0c7767083971a0d091750a.zip
LinearAlgebra and MatrixOperation Update
Diffstat (limited to 'thirdparty/includes/GSL/gsl/gsl_vector_complex.h')
-rw-r--r--thirdparty/includes/GSL/gsl/gsl_vector_complex.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/thirdparty/includes/GSL/gsl/gsl_vector_complex.h b/thirdparty/includes/GSL/gsl/gsl_vector_complex.h
deleted file mode 100644
index e56d6a61..00000000
--- a/thirdparty/includes/GSL/gsl/gsl_vector_complex.h
+++ /dev/null
@@ -1,17 +0,0 @@
-#ifndef __GSL_VECTOR_COMPLEX_H__
-#define __GSL_VECTOR_COMPLEX_H__
-
-#define GSL_VECTOR_REAL(z, i) ((z)->data[2*(i)*(z)->stride])
-#define GSL_VECTOR_IMAG(z, i) ((z)->data[2*(i)*(z)->stride + 1])
-
-#if GSL_RANGE_CHECK
-#define GSL_VECTOR_COMPLEX(zv, i) (((i) >= (zv)->size ? (gsl_error ("index out of range", __FILE__, __LINE__, GSL_EINVAL), 0):0 , *GSL_COMPLEX_AT((zv),(i))))
-#else
-#define GSL_VECTOR_COMPLEX(zv, i) (*GSL_COMPLEX_AT((zv),(i)))
-#endif
-
-#define GSL_COMPLEX_AT(zv,i) ((gsl_complex*)&((zv)->data[2*(i)*(zv)->stride]))
-#define GSL_COMPLEX_FLOAT_AT(zv,i) ((gsl_complex_float*)&((zv)->data[2*(i)*(zv)->stride]))
-#define GSL_COMPLEX_LONG_DOUBLE_AT(zv,i) ((gsl_complex_long_double*)&((zv)->data[2*(i)*(zv)->stride]))
-
-#endif /* __GSL_VECTOR_COMPLEX_H__ */