2

I'm looking to import a hermite polynomial. When I check the documentation on the scipy website it's available. However, when I try to import it there is no module found

Giorgos Myrianthous
  • 36,235
  • 20
  • 134
  • 156
Tim_h11
  • 67
  • 7
  • 1
    Show the *exact* code that you tried (preferably a [minimal, complete and verifiable example](https://stackoverflow.com/help/mcve)), and show the *complete* error message (i.e. the complete traceback). There is useful information in there. – Warren Weckesser Mar 21 '19 at 21:28
  • Also read https://docs.scipy.org/doc/scipy/reference/tutorial/general.html#scipy-organization, which explains that the SciPy subpackages must be imported explicitly. – Warren Weckesser Mar 21 '19 at 21:31

1 Answers1

2
import scipy.special
p = scipy.special.hermite(63)

should work.

Giorgos Myrianthous
  • 36,235
  • 20
  • 134
  • 156