Ian Henriksen schrieb am 12.08.2014 um 04:34:
> On Sun, Aug 10, 2014 at 12:41 PM, Sturla Molden wrote:
>> Ian Henriksen wrote:
>>> Maybe I should clarify a little about why eigen is a good place to start.
>>> According to >> href="http://eigen.tuxfamily.org/dox/TopicLazyEvaluation.html";>
>> http:/
Hi,
I want to declare and define C++ classes from Cython. Sure, I could
write them in native C++, but it's just small glue code, and I prefer to
let Cython handle the GIL and all the other good stuff.
First, for reference, the following works (c.f.
tests/run/cpp_classes_def.pyx):
== cytho
On Sun, Aug 10, 2014 at 12:41 PM, Sturla Molden
wrote:
> Ian Henriksen
> wrote:
>
> > Maybe I should clarify a little about why eigen is a good place to start.
> > According to > href="http://eigen.tuxfamily.org/dox/TopicLazyEvaluation.html";>
> http://eigen.tuxfamily.org/dox/TopicLazyEvaluatio
The attached cython program uses an extension class to represent a unit of
work. The with parallel block temporarily gets the gil to allocate the object,
then release the gil and performs the task with a for i in prange(...)
statement. My expectation was to have w recognized as a thread private