zeta
- :
y =zeta(s)¶ - :
y =zeta(s, a)¶ Riemann and Hurwitz zeta functions.
zeta (S)is the Riemann zeta function.zeta (S, A)is the Hurwitz zeta function; the Riemann case isA = 1.Inputs must be real floating-point arrays of common size (or scalars). The result is single if any input is single. At the pole
S = 1the value isInf. When a is 0 or a negative integer the result isNaN.Numeric behaviour matches the MATLAB R2026a
hurwitzZeta/zetaexamples (Symbolic Math docs), exposed as the two-argument form required by Nexus math-005.