Project

General

Profile

This project is closed and read-only.

Actions

Bug #1526

closed

Inconsistency with Matrix#row_vectors([]) and Matrix#column_vectors([])

Bug #1526: Inconsistency with Matrix#row_vectors([]) and Matrix#column_vectors([])

Added by runpaint (Run Paint Run Run) over 17 years ago. Updated over 15 years ago.

Status:
Rejected
[ruby-core:23576]

Description

=begin
I suspect that the return value of Matrix[[]].row_vectors and Matrix[[]].column_vectors should be consistent.

 > Matrix[[]].column_vectors
 => []
 > Matrix[[]].row_vectors
 => [Vector[]]

=end


Related issues 1 (0 open1 closed)

Related to Ruby - Bug #1532: Improved matrix.rb [patch]Closedkeiju (Keiju Ishitsuka)Actions

Updated by marcandre (Marc-Andre Lafortune) almost 17 years ago Actions #1

  • Category set to lib
  • Assignee set to keiju (Keiju Ishitsuka)

=begin

=end

Updated by keiju (Keiju Ishitsuka) almost 17 years ago Actions #2

  • Status changed from Open to Rejected

=begin
Matrix[[]] is 1x0-Empty Matrix. This matrix column size is 0, and row_size is 1. Therefore, Matrix[[]].column_vectors is empty array, and Matrix[[]].row_vectors is a array of one empty vector.
=end

Actions

Also available in: PDF Atom