Actions
Feature #2266
closedMatrix and Complex [patch]
Feature #2266:
Matrix and Complex [patch]
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
Actions