mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-25 15:07:57 +00:00
26 lines
508 B
Markdown
26 lines
508 B
Markdown
# Function eye
|
|
|
|
Create a 2-dimensional identity matrix with size m x n or n x n
|
|
|
|
eye(n) eye(m, n) eye([m, n])
|
|
|
|
TODO: more documentation on eye
|
|
|
|
|
|
### Parameters
|
|
|
|
Parameter | Type | Description
|
|
--------- | ---- | -----------
|
|
`size` | ...Number | Matrix | Array |
|
|
|
|
### Returns
|
|
|
|
Type | Description
|
|
---- | -----------
|
|
Matrix | Array | Number | matrix
|
|
|
|
|
|
|
|
|
|
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
|