hypersynchronization.rhs_pairwise_a2a#

hypersynchronization.rhs_pairwise_a2a(t, theta, omega, k1)[source]#

Right-hand side of the ODE, all-to-all pairwise coupling.

Coupling function: sin(theta_j - theta_i). This is the original Kuramoto model. Uses a vectorised implementation that avoids explicit matrix products.

Parameters:
tfloat

Time (unused, present for compatibility with integrators).

thetanumpy.ndarray

Phases of the oscillators.

omegafloat or numpy.ndarray

Natural frequencies of the oscillators.

k1float

Coupling strength.

Returns:
dthetanumpy.ndarray of shape (N,)

Rate of change of phases.