(self)
| 163 | npt.assert_array_almost_equal( x, y*np.pi*2 ) |
| 164 | |
| 165 | def test_simple_strides(self): |
| 166 | # It may make more sense to do strided operations on all functions |
| 167 | # in autotest_GENERATED |
| 168 | logger.info( 'Test simple strides' ) |
| 169 | a = np.arange(self.ssize)[::3] |
| 170 | b = np.arange(self.ssize,0,-1)[::3] |
| 171 | out = ne3.NumExpr( 'a-b' )() |
| 172 | npt.assert_array_almost_equal( out, a-b ) |
| 173 | |
| 174 | def test_broadcasting_with_strides(self): |
| 175 | logger.info( 'Test broadcasting with strides' ) |
nothing calls this directly
no outgoing calls
no test coverage detected