Array

Unsynthesizable helper object for creating arrays on the CPU

Static methods

def empty(length: Index): ForgeArray[T]

Creates an empty array with given length


 def fill(length: Index)(f:  => T): ForgeArray[T]

Creates an array with given length whose elements are determined by the supplied function

def tabulate(length: Index)(f: (Index) => T): ForgeArray[T]

Creates an array with the given length whose elements are determined by the supplied indexed function