class Numeric
Public Instance Methods
distance(other)
click to toggle source
# File lib/rust-probabilities.rb, line 4 def distance(other) raise TypeError, "no implicit conversion of #{other.class} into Numeric" unless other.is_a? Numeric return (self - other).abs end
to_R()
click to toggle source
# File lib/rust-core.rb, line 784 def to_R self.inspect end