5#ifndef OAKFIELD_MATH_THETA_H
6#define OAKFIELD_MATH_THETA_H
136double theta1_norm(
double z,
double q,
double s1,
double c1);
137double theta_square(
double z,
double q,
double s1,
double c1);
138double theta_saw_unit(
double z,
double q,
double s1,
double c1);
139double theta_triangle(
double z,
double q,
double s1,
double c1);
Theta waveform value with error estimate and convergence metadata.
Definition theta.h:53
size_t terms_used
Definition theta.h:56
double value
Definition theta.h:54
theta_status status
Definition theta.h:57
double abs_error
Definition theta.h:55
theta_eval theta_triangle_eval(double z, double q, double s1, double c1)
Evaluate the triangle-like odd-harmonic Lambert/theta series.
theta_eval theta_square_eval(double z, double q, double s1, double c1)
Evaluate the square-like theta quotient [theta3(0,q)/theta2(0,q)] * [theta1(z,q)/theta4(z,...
const char * theta_status_string(theta_status status)
Human-readable description of a theta_status value.
theta_eval theta1_norm_eval(double z, double q, double s1, double c1)
Evaluate theta1(z,q) / theta2(0,q).
theta_eval theta_saw_unit_eval(double z, double q, double s1, double c1)
Evaluate the phase-based saw map (1/pi) arg(1 - q exp(-i z)).
theta_status
Research-grade evaluation of real Jacobi-theta-derived waveform families.
Definition theta.h:43
@ THETA_STATUS_OK
Definition theta.h:44
@ THETA_STATUS_DOMAIN_ERROR
Definition theta.h:45
@ THETA_STATUS_SINGULAR
Definition theta.h:46
@ THETA_STATUS_NO_CONVERGENCE
Definition theta.h:47