Class: Carbuncle::Matrix::Row

Inherits:
Line show all
Defined in:
gems/carbuncle-math/mrblib/matrix.rb

Overview

Represents a row in the matrix.

Constant Summary

Constants included from Vectorizable

Vectorizable::CLASS

Constants included from Enumerable

Enumerable::NONE

Instance Attribute Summary

Attributes inherited from Line

#matrix

Instance Method Summary collapse

Methods inherited from Line

#[], #[]=, #inspect, #size, #to_a

Methods included from Vectorizable

#%, #*, #**, #+, #-, #-@, #/, #<<, #>>, #[], #[]=, #each, #length, #to_s

Methods included from Enumerable

__update_hash, #all?, #any?, #chain, #collect, #count, #cycle, #detect, #drop, #drop_while, #each_cons, #each_slice, #each_with_index, #each_with_object, #entries, #filter_map, #find_all, #find_index, #first, #flat_map, #grep, #group_by, #hash, #include?, #inject, #lazy, #max, #max_by, #min, #min_by, #minmax, #minmax_by, #none?, #one?, #partition, #reject, #reverse_each, #sort, #sort_by, #sum, #take, #take_while, #tally, #to_h, #uniq, #zip

Constructor Details

#initialize(matrix, i) ⇒ Row

Returns a new instance of Row.



51
52
53
# File 'gems/carbuncle-math/mrblib/matrix.rb', line 51

def initialize(matrix, i)
  super(matrix, i, false)
end