62 lines
1.9 KiB
TypeScript
62 lines
1.9 KiB
TypeScript
import type { CsoundReference } from './types'
|
|
|
|
// Mathematical Operations:Trigonometric Functions
|
|
export const mathematicalOperationsTrigonometricFunctions: CsoundReference[] = [
|
|
{
|
|
name: 'cos',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the cosine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/cos.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'cosh',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the hyperbolic cosine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/cosh.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'cosinv',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the arccosine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/cosinv.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'signum',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the signum of _x_ returning -1, 0 or 1.',
|
|
example: '--8<-- "examples/signum.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'sin',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the sine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/sin.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'sinh',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the hyperbolic sine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/sinh.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
{
|
|
name: 'sininv',
|
|
type: 'opcode',
|
|
category: 'Mathematical Operations:Trigonometric Functions',
|
|
description: 'Returns the arcsine of _x_ (_x_ in radians).',
|
|
example: '--8<-- "examples/sininv.csd"',
|
|
seeAlso: ['Trigonometric Functions']
|
|
},
|
|
]
|