Class: Vector

Inherits:
Object
  • Object
show all
Defined in:
lib/classifier-reborn/extensions/zero_vector.rb

Instance Method Summary collapse

Instance Method Details

#zero?Boolean

Returns:

  • (Boolean)


4
5
6
# File 'lib/classifier-reborn/extensions/zero_vector.rb', line 4

def zero?
  all?(&:zero?)
end