APIdock / Ruby
/
Browse About
method

column_vectors

v1_9_3_125 - Show latest stable - Class: Matrix
column_vectors()
public

Returns an array of the column vectors of the matrix. See Vector.

# File lib/matrix.rb, line 1295
  def column_vectors
    Array.new(column_size) {|i|
      column(i)
    }
  end

Related methods

  • Instance methods
  • *
  • **
  • +
  • -
  • /
  • ==
  • []
  • clone
  • coerce
  • collect
  • column
  • column_vectors
  • component
  • conj
  • conjugate
  • det
  • det_e
  • determinant
  • determinant_e
  • diagonal?
  • each
  • each_with_index
  • eigen
  • eigensystem
  • element
  • elements_to_f
  • elements_to_i
  • elements_to_r
  • empty?
  • eql?
  • find_index
  • hash
  • hermitian?
  • imag
  • imaginary
  • index
  • inspect
  • inv
  • inverse
  • lower_triangular?
  • lup
  • lup_decomposition
  • map
  • minor
  • normal?
  • orthogonal?
  • permutation?
  • rank
  • rank_e
  • real
  • real?
  • rect
  • rectangular
  • regular?
  • round
  • row
  • row_size
  • row_vectors
  • singular?
  • square?
  • symmetric?
  • t
  • to_a
  • to_s
  • tr
  • trace
  • transpose
  • unitary?
  • upper_triangular?
  • zero?
  • Class methods
  • I
  • []
  • build
  • column_vector
  • columns
  • diagonal
  • empty
  • identity
  • new
  • row_vector
  • rows
  • scalar
  • unit
  • zero
  • Private methods
  • privatenew
  • private[]=
  • privatedeterminant_bareiss
  • privateinverse_from
  • privatenew_matrix
  • privateset_component
  • privateset_element
APIdock API Documentation Browser

© 2026 APIdock