Method: Vips::Image#**

Defined in:
lib/vips8/image.rb

#**(other) ⇒ Image

Raise to power of an image, constant or array.

Parameters:

  • other (Image, Real, Array<Real>)

    self to the power of this

Returns:

  • (Image)

    result of power

[View source]

772
773
774
775
# File 'lib/vips8/image.rb', line 772

def **(other)
    other.is_a?(Vips::Image) ? 
        math2(other, :pow) : math2_const(other, :pow)
end