# Function cos Calculate the cosine of a value cos(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