| 53858 |
luke |
1 |
/*
|
|
|
2 |
* R : A Computer Language for Statistical Data Analysis
|
| 89755 |
luke |
3 |
* Copyright (C) 2000-2026 The R Core Team.
|
| 53858 |
luke |
4 |
*
|
| 71657 |
plummer |
5 |
* This header file is free software; you can redistribute it and/or modify
|
| 53858 |
luke |
6 |
* it under the terms of the GNU Lesser General Public License as published by
|
|
|
7 |
* the Free Software Foundation; either version 2.1 of the License, or
|
|
|
8 |
* (at your option) any later version.
|
|
|
9 |
*
|
| 71657 |
plummer |
10 |
* This file is part of R. R is distributed under the terms of the
|
|
|
11 |
* GNU General Public License, either Version 2, June 1991 or Version 3,
|
|
|
12 |
* June 2007. See doc/COPYRIGHTS for details of the copyright status of R.
|
|
|
13 |
*
|
| 53858 |
luke |
14 |
* This program is distributed in the hope that it will be useful,
|
|
|
15 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
16 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
17 |
* GNU Lesser General Public License for more details.
|
|
|
18 |
*
|
|
|
19 |
* You should have received a copy of the GNU Lesser General Public License
|
|
|
20 |
* along with this program; if not, a copy is available at
|
| 68949 |
ripley |
21 |
* https://www.R-project.org/Licenses/
|
| 53858 |
luke |
22 |
*/
|
|
|
23 |
|
| 60256 |
ripley |
24 |
/*
|
|
|
25 |
Experimental: included by src/library/stats/src/distance.c
|
| 65881 |
ripley |
26 |
|
| 89755 |
luke |
27 |
This is not used currently on Windows.
|
| 60256 |
ripley |
28 |
*/
|
|
|
29 |
|
| 53858 |
luke |
30 |
#ifndef R_EXT_MATHTHREADS_H_
|
|
|
31 |
#define R_EXT_MATHTHREADS_H_
|
|
|
32 |
|
| 87075 |
kalibera |
33 |
#include <R_ext/libextern.h>
|
|
|
34 |
|
| 53858 |
luke |
35 |
#ifdef __cplusplus
|
|
|
36 |
extern "C" {
|
|
|
37 |
#endif
|
|
|
38 |
|
| 89755 |
luke |
39 |
#ifdef USE_MATH_THREADS
|
| 53858 |
luke |
40 |
LibExtern int R_num_math_threads;
|
|
|
41 |
LibExtern int R_max_num_math_threads;
|
| 89755 |
luke |
42 |
#endif
|
| 53858 |
luke |
43 |
|
|
|
44 |
#ifdef __cplusplus
|
|
|
45 |
}
|
|
|
46 |
#endif
|
|
|
47 |
|
|
|
48 |
#endif /* R_EXT_MATHTHREADS_H_ */
|