tethys-feature-service/node_modules/proj4/lib/common/pj_mlfn.js

5 lines
170 B
JavaScript
Raw Permalink Normal View History

2023-10-02 13:04:02 +00:00
export default function(phi, sphi, cphi, en) {
cphi *= sphi;
sphi *= sphi;
return (en[0] * phi - cphi * (en[1] + sphi * (en[2] + sphi * (en[3] + sphi * en[4]))));
}