This is RanGen.h in view mode; [Download] [Up]
// RanGen:
// Random number generator object.
// Incorporates methods for different random distributions.
#import <objc/Object.h>
@interface RanGen:Object
{
}
// detailed method descriptions at end of .h and in .m
// factory:
+ new;
// multi-purpose:
- (double) ran01;
// special-purpose methods based on ran01:
- (int) lowInt: (int) lowestNumber highInt: (int) highestNumber;
@end
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.