mirror of
https://github.com/josdejong/mathjs.git
synced 2025-12-08 19:46:04 +00:00
26 lines
534 B
JavaScript
26 lines
534 B
JavaScript
export const matrixDocs = {
|
|
name: 'matrix',
|
|
category: 'Construction',
|
|
syntax: [
|
|
'[]',
|
|
'[a1, b1, ...; a2, b2, ...]',
|
|
'matrix()',
|
|
'matrix("dense")',
|
|
'matrix([...])'
|
|
],
|
|
description:
|
|
'Create a matrix.',
|
|
examples: [
|
|
'[]',
|
|
'[1, 2, 3]',
|
|
'[1, 2, 3; 4, 5, 6]',
|
|
'matrix()',
|
|
'matrix([3, 4])',
|
|
'matrix([3, 4; 5, 6], "sparse")',
|
|
'matrix([3, 4; 5, 6], "sparse", "number")'
|
|
],
|
|
seealso: [
|
|
'bignumber', 'boolean', 'complex', 'index', 'number', 'string', 'unit', 'sparse'
|
|
]
|
|
}
|