Tag Directory > Bindings (sexology)
- Home
- >>
Tags
We have 24 results for Bindings (sexology).
1 | 2 | Next2 Citations Xapian is an Open Source Search Engine Library, released under the GPL. It's written in C , with bindings to allow use from Perl, Python, PHP, Java, Tcl, C# and Ruby (so far!), blogmarks.netXapian is an Open Source Search Engine Library, released under the GPL. It's written in C , with bindings to allow use from Perl, Python, PHP, Java, Tcl, C#, and Ruby (so far!), blogmarks.net
|
Python instead of Matlab for plotting? 1 Citation A few years ago I «fell in love» with Python , which is a dynamically typed interactive, object oriented scripting language. With a few extensions I found it very suitable for efficient visualization and problem solving in Scientific computing. So can it replace Matlab? For me its pretty close! For you? It depends on your needs, but have a look!
Why I use Python
* Python is a small, high level scripting language that sits on top of a efficient C library. Because of this, Python code is compact, and the resulting code can run at a speed close to C if the computationally intensive parts are done via library calls.
* Short learning curve - I was almost instantly productive.
* Python can be used interactively (like matlab), and documentation for most functions can be accessed via a built in help facility.
* It is free (also in this regard)
* The syntax invites you to write clean code. No ;'s at the end of lines, the block structure is described by indentation instead of Begin-End or {..}. Through the Numeric/numarray modules one gets powerful array syntax - inspired by languages such as Fortran 90, Matlab, Octave, Yorick etc. Python itself has also borrowed features from e.g. Lisp, with its interactivity and built in support for list manipulation.
* Python has many other useful modules built in, one may for instance write a web server in just a few lines of code or work transparently with gzipped files (handy for analyzing large ascii data files)
* Linking in and reusing Fortran subroutines is very easy using e.g. f2py mentioned below, or the Pyfort module found on www.python.org. Integration with C is of course even tighter since the most popular python is written in C. (yes. there is a java python...)
* It is possible to work in single precision, which is sufficient for most scientific purposes. This makes it easier to work with large datasets/arrays using only half the memory compared to e.g. matlab.
As my basic setup I use Python with the following extensions:
Numpy: a.k.a. Numeric python, contain the advanced array syntax, as well as powerful and commonly used functions that can be applied to the multi dimensional arrays.
Pygist: Gist is a very fast graphics library for 2D and 3D plots written directly for X11, but also ported to Mac and Windows. Gist is a part of the Yorick language. Pygist contain the Python bindings, read about it here. A recent version of Pygist can be found here. Pygist is currently also a part of a distribution of Python packages called Scipy, that can be found here.
f2py: Makes connecting Fortran subroutines a breeze! Also a part of Scipy. A complete example: wrap this subroutine in a Python function returning "dist":
$ cat r1.f90
subroutine r1(x,y,n,dist)
real x(n),y(n)
!f2py intent(out) dist
xl=0.0 ; yl=0.0 ; vp=0.0
do i=1,n
xl=xl + x(i)**2 ; yl=yl + y(i)**2
vp=vp + x(i)*y(i)
end do
if(vp>=0.0)then
dist = acos(sqrt(vp/(xl*yl)))
else
dist = 4*atan(1.0)-acos(sqrt(-vp/(xl*yl)))
end if
end subroutine r1
$ ls
r1.f90
$ f2py -c -m r1 --fcompiler=g95 r1.f90
..lots of output...
$ ls
r1.f90 r1.so*
$ python2
Python 2.2.3 (#1, Feb 15 2005, 02:41:06)
on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Numeric as nx, r1
>>> a=nx.array((2.3,2.2)) ; b=nx.array((3.2,2.1))
>>> r1.r1(a,b)
1.2827057838439941
>>>, blogmarks.net
|
Late Static Bindings Explained 1 Citation Late Static Binding (LSB, yes, not LSD) is an OO feature that is meant to be implemented in PHP 6, and maybe even backported to PHP 5. This article will describe what LSB is, what problems it's supposed to solve and how., blogmarks.net
|
1 Citation mopy is the Music Ontology Python library, designed to provide easy to use python bindings for Music Ontology terms for the creation and manipulation of Music Ontology data., blogmarks.net
|
1 Citation PyQt is a set of Python bindings for Trolltech's Qt application framework and runs on all platforms supported by Qt including Windows, MacOS/X and Linux. There are two sets of bindings: PyQt v4 supports Qt v4; and the older PyQt v3 supports Qt v3 and earl, blogmarks.net
|
PyQwt plots data with Numerical Python and PyQt 1 Citation PyQwt is a set of Python bindings for the Qwt C++ class library which extends the Qt framework with widgets for scientific and engineering applications. It provides a widget to plot 2-dimensional data and various widgets to display and control bounded or, blogmarks.net
|
1 Citation Webservice stack that supports XMLbean, castor, JiXB and jaxb data bindings., blogmarks.net
|
1 Citation Graphviz is open source graph visualization software. It has several main graph layout programs. See the gallery for some sample layouts. It also has web and interactive graphical interfaces, and auxiliary tools, libraries, and language bindings.
The Graphviz layout programs take descriptions of graphs in a simple text language, and make diagrams in several useful formats such as images and SVG for web pages, Postscript for inclusion in PDF or other documents; or display in an interactive graph browser, blogmarks.net
|
1 Citation Vex is Extensible
Vex is based on the Eclipse platform, the same platform used to build the popular Eclipse Java development environment. This foundation provides several advantages.
* The Eclipse platform implements a sophisticated plugin architecture, allowing Vex to be extended with third-party or custom, in-house plugins.
* Vex leverages many of the mature plugins that make up the Eclipse Java IDE such as the CVS interface, document searching and bookmarking facilities, and searchable help system.
* Vex is available with native look-and-feel on many platforms, including Windows, Linux/GTK, and Macintosh OS-X/Carbon.
* Java developers using the Eclipse IDE can import Vex into their IDE as a plugin, making it easy to maintain software documentation with Vex.
Vex is Reusable
The Vex editor widget is available as a pure Java, cross-platform component with bindings to Swing and SWT. Developers can re-use this widget, for example as an applet in a web-based application., blogmarks.net
|
1 Citation This is a project to build reliable .NET bindings for the Subversion version-control system libraries., blogmarks.net
|


