I have been working on an implementation of braid groups for sage (together with free and finitely presented groups). So far i have a preliminary version (see ticket #12339). It is still not feature complete and also very slow compared to cbraid[1], for example, but it is usable.
In order to speed it up, i want to interface cbraid directly. But i have no experience at all with c++ or python interfaces to external libraries. Please can someone help me with it? For example, i would need to write a function that takes an integer n and a list of integers l (that represents a braid of n strands), and uses cbraid to compute the left normal form. I have tried to do it directly with ctypes, but i only got error messages. Thanks in advance. [1]http://code.google.com/p/cbraid/ -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org