anArray.as(FloatArray) Actually, the arrays can be any kind of raw array. Which raw array class you use depends on the C data type you want to write (the sc number class doesn't matter as much): FloatArray -- 32-bit floats DoubleArray -- 64-bit floats Int8Array -- 8-bit integers Int16Array -- 16-bit integers Int32Array -- 32-bit integers hjh On Dec 28, 2008, at 9:01 PM, koonce@xxxxxxxxxxxxx wrote:
: H. James Harkins .::!:.:.......:.::........:..!.::.::...:..:...:.:.:.:..: "Come said the Muse, Sing me a song no poet has yet chanted, Sing me the universal." -- Whitman |