mirror of
https://github.com/josdejong/mathjs.git
synced 2026-01-18 14:59:29 +00:00
26 lines
552 B
Markdown
26 lines
552 B
Markdown
# Function cot
|
|
|
|
Calculate the cotangent of a value. cot(x) is defined as 1 / tan(x)
|
|
|
|
cot(x)
|
|
|
|
For matrices, the function is evaluated element wise.
|
|
|
|
|
|
### Parameters
|
|
|
|
Parameter | Type | Description
|
|
--------- | ---- | -----------
|
|
`x` | Number | Boolean | Complex | Unit | Array | Matrix |
|
|
|
|
### Returns
|
|
|
|
Type | Description
|
|
---- | -----------
|
|
Number | Complex | Array | Matrix | res
|
|
|
|
|
|
|
|
|
|
<!-- Note: This file is automatically generated from source code comments. Changes made in this file will be overridden. -->
|