fn map_coordinates(x: f64, y: f64, z: f64) -> (f64, f64) {
    let n: f64 = 2.0f64.powf(z);
    let re = x / n * 2.0 - 4.5;
    let im = y / n * 2.0 - 4.0;

    (re, im)
}
// map leaflet coordinates to complex plane
map leaflet coordinates to complex plane
map leaflet coordinates to complex plane
fn map_coordinates(x: f64, y: f64, z: f64) -> (f64, f64) {
    let n: f64 = 2.0f64.powf(z);
    let re = x / n * 2.0 - 4.5;
    let im = y / n * 2.0 - 4.0;
    (re, im)
}
fn map_coordinates ( x : f64 , y : f64 , z : f64 ) -> ( f64 , f64 ) { let n : f64 = 2.0f64 . powf ( z ) ; let re = x / n * 2.0 - 4.5 ; let im = y / n * 2.0 - 4.0 ; ( re , im ) }
map leaflet coordinates to complex plane
map leaflet coordinates to complex plane
x
f64
y
f64
z
f64
x
f64
y
f64
z
f64