File: survS.h

package info (click to toggle)
probabel 0.5.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 12,680 kB
  • sloc: cpp: 6,357; sh: 2,355; ansic: 1,676; makefile: 934; asm: 284; perl: 263; awk: 47
file content (12 lines) | stat: -rw-r--r-- 231 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
#include "R.h"
#include "R_ext/Memory.h"
#define ALLOC(a,b) S_alloc(a,b)

#include "Rmath.h"
#ifndef erf
#define erf(x) (2*pnorm5((x)*M_SQRT2,0,1,1,0)-1)
#endif
#ifndef erfc
#define erfc(x) (2*pnorm5(-(x)*M_SQRT2,0,1,1,0))
#endif