/* Dynamic Lists of Numbers; version 1.0 */ /* (c) copyright Ian Hickson 2000, distributed under the GNU GPL */ /* a dynamic list of doubles */ typedef double nlNumber; typedef array2d numberList; /* interface */ numberList* nlAllocList(int entries); void nlFreeList(numberList* array); void nlSet(numberList* array, int x, nlNumber value); nlNumber nlGet(numberList* array, int x); void nlPrint(numberList* array, int dp); /* end */