mathjs
Version:
Math.js is an extensive math library for JavaScript and Node.js. It features a flexible expression parser with support for symbolic computation, comes with a large set of built-in functions and constants, and offers an integrated solution to work with dif
16 lines (15 loc) • 324 B
JavaScript
module.exports = {
'name': 'kron',
'category': 'Matrix',
'syntax': [
'kron(x, y)'
],
'description': 'Calculates the kronecker product of 2 matrices or vectors.',
'examples': [
'kron([[1, 0], [0, 1]], [[1, 2], [3, 4]])',
'kron([1,1], [2,3,4])'
],
'seealso': [
'multiply', 'dot', 'cross'
]
}