numpy中的log和ln函数介绍

np.log()指代的便是数学中使用的ln函数。

np.log10()指代的便是数学中使用的lg函数。

import numpy as np

print(np.log(np.e))

print(np.log10(100))

numpy中的log和ln函数介绍_第1张图片

你可能感兴趣的:(函数参数,numpy)