@skybloxsystems/ticket-bot
Version:
44 lines (28 loc) • 985 B
Markdown
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
Create a dense matrix from vectors as individual columns.
If you pass row vectors, they will be transposed (but not conjugated!)
## Syntax
```js
math.matrixFromColumns(...arr)
math.matrixFromColumns(col1, col2)
math.matrixFromColumns(col1, col2, col3)
```
### Parameters
Parameter | Type | Description
--------- | ---- | -----------
`cols` | ... Array | Matrix | Multiple columns
Type | Description
---- | -----------
number[][] &
```js
math.matrixFromColumns([1, 2, 3], [[4],[5],[6]])
math.matrixFromColumns(...vectors)
```
[](matrix.md),
[](matrixFromRows.md),
[](matrixFromFunction.md),
[](zeros.md)