/* matrix_identity(dimension) * * Returns an identity matrix with the given dimension. */ var I, c; I = ds_grid_create(argument0, argument0); for (c = 0; c < argument0; c += 1) ds_grid_set(I, c, c, 1); return I;
Categories: Mathematics
There are no comments to display.
You must be signed in to post comments.