Project

General

Profile

Actions

Feature #2266

closed

Matrix and Complex [patch]

Added by marcandre (Marc-Andre Lafortune) over 14 years ago. Updated almost 13 years ago.

Status:
Closed
Target version:
[ruby-core:26285]

Description

=begin
Now that Ruby 1.9 has Complex as a builtin type, it would be interesting if Matrix provided the following instance methods:
#conj, alias conjugate
#imag, alias imaginary
#real,
#real?,
#rect, alias rectangular

Corresponding patch attached.

This patch could also be part of mathn in the ruby 1.8 branch.
=end


Files

matrix_complex.diff (3.29 KB) matrix_complex.diff marcandre (Marc-Andre Lafortune), 10/25/2009 07:36 AM
Actions #1

Updated by marcandre (Marc-Andre Lafortune) over 14 years ago

  • Subject changed from Matrix and Complex to Matrix and Complex [patch]

=begin

=end

Actions #2

Updated by marcandre (Marc-Andre Lafortune) almost 14 years ago

  • Assignee changed from keiju (Keiju Ishitsuka) to marcandre (Marc-Andre Lafortune)
  • Target version set to 1.9.2

=begin

=end

Actions #3

Updated by marcandre (Marc-Andre Lafortune) almost 14 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r27159.
Marc-Andre, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0