Posts for the month of July 2012

Two and half implementations of a scilab wrapper without any compilation


In a post on the user list, one asks for an easy way to wrap a scilab code into an OpenTURNS function. Here are two possibilities:

  • using the generic wrapper
  • using the Python wrapping of OpenTURNS function, in two flavours

There are other possibilities I didn't have time to illustrate.

Even with this simple function (the sum of two floating point values), the generic wrapper is faster than the python wrapper by 34% on a quad-core computer.

Best regards,