-
Notifications
You must be signed in to change notification settings - Fork 4
compute flatten
kgryte edited this page May 12, 2015
·
1 revision
Flattens an array
.
var arr = [ 1, [2, [3, [4, [ 5 ], 6], 7], 8], 9 ];
var out = compute.flatten( arr );
// returns [ 1, 2, 3, 4, 5, 6, 7, 8, 9 ]
For method options
, such as limiting depth, deep copying, and function generation, see compute-flatten.
- Utilities
- Array Creation
- Sorting and Reshaping Arrays
- Special Functions
- Arithmetic
- Relational Operations
- Logical Operations
- Trigonometry
- Geometry
- Sets
- Discrete Mathematics
- Linear Algebra
- Statistics