HTTP/2 301
server: nginx
date: Tue, 30 Dec 2025 15:59:20 GMT
content-type: application/rss+xml; charset=UTF-8
location: https://equatorialmaths.wordpress.com/comments/feed/
x-hacker: Want root? Visit join.a8c.com/hacker and mention this header.
host-header: WordPress.com
vary: accept, content-type, cookie
last-modified: Tue, 30 Dec 2025 15:59:20 GMT
etag: "0264e5fc20c93d83b707113da6a2d0eb"
x-redirect-by: WordPress
x-ac: 3.bom _dca MISS
alt-svc: h3=":443"; ma=86400
strict-transport-security: max-age=31536000
server-timing: a8c-cdn, dc;desc=bom, cache;desc=MISS;dur=313.0
HTTP/2 200
server: nginx
date: Tue, 30 Dec 2025 15:59:21 GMT
content-type: application/rss+xml; charset=UTF-8
vary: Accept-Encoding
x-hacker: Want root? Visit join.a8c.com/hacker and mention this header.
host-header: WordPress.com
vary: accept, content-type, cookie
last-modified: Tue, 30 Dec 2025 15:59:21 GMT
etag: W/"25febcb9189f9a6afa8c3f7d07046f0f"
content-encoding: gzip
x-ac: 3.bom _dca MISS
alt-svc: h3=":443"; ma=86400
strict-transport-security: max-age=31536000
server-timing: a8c-cdn, dc;desc=bom, cache;desc=MISS;dur=341.0
Comments for Equatorial Mathematics
https://equatorialmaths.wordpress.com
Mathematics, teaching, brain meltdownThu, 04 Apr 2024 18:28:23 +0000
hourly
1 https://wordpress.com/
Comment on Classifying finitely generated abelian groups by Dima
https://equatorialmaths.wordpress.com/2009/02/01/classifying-finitely-generated-abelian-groups/#comment-1726
Wed, 30 May 2018 10:50:34 +0000https://equatorialmaths.wordpress.com/?p=99#comment-1726In reply to math.
It was not copied from anywhere in particular, just collected things from here and there…
]]>
Comment on Classifying finitely generated abelian groups by math
https://equatorialmaths.wordpress.com/2009/02/01/classifying-finitely-generated-abelian-groups/#comment-1724
Mon, 28 May 2018 15:31:27 +0000https://equatorialmaths.wordpress.com/?p=99#comment-1724Hi, this is a very nice tutorial. Thank you very much. Can you give an referece for this?
]]>
Comment on Python extensions with C libraries made easy by Cython by Dima
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-999
Mon, 24 Apr 2017 19:50:41 +0000https://equatorialmaths.wordpress.com/?p=394#comment-999In reply to Olivia Guest (@o_guest).
I’ve updated the link to the source, and the source itself, please try.
]]>
Comment on Python extensions with C libraries made easy by Cython by Olivia Guest (@o_guest)
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-998
Mon, 24 Apr 2017 13:47:22 +0000https://equatorialmaths.wordpress.com/?p=394#comment-998In reply to Dima.
Cool, though so — thanks!
]]>
Comment on Python extensions with C libraries made easy by Cython by Dima
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-997
Mon, 24 Apr 2017 13:16:06 +0000https://equatorialmaths.wordpress.com/?p=394#comment-997In reply to Olivia Guest (@o_guest).
OK, so this is OSX-specific, something that stopped working around OSX 10.10 or so. I’ll post an update.
]]>
Comment on Python extensions with C libraries made easy by Cython by Olivia Guest (@o_guest)
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-996
Mon, 24 Apr 2017 13:10:20 +0000https://equatorialmaths.wordpress.com/?p=394#comment-996I get the following error on my MBpro:
MBpro:dyn oliviaguest$ LD_LIBRARY_PATH=. python test.py
Traceback (most recent call last):
File “test.py”, line 1, in
import dyn
ImportError: dlopen(/Users/oliviaguest/GitHub/pdist/dyn/dyn.so, 2): Library not loaded: libcmean.so
Referenced from: /Users/oliviaguest/GitHub/pdist/dyn/dyn.so
Reason: unsafe use of relative rpath libcmean.so in /Users/oliviaguest/GitHub/pdist/dyn/dyn.so with restricted binary
]]>
Comment on Python extensions with C libraries made easy by Cython by Dima
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-935
Sat, 21 Jan 2017 18:56:26 +0000https://equatorialmaths.wordpress.com/?p=394#comment-935In reply to Dinesh.
It works for me with Python 2.7.12 (and cython-0.25.2) on Linux (and gcc is version 5.4.0).
On newer versions of OSX gcc is actually not gcc, but clang, and I never tested with these.
Try adding explict cast to malloc, i.e.
v = (double *)malloc(n*sizeof(double))
]]>
Comment on Python extensions with C libraries made easy by Cython by Dinesh
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-934
Sat, 21 Jan 2017 18:41:41 +0000https://equatorialmaths.wordpress.com/?p=394#comment-934In reply to Dima.
Error compiling Cython file:
————————————————————
…
double mean(int, double*)
from stdlib cimport *
def cmean(a):
n = len(a)
cdef double *v
v = malloc(n*sizeof(double))
^
————————————————————
m.pyx:7:14: Cannot assign type ‘void *’ to ‘double *’
building ‘dyn’ extension
/usr/bin/clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -Wstrict-prototypes -I/Users/harishraja/anaconda/include -arch x86_64 -I/Users/harishraja/anaconda/include/python3.5m -c m.c -o build/temp.macosx-10.6-x86_64-3.5/m.o
This is the traceback.
]]>
Comment on Python extensions with C libraries made easy by Cython by Dima
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-933
Sat, 21 Jan 2017 18:38:55 +0000https://equatorialmaths.wordpress.com/?p=394#comment-933In reply to Dinesh.
What is the full error message? (Most probably an explicit cast is missing somewhere…)
]]>
Comment on Python extensions with C libraries made easy by Cython by Dinesh
https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/#comment-931
Sat, 21 Jan 2017 12:16:20 +0000https://equatorialmaths.wordpress.com/?p=394#comment-931I followed your instructions, but while compiling the setup.py file , I get
Cannot assign type ‘void *’ to ‘double *’ error.
Can you help me with this?