blob: 5539dac0d3056db8340556c57a46dcc9c8d41971 (
plain)
1
2
3
4
5
6
7
8
9
10
|
from __future__ import division
from numpy.testing import assert_equal, TestCase
from numpy.core import ones
from numpy import matrix
class TestDot(TestCase):
def test_matscalar(self):
b1 = matrix(ones((3,3),dtype=complex))
assert_equal(b1*1.0, b1)
|