Beispiel #1
0
 public static SimGrid <float> RandUniform0_1(uint span, int seed)
 {
     return(new SimGrid <float>(
                name: "RandUniform0_1",
                width: span,
                height: span,
                data: FloatArrayGen.UnSignedUnitUniformRands(
                    span: span,
                    seed: seed)));
 }
Beispiel #2
0
 public static SimGrid <float> HiLow(uint span, float lowVal, float hiVal)
 {
     return(new SimGrid <float>(
                name: "HiLow",
                width: span,
                height: span,
                data: FloatArrayGen.HiLow(
                    span: span,
                    lowVal: lowVal,
                    hiVal: hiVal)));
 }
Beispiel #3
0
 public static SimGrid <float> LeftRightGradient(uint span)
 {
     return(new SimGrid <float>(
                name: "LeftRightGradientFloats",
                width: span,
                height: span,
                data: FloatArrayGen.LeftRightGradient(
                    span: span,
                    low_val: 0.0f,
                    high_val: 1.0f)));
 }