Feature #10057 » add_test_for_Matrix#rect.patch
test/matrix/test_matrix.rb | ||
---|---|---|
assert_equal(Matrix[[2, 1, 0], [0, 0, 0]], @c1.imaginary)
|
||
end
|
||
def test_rect
|
||
assert_equal([Matrix[[1, 0, 0], [1, 2, 3]], Matrix[[2, 1, 0], [0, 0, 0]]], @c1.rect)
|
||
end
|
||
def test_row_vectors
|
||
assert_equal([Vector[1,2,3], Vector[4,5,6]], @m1.row_vectors)
|
||
end
|
- « Previous
- 1
- …
- 4
- 5
- 6
- Next »