Class: Carbuncle::Matrix::Column
- Defined in:
- gems/carbuncle-math/mrblib/matrix.rb
Overview
Represents a column in the matrix.
Constant Summary
Constants included from Vectorizable
Constants included from Enumerable
Instance Attribute Summary
Attributes inherited from Line
Instance Method Summary collapse
-
#initialize(matrix, j) ⇒ Column
constructor
A new instance of Column.
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, j) ⇒ Column
Returns a new instance of Column.
58 59 60 |
# File 'gems/carbuncle-math/mrblib/matrix.rb', line 58 def initialize(matrix, j) super(matrix, j, true) end |