Skip to content

Latest commit

 

History

History

python

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

CORDIC-like algorithm for KE in python

The python module ke.py is vectorised and uses numpy-ctypes to wrap a C implementation.

Example:

>>> import ke
>>> M = [1.0907, 2, 3.1, 4]
>>> ke._E(M, 1.)
array([1.99999818, 2.55419595, 3.12079558, 3.57764002])

The python module ke_cordic.py hosts the demonstration codes from the paper and is standalone.

Installation python

svn export https://github.com/mzechmeister/ke/trunk/cordic_like/python ke_cordic_like
cd ke_cordic_like
python setup.py develop --user

Deinstallation

python setup.py develop -u --user