Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 
avatar of Aditya

Aditya

Aditya has asked 0 questions and find answers to 14 problems.

Stats

172
EtPoint
23
Vote count
0
questions
14
answers

About

Feel free to contact me at:

import numpy as np

a = np.array([[1.4057971 , 1.44927536, 1.52173913, 1.68115942, 1.75362319], [1.4057971 , 1.55072464, 1.55072464, 0.72463768, 0.82608696],[0.92753623, 1.49275362, 1.57971014, 1.4057971 , 1.52173913], [1.56521739, 0.66666667, 1.43478261, 1.60869565, 1.57971014]])
b = np.full((4, 5), 69, dtype=int)

''.join(np.rint(np.multiply(a, b)).astype(int).reshape(-1).view('c').astype(str))

Please endorse me on LinkedIn if you find any of my answers helpful.