标签: python numpy
由于math.log不支持数组,我想在numpy.log中而不是math.log中完成日志计算
但是,numpy中有log10(),log2()。如何在numpy中计算更通用的日志,例如log5(6)?请不要使用log(6)/ log(5)...
非常感谢!