gnu.kawa.functions

Class Arrays

public class Arrays extends Object

Static methods for implementing Scheme (SRFI-25) arrays.
Method Summary
static inteffectiveIndex(Array array, Procedure proc, Object[] args, int[] work)
static Arraymake(Array shape, Object value)
static ArraymakeSimple(Array shape, SimpleVector base)
static Arrayshape(Object[] vals)
static ArrayshareArray(Array array, Array shape, Procedure proc)

Method Detail

effectiveIndex

public static int effectiveIndex(Array array, Procedure proc, Object[] args, int[] work)

make

public static Array make(Array shape, Object value)

makeSimple

public static Array makeSimple(Array shape, SimpleVector base)

shape

public static Array shape(Object[] vals)

shareArray

public static Array shareArray(Array array, Array shape, Procedure proc)