lml-main
Version:
This is now a mono repository published into many standalone packages.
40 lines (24 loc) • 664 B
Markdown
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
Flatten a multi dimensional matrix into a single dimensional matrix.
```js
math.flatten(x)
```
Parameter | Type | Description
--------- | ---- | -----------
`x` | Matrix &
Type | Description
---- | -----------
Matrix &
```js
math.flatten([[1,2], [3,4]]); // returns [1, 2, 3, 4]
```
[](concat.md),
[](resize.md),
[](size.md),
[](squeeze.md)