import type { CsoundReference } from './types' // Array Operations: Discrete Cosine Transform export const arrayOperationsDiscreteCosineTransform: CsoundReference[] = [ { name: 'dct', type: 'opcode', category: 'Array Operations: Discrete Cosine Transform', description: 'Discrete Cosine Transform of a sample array (type-II DCT).', syntax: 'kout[] = dct(kin[])\n iout[] = dct(iin[])', example: '--8<-- "examples/dct.csd"', rates: ['k-rate'], seeAlso: ['Vectorial opcodes', 'array opcodes', 'dctinv'] }, { name: 'dctinv', type: 'opcode', category: 'Array Operations: Discrete Cosine Transform', description: 'Inverse Discrete Cosine Transform of a sample array (type-III DCT).', syntax: 'kout[] = dctinv(kin[])\n iout[] = dctinv(iin[])', example: '--8<-- "examples/dctinv.csd"', rates: ['k-rate'], seeAlso: ['Vectorial opcodes', 'array opcodes', 'dct'] }, ]