Learn R Programming

boostmath (version 1.0.0)

zeta: Riemann Zeta Function

Description

Computes the Riemann zeta function \((\zeta(s))\) for argument \((z)\).

Usage

zeta(z)

Value

The value of the Riemann zeta function \((\zeta(z))\).

Arguments

z

Real number input

Examples

Run this code
# Riemann Zeta Function
zeta(2)  # Should return pi^2 / 6

Run the code above in your browser using DataLab