-
Notifications
You must be signed in to change notification settings - Fork 4
compute dims
kgryte edited this page May 12, 2015
·
1 revision
Computes array
dimensions, including nested arrays
.
var data, d;
data = [ 1, 2 ];
d = compute.dims( data );
// returns [2]
data = [ [1,2], [1,2] ];
d = compute.dims( data );
// returns [2,2]
To limit the number of dimensions returned, set the max
option.
- Utilities
- Array Creation
- Sorting and Reshaping Arrays
- Special Functions
- Arithmetic
- Relational Operations
- Logical Operations
- Trigonometry
- Geometry
- Sets
- Discrete Mathematics
- Linear Algebra
- Statistics