2021-11-19から1日間の記事一覧
win10 home上の jupyter notebook で*1何故か計算が合わないので、printdebug していたら、numpy.power がどうも合わない*2。 import math import numpy as np for i in range(1,16): print(f"{i:>2} {pow(10,i):>20} {math.pow(10,i):>20} {np.power(10,i):…
win10 home上の jupyter notebook で*1何故か計算が合わないので、printdebug していたら、numpy.power がどうも合わない*2。 import math import numpy as np for i in range(1,16): print(f"{i:>2} {pow(10,i):>20} {math.pow(10,i):>20} {np.power(10,i):…