Prototype: Difference between revisions

Jump to navigation Jump to search
6 bytes added ,  14:22, 4 November 2019
m
no edit summary
Miraheze>Adám Brudzewsky
No edit summary
Miraheze>Marshall
mNo edit summary
Line 1: Line 1:
In the [[nested array model]], an array's prototype is an array which gives information about the type and structure of its [[Element|elements]]. It is derived from the first element of the array in [[ravel order]], or, if the array is [[Empty array|empty]], from information stored alongside the array (usually this information is just the prototype itself). An array's prototype is used as a [[fill element]] for operations involving that array.
In the [[nested array model]], an array's '''prototype''' is an array which gives information about the type and structure of its [[Element|elements]]. It is derived from the first element of the array in [[ravel order]], or, if the array is [[Empty array|empty]], from information stored alongside the array (usually this information is just the prototype itself). An array's prototype is used as a [[fill element]] for operations involving that array.


APLs with a [[flat array model]] do not typically store prototype information, instead using only the array's type ([[character]], [[numeric]], or [[Box|boxed]]) to determine its [[Fill element|fills]].
APLs with a [[flat array model]] do not typically store prototype information, instead using only the array's type ([[character]], [[numeric]], or [[Box|boxed]]) to determine its [[Fill element|fills]].
Anonymous user

Navigation menu