ndtooned

Converts a multi-dimensional array to a singly dimensioned array.


Synopsis

	function ndtooned(
		val 
	)

Arguments

val
An array of any dimensionality or type.

Description

This function converts any n-dimensional array to a singly dimensioned array that has a size equal to product(dimsizes(input))

Example

The following is a simplistic example. Try running the following command in NCL and print out the values.
	a = (/(/1,2,3/),(/4,5,6/),(/7,8,9/)/)
	b = ndtooned(a)

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.6 $ $Date: 1998/06/15 21:30:14 $