5 lines
170 B
JavaScript
5 lines
170 B
JavaScript
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]))));
|
|
} |