5
Ich versuche numpy.logspace()
zu verwenden, um 50 Werte von 1e-10
bis 1e-14
zu generieren.Fehler bei der Verwendung von numpy.logspace(): Wie man Zahlen gleichmäßig auf einer logarithmischen Skala erzeugt
http://docs.scipy.org/doc/numpy/reference/generated/numpy.logspace.html
import numpy as np
x = np.logspace(1e-10, 1e-14, num=50)
print x
Der Ausgang ich erhalte, ist falsch:
[ 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.
1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.
1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1. 1.]
Was meine anderen Optionen?