From c4f926438dcb8abe805e910399940f79ff643c4b Mon Sep 17 00:00:00 2001 From: ziejd2 Date: Thu, 14 Sep 2017 15:39:41 -0500 Subject: Add files via upload --- sourcecodes/localscore/Complex.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 sourcecodes/localscore/Complex.h (limited to 'sourcecodes/localscore/Complex.h') diff --git a/sourcecodes/localscore/Complex.h b/sourcecodes/localscore/Complex.h new file mode 100644 index 00000000..06417a71 --- /dev/null +++ b/sourcecodes/localscore/Complex.h @@ -0,0 +1,38 @@ +/* + * R : A Computer Language for Statistical Data Analysis + * Copyright (C) 1998-2001 The R Core Team + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU Lesser General Public License as published by + * the Free Software Foundation; either version 2.1 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public License + * along with this program; if not, a copy is available at + * http://www.r-project.org/Licenses/ + */ + +/* Included by R.h: API */ + +#ifndef R_COMPLEX_H +#define R_COMPLEX_H + +#ifdef __cplusplus +extern "C" { +#endif + +typedef struct { + double r; + double i; +} Rcomplex; + +#ifdef __cplusplus +} +#endif + +#endif /* R_COMPLEX_H */ -- cgit 1.4.1