Page MenuHomeHEPForge

partition.mli
No OneTemporary

partition.mli

(* $Id: partition.mli 759 2009-06-10 09:38:07Z ohl $
Copyright (C) 1999-2009 by
Wolfgang Kilian <kilian@hep.physik.uni-siegen.de>
Thorsten Ohl <ohl@physik.uni-wuerzburg.de>
Juergen Reuter <juergen.reuter@physik.uni-freiburg.de>
WHIZARD is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
WHIZARD is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. *)
(* [pairs n n1 n2] returns all (unordered) pairs of integers with the
sum~$n$ in the range from~[n1] to~[n2]. *)
val pairs : int -> int -> int -> (int * int) list
val triples : int -> int -> int -> (int * int * int) list
(* [tuples d n n_min n_max] returns
all~$\lbrack n_1; n_2; \ldots; n_d\rbrack$
with~$n_{\min}\le n_1\le n_2\le\ldots\le n_d\le n_{\max}$ and
\begin{equation}
\sum_{i=1}^d n_i = n
\end{equation} *)
val tuples : int -> int -> int -> int -> int list list
val rcs : RCS.t
(*i
* Local Variables:
* mode:caml
* indent-tabs-mode:nil
* page-delimiter:"^(\\* .*\n"
* End:
i*)

File Metadata

Mime Type
text/x-tex
Expires
Sat, May 3, 6:30 AM (1 d, 17 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
4983049
Default Alt Text
partition.mli (1 KB)

Event Timeline