Extract finite real and imaginary parts from a boxed numeric value.
( op: Expression )
| 24 | export const FRACTALS_LIBRARY: SymbolDefinitions[] = [ |
| 25 | { |
| 26 | Mandelbrot: { |
| 27 | description: |
| 28 | 'Smooth escape-time value for the Mandelbrot set. Returns 1 for points inside the set, values in [0,1) for escaping points.', |
| 29 | examples: ['Mandelbrot(0, 100)', 'Mandelbrot(1 + i, 100)'], |
| 30 | complexity: 1200, |
| 31 | signature: |
| 32 | '(c: broadcastable<complex>, maxIterations: broadcastable<integer>) -> real', |
| 33 | parameters: { |
| 34 | c: { |
| 35 | description: |
| 36 | 'The point of the complex plane, the constant of `z^2 + c`.', |
| 37 | sample: '-0.5 + 0.5i', |
no test coverage detected