NAME

src/pmc/APLVector.pmc - APLVector

DESCRIPTION

These are the vtable functions for the APL Vector class.

Helper functions

INTVAL size_of_shape(INTERP, PMC)

Methods

void class_init()
initialize the pmc class. Store some constants, etc.
PMC *init()
initialize the instance.
PMC *get_shape()
Returns a vector-like PMC containing the shape of this PMC.
PMC *set_shape()
Reshape the existing APLvector by passing in an existing vector.If the new shape is larger than our old shape, pad the end of the APLv with elements from the beginning.If the new shape is shorter than our old shape, truncate elements from the end of the APLv.