comparison src/fftw-3.3.3/genfft/util.mli @ 10:37bf6b4a2645

Add FFTW3
author Chris Cannam
date Wed, 20 Mar 2013 15:35:50 +0000
parents
children
comparison
equal deleted inserted replaced
9:c0fb53affa76 10:37bf6b4a2645
1 (*
2 * Copyright (c) 1997-1999 Massachusetts Institute of Technology
3 * Copyright (c) 2003, 2007-11 Matteo Frigo
4 * Copyright (c) 2003, 2007-11 Massachusetts Institute of Technology
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 *
20 *)
21
22 val invmod : int -> int -> int
23 val gcd : int -> int -> int
24 val lowest_terms : int -> int -> int * int
25 val find_generator : int -> int
26 val pow_mod : int -> int -> int -> int
27 val forall : 'a -> ('b -> 'a -> 'a) -> int -> int -> (int -> 'b) -> 'a
28 val sum_list : int list -> int
29 val max_list : int list -> int
30 val min_list : int list -> int
31 val count : ('a -> bool) -> 'a list -> int
32 val remove : 'a -> 'a list -> 'a list
33 val for_list : 'a list -> ('a -> unit) -> unit
34 val rmap : 'a list -> ('a -> 'b) -> 'b list
35 val cons : 'a -> 'a list -> 'a list
36 val null : 'a list -> bool
37 val (@@) : ('a -> 'b) -> ('c -> 'a) -> 'c -> 'b
38 val forall_flat : int -> int -> (int -> 'a list) -> 'a list
39 val identity : 'a -> 'a
40 val minimize : ('a -> 'b) -> 'a list -> 'a option
41 val find_elem : ('a -> bool) -> 'a list -> 'a option
42 val suchthat : int -> (int -> bool) -> int
43 val info : string -> unit
44 val iota : int -> int list
45 val interval : int -> int -> int list
46 val array : int -> (int -> 'a) -> int -> 'a
47 val take : int -> 'a list -> 'a list
48 val drop : int -> 'a list -> 'a list
49 val either : 'a option -> 'a -> 'a