Collection of algorithms to iterate on complex numbers.
$ yarn add complex-iterationsYou can see the iterations in action here.
import iterate, {algorithms, Algorithm, AlgorithmParameters } from "complex-iterations";
import { Complex } from 'mathjs';
const options = {
Z: { re: 0, im: 0 },
C: { re: -0.1, im: 1 },
exp: 2,
}
const values = iterate(iterations: 100, algorithm: algorithms.MA, options);