[pure-lang-svn] SF.net SVN: pure-lang:[815] pure/trunk
Status: Beta
Brought to you by:
agraef
From: <ag...@us...> - 2008-09-21 05:29:17
|
Revision: 815 http://pure-lang.svn.sourceforge.net/pure-lang/?rev=815&view=rev Author: agraef Date: 2008-09-21 05:29:14 +0000 (Sun, 21 Sep 2008) Log Message: ----------- Updated NEWS and ChangeLog. Modified Paths: -------------- pure/trunk/ChangeLog pure/trunk/NEWS Modified: pure/trunk/ChangeLog =================================================================== --- pure/trunk/ChangeLog 2008-09-21 05:24:34 UTC (rev 814) +++ pure/trunk/ChangeLog 2008-09-21 05:29:14 UTC (rev 815) @@ -3,7 +3,9 @@ * Implemented basic GSL matrix support, including support for symbolic matrices (which is independent from GSL, so these will also work when building the interpreter without GSL) and matrix - comprehensions. This required many additions and changes to the + comprehensions. Marshalling of matrices in the C interface is also + implemented, so that you can interface to GSL matrix functions + without much ado. This required many additions and changes to the parser, interpreter, compiler, runtime and the prelude; details can be found in the svn log (see r759 and r769ff.). Modified: pure/trunk/NEWS =================================================================== --- pure/trunk/NEWS 2008-09-21 05:24:34 UTC (rev 814) +++ pure/trunk/NEWS 2008-09-21 05:29:14 UTC (rev 815) @@ -67,7 +67,10 @@ type-checking and various conversions between the different kinds of matrices. To these ends, various basic operations to deal with matrix objects have been added to the runtime, including some public API operations to create -and inspect Pure matrix values from external C modules. +and inspect Pure matrix values from external C modules. Moreover, the +'pointer' function in the prelude can be used to convert matrices to Pure +pointer values, and marshalling of GSL matrices in the C interface is also +available. Here is a brief synopsis of some important operations which are already implemented in the prelude (you can find the definitions of these and the @@ -81,6 +84,8 @@ - x!!is, x!!(is,js) slicing (is and js are lists of machine ints) - x==y, x!=y matrix comparisons +Adding other operations by interfacing to GSL should be a piece of cake. + Other user-visible changes prompted by the introduction of the matrix syntax are listed below: @@ -96,11 +101,6 @@ lower precedence than the ',' operator, which makes writing matrix slices like x!!(i..j,k..l) much more convenient. -Stuff that's still missing: - -- Marshalling of GSL matrices in the C interface, so that it becomes possible -to access all the advanced functionality available in GSL. - ** Pure 0.6 2008-09-12 New stuff in this release (please see the ChangeLog and the manual for This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |