This is the mail archive of the kawa@sourceware.org mailing list for the Kawa project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: double[][] type?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]