Mercurial > projects > aid
view trunk/aid/misc.d @ 3:314d68bafeff
Backprop and backprop_test added (no testing).
author | revcompgeek |
---|---|
date | Fri, 11 Apr 2008 18:12:55 -0600 |
parents | |
children | 810d58835f86 |
line wrap: on
line source
module aid.misc; import std.random; class InputException : Exception { this(char[] message){ super(message); } } double rnd(){ // The function that should be included in every math library! return (cast(double)rand())/uint.max; }