Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Test code for user defined types in Numpy

This code implements fixed precision rational numbers exposed to Python as a test of user-defined type support in Numpy.

Dependencies

On a Mac, these can be obtained through MacPorts via

sudo port install py26-numpy py26-py

The original version of this code exposed several bugs in the (hopefully) old version of numpy, so if it fails try upgrading numpy. My branch which fixed all but one of the bugs uncovered is here:

https://github.com/girving/numpy/tree/fixuserloops

These changes should be incorporated in the main numpy git repo fairly soon.

Usage

To build and run the tests, do

make
py.test