Skip to content

Commit

Permalink
サンプルのメソッドが誤っていたので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
universato committed Apr 23, 2021
1 parent 30acaca commit a8a9e04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion refm/api/src/matrix/Matrix
Original file line number Diff line number Diff line change
Expand Up @@ -950,7 +950,7 @@ a2 = [10, 15, 20]
a3 = [-1, -2, 1.5]
m = Matrix[a1, a2, a3]

p m.row_vectors # => [Vector[1, 10, -1], Vector[2, 15, -2], Vector[3, 20, 1.5]]
p m.column_vectors # => [Vector[1, 10, -1], Vector[2, 15, -2], Vector[3, 20, 1.5]]
#@end

--- to_a -> Array
Expand Down

0 comments on commit a8a9e04

Please sign in to comment.