use_method_with_parenthesis.patch
lib/matrix/eigenvalue_decomposition.rb  

40  40 
# Returns the eigenvector matrix +V+ 
41  41 
# 
42  42 
def eigenvector_matrix 
43 
Matrix.send :new, build_eigenvectors.transpose


43 
Matrix.send(:new, build_eigenvectors.transpose)


44  44 
end 
45  45 
alias v eigenvector_matrix 
46  46  
47  47 
# Returns the inverse of the eigenvector matrix +V+ 
48  48 
# 
49  49 
def eigenvector_matrix_inv 
50 
r = Matrix.send :new, build_eigenvectors


50 
r = Matrix.send(:new, build_eigenvectors)


51  51 
r = r.transpose.inverse unless @symmetric 
52  52 
r 
53  53 
end 
...  ...  
64  64 
# Returns an array of the eigenvectors 
65  65 
# 
66  66 
def eigenvectors 
67 
build_eigenvectors.map{ev Vector.send :new, ev}


67 
build_eigenvectors.map{ev Vector.send(:new, ev)}


68  68 
end 
69  69  
70  70 
# Returns the block diagonal eigenvalue matrix +D+ 