Cody

Problem 1304. Hermite Polynomials

Return the n-th Hermite polynomial of the physicists' type.

Assume that n is a non-negative finite integer.

Examples:

 hermite_poly(0)
 ans = 
     1
 hermite_poly(1)
 ans = 
     2     0
 hermite_poly(2)
 ans = 
     4     0   -2
 hermite_poly(3)
 ans = 
     8     0   -12     0

Neither string operations nor interpolations are allowed!

Solution Stats

54.64% Correct | 45.36% Incorrect
Last Solution submitted on Oct 22, 2019

Problem Comments

Problem Recent Solvers42

Suggested Problems

More from this Author18

Problem Tags