pub fn from_scale(
spec: &ScaleSpec,
names: &StageNames,
shape: (usize, usize),
target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>Expand description
y = x·C — one multiply by the program’s constant.
pub fn from_scale(
spec: &ScaleSpec,
names: &StageNames,
shape: (usize, usize),
target: &SpatialTarget,
) -> Result<SpatialProgram, SpatialReject>y = x·C — one multiply by the program’s constant.