Flowdock
**(other) public

No documentation

This method has no description. You can help the Ruby community by adding new notes.

Hide source
# File lib/matrix.rb, line 1166
    def ** (other)
      case other
      when Numeric
        Scalar.new(@value ** other)
      when Vector
        Scalar.Raise ErrOperationNotDefined, "**", @value.class, other.class
      when Matrix
        #other.powered_by(self)
        Scalar.Raise ErrOperationNotImplemented, "**", @value.class, other.class
      else
        apply_through_coercion(other, __method__)
      end
    end
Register or log in to add new notes.