Public
Edited
Dec 19, 2022
2 stars
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
hilbertDigraphIFS = {
let A = [
[1 / 4, 0],
[0, 1 / 2]
];
let B = [
[1 / 4, 0],
[0, -1 / 2]
];
let digraphIFS = [
{ source: "X", target: "X", f: new AffineFunction([A, [1 / 4, 0]]) },
{ source: "X", target: "X", f: new AffineFunction([A, [1 / 2, 1 / 2]]) },
{ source: "X", target: "Y", f: new AffineFunction([A, [0, 0]]) },
{ source: "X", target: "Y", f: new AffineFunction([B, [3 / 4, 1]]) },
{ source: "Y", target: "Y", f: new AffineFunction([A, [1 / 4, 1 / 2]]) },
{ source: "Y", target: "Y", f: new AffineFunction([A, [1 / 2, 1 / 2]]) },
{ source: "Y", target: "X", f: new AffineFunction([A, [0, 0]]) },
{ source: "Y", target: "X", f: new AffineFunction([B, [3 / 4, 1 / 2]]) }
];
return new DigraphIFS(digraphIFS);
}
Insert cell
Insert cell
import { AffineFunction, DigraphIFS } from "@mcmcclur/digraphifs-class"
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more