Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(2)  |  Derive(0)  |  Import(0)

src/p/y/Pyrr-HEAD/pyrr/test/test_matrix.py   Pyrr(Download)
    def test_apply_scale( self ):
        vec = numpy.array( [ 2.0, 2.0, 2.0 ] )
        scale = numpy.array( [ 10.0, 2.0, 1.0 ] )
        result = matrix.apply_scale( vec, scale )
 
            )
        scale = numpy.array( [ 10.0, 2.0, 1.0 ] )
        result = matrix.apply_scale( vecs, scale )
 
        self.assertTrue(