2014-05-17 12:21:31 +02:00

612 B

Function resize

Resize a matrix

resize(x, size)
resize(x, size, defaultValue)

Parameters

Parameter Type Description
x * | Array | Matrix
size Array | Matrix One dimensional array with numbers
defaultValue Number | String Undefined by default, except in case of a string, in that case defaultValue = ' '

Returns

Type Description
  • | Array | Matrix | res