view general/arrutils/flatten.m @ 29:61921dceded1

More documentation on type system.
author samer
date Sat, 19 Jan 2013 17:56:21 +0000
parents 03694e5c8365
children
line wrap: on
line source
% flatten - convert array into column vector
%
% flatten :: [[size]]->[[prod(size)]]
function X=flatten(X), X=X(:); end