instant

Package instant |
[hide private]
[frames] | no frames]

# Source Code for Package instant

     1  """
     2  Instant allows compiled C/C++ modules to be created
     3  at runtime in your Python application, using SWIG to wrap the
     4  C/C++ code.
     5
     6  A simple example:
     7      >>> from instant import inline
     8      >>> add_func = inline(\"double add(double a, double b){ return a+b; }\")
     9      >>> print "The sum of 3 and 4.5 is ", add_func(3, 4.5)
    10
    11  The main functions are C{build_module}, C{write_code}, and
    12  C{inline*} see their documentation for more details.
    13
    14  For more examples, see the tests/ directory in the Instant distribution.
    15
    16  Questions, bugs and patches should be sent to instant-dev@fenics.org.
    17  """
    18
    19  __authors__ = "Magne Westlie, Kent-Andre Mardal <kent-and@simula.no>, Martin Alnes <martinal@simula.no>, Ilmar M. Wilbers <ilmarw@simula.no>"
    20  __date__ = "2009-05-28"
    21  __version__ = "0.9.7"
    22
    23  # TODO: Import only the official interface
    24  from output import *
    25  from config import *
    26  from paths import *
    27  from signatures import *
    28  from cache import *
    29  from codegeneration import *
    30  from build import *
    31  from inlining import *
    32