The R Project SVN R

Rev

Rev 7002 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7002 Rev 7003
Line 22... Line 22...
22
 */
22
 */
23
 
23
 
24
#ifndef UTILS_H_
24
#ifndef UTILS_H_
25
#define UTILS_H_
25
#define UTILS_H_
26
 
26
 
27
#include "Complex.h"
27
#include "R_ext/Complex.h"
28
 
-
 
29
/* ../main/sort.c : */
-
 
30
void	isort(int*,     int);
-
 
31
void	rsort(double*, int);
-
 
32
void	csort(Rcomplex*, int);
28
#include "R_ext/Sort.h"
33
void    rsort_with_index(double *, int *, int);
-
 
34
void	revsort(double*, int*, int);/* reverse; sort i[] alongside */
-
 
35
void	iPsort(int*,    int, int);
-
 
36
void	rPsort(double*, int, int);
-
 
37
void	cPsort(Rcomplex*, int, int);
-
 
38
 
29
 
39
int	IndexWidth(int);
30
int	IndexWidth(int);
40
int	Rstrlen(char*);
31
int	Rstrlen(char*);
41
char*	R_ExpandFileName(char*);
32
char*	R_ExpandFileName(char*);
42
void	setIVector(int*, int, int);
33
void	setIVector(int*, int, int);