This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: double[][] type?
- From: Per Bothner <per at bothner dot com>
- To: kawa at sourceware dot org
- Date: Wed, 02 Mar 2011 19:39:05 -0800
- Subject: Re: double[][] type?
- References: <4D6E14F0.1040807@pol.ac.uk>
On 03/02/2011 01:59 AM, Simon Holgate wrote:
Hello,
apologies if this has been answered elsewhere but I can't seem to find
an answer.
I'm feeling my way into Kawa and using it to plot with the Java
interface to PlPlot. I need to pass an array of type double[][] to a
function (plcont) and can't see how to cast this.
I don't understand the question.
double[][] is a perfectly valid Kawa type specifier, and you can
use it in the same way as other Kawa type specifiers.
For example you can write:
(as double[][] xxxx)
or:
(let ((arr2 ::double[][] some-expression))
(plplot arr2))
--
--Per Bothner
per@bothner.com http://per.bothner.com/