NeutralLandscapes.jl:在Julia中生成中性景观 源码
中性景观 Python来源: : using NeutralLandscapes julia > grad = PlanarGradient ( 60.0 ) PlanarGradient ( 60.0 ) julia > mask = rand ( 4 , 6 ) .> 0.2 4 × 6 BitMatrix : 1 1 1 1 1 1 1 1 0 1 1 0 1 1 1 0 1 0 1 1 0 1 1 1 julia > rand (grad, ( 4 , 6 ), mask = mask) 4 × 6 Matrix{Float64} :