Files
2025-02-Numerical/lib/nr/ansi/recipes/ellf.c
2025-09-12 18:55:25 +09:00

15 lines
222 B
C

#include <math.h>
#define NRANSI
#include "nrutil.h"
float ellf(float phi, float ak)
{
float rf(float x, float y, float z);
float s;
s=sin(phi);
return s*rf(SQR(cos(phi)),(1.0-s*ak)*(1.0+s*ak),1.0);
}
#undef NRANSI