Every line of 'multiply two arrays python' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your Python code is secure.
8 def multiply(a, b): 9 """ 10 >>> multiply(4, 3) 11 12 12 >>> multiply('a', 3) 13 'aaa' 14 """ 15 return a * b
1304 def multiply(a: T.FloatTensor, b: T.FloatTensor) -> T.FloatTensor: 1305 """ 1306 Multiply tensor b with tensor a using broadcasting. 1307 1308 Args: 1309 a: A tensor 1310 b: A tensor 1311 1312 Returns: 1313 tensor: a * b 1314 1315 """ 1316 return a * b
372 def test_multiply(self, space): 373 w_res = space.execute("return [ 1, 2, 3 ] * 3") 374 assert self.unwrap(space, w_res) == [1, 2, 3, 1, 2, 3, 1, 2, 3] 375 w_res = space.execute("return [ 1, 2, 3 ] * ','") 376 assert self.unwrap(space, w_res) == "1,2,3"
45 def multiply(a, b): 46 print("MULTIPLYING %d * %d" % (a, b)) 47 return a * b
1339 def __mul__(self,*args): 1340 """ x.__mul__(y) <==> x*y """ 1341 pass
1711 def test_inplace_mul_on_php_array_in_python003(self, php_space): 1712 output = self.run(''' 1713 $src = <<
46 def multiply(a: Image, b: Image)->Image: 47 return modules.images_internal.multiply(a, b)