OpenCores
URL https://opencores.org/ocsvn/gng/gng/trunk

Subversion Repositories gng

[/] [gng/] [trunk/] [c/] [icdf.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 guangxi.li
/*
2
 * Piecewise polynomial approximation of
3
 * inverse of the normal cumulative distribution function (CDF)
4
 */
5
 
6
/*
7
 * Copyright (C) 2014, Guangxi Liu <guangxi.liu@opencores.org>
8
 *
9
 * This source file may be used and distributed without restriction provided
10
 * that this copyright statement is not removed from the file and that any
11
 * derivative work contains the original copyright notice and the associated
12
 * disclaimer.
13
 *
14
 * This source file is free software; you can redistribute it and/or modify it
15
 * under the terms of the GNU Lesser General Public License as published by
16
 * the Free Software Foundation; either version 2.1 of the License,
17
 * or (at your option) any later version.
18
 *
19
 * This source is distributed in the hope that it will be useful, but
20
 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public
22
 * License for more details.
23
 *
24
 * You should have received a copy of the GNU Lesser General Public License
25
 * along with this source; if not, download it from
26
 * http://www.opencores.org/lgpl.shtml
27
 */
28
 
29
 
30
#ifndef ICDF_H
31
#define ICDF_H
32
 
33
#ifdef __cplusplus
34
extern "C" {
35
#endif
36
 
37
/* Calculate Inverse of the normal CDF */
38
long icdf(unsigned long long x);
39
 
40
 
41
#ifdef __cplusplus
42
}
43
#endif
44
 
45
#endif

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.