Method: Matrix#rect

Defined in:
lib/matrix.rb

#rectObject Also known as: rectangular

Returns an array containing matrices corresponding to the real and imaginary parts of the matrix

m.rect == [m.real, m.imag] # ==> true for all matrices m



1440
1441
1442
# File 'lib/matrix.rb', line 1440

def rect
  [real, imag]
end