[][src]Function libvips::ops::math_2_const

pub fn math_2_const(
    inp: &VipsImage,
    math_2: OperationMath2,
    c: &mut [f64]
) -> Result<VipsImage>

VipsMath2Const (math2_const), binary math operations with a constant inp: &VipsImage -> Input image math_2: OperationMath2 -> math to perform Pow -> VIPS_OPERATION_MATH2_POW = 0 [DEFAULT] Wop -> VIPS_OPERATION_MATH2_WOP = 1 Last -> VIPS_OPERATION_MATH2_LAST = 2 c: &mut [f64] -> Array of constants returns VipsImage - Output image