Files
oldboy/src/lib/csound-reference/mathematical-operations-trigonometric-functions.ts
2025-10-15 15:05:23 +02:00

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']
},
]