Matrix and Complex [patch]
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
#rect, alias rectangular
Corresponding patch attached.
This patch could also be part of mathn in the ruby 1.8 branch.
Updated by marcandre (Marc-Andre Lafortune) about 12 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
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.