(
complex: Float32Array, index: number)
| 108 | * @param index An index of the target complex value. |
| 109 | */ |
| 110 | export function getComplexWithIndex( |
| 111 | complex: Float32Array, index: number): {real: number, imag: number} { |
| 112 | const real = complex[index * 2]; |
| 113 | const imag = complex[index * 2 + 1]; |
| 114 | return {real, imag}; |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Insert a given complex value into the TypedArray. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…