Skip to content

Instantly share code, notes, and snippets.

@mattlewissf
Last active July 6, 2016 22:44
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mattlewissf/e1fa4b6ffc3ca906f44f7b0cb9db0e8d to your computer and use it in GitHub Desktop.
Save mattlewissf/e1fa4b6ffc3ca906f44f7b0cb9db0e8d to your computer and use it in GitHub Desktop.
save_me_jebus
lambda x: -683.923549636
lambda x: -116.783533207 * (-(x[6] - -5.1676818541) if x[6] <= -5.41238626298 else 0 if x[6] >= -4.67412019866 else (-0.007619371398 * (x[6] - -4.67412019866) ** 2 + -0.61845994042 * (x[6] - -4.67412019866) ** 3))
lambda x: -29.1588158614 * (0 if x[6] <= -0.137738977403 else (x[6] - 0.751892264604) if x[6] >= 1.25162817331 else (0.0569021591939 * (x[6] - -0.137738977403) ** 2 + 0.145377420148 * (x[6] - -0.137738977403) ** 3)) * (0 if x[6] <= -5.41238626298 else (x[6] - -5.1676818541) if x[6] >= -4.67412019866 else (1.36214458707 * (x[6] - -5.41238626298) ** 2 + -0.61845994042 * (x[6] - -5.41238626298) ** 3))
lambda x: 28.2353765603 * (-(x[6] - 0.751892264604) if x[6] <= -0.137738977403 else 0 if x[6] >= 1.25162817331 else (0.662849995222 * (x[6] - 1.25162817331) ** 2 + 0.145377420148 * (x[6] - 1.25162817331) ** 3)) * (0 if x[6] <= -5.41238626298 else (x[6] - -5.1676818541) if x[6] >= -4.67412019866 else (1.36214458707 * (x[6] - -5.41238626298) ** 2 + -0.61845994042 * (x[6] - -5.41238626298) ** 3))
lambda x: 0.188627418986 * (0 if x[6] <= -6.49944944926 else (x[6] - -5.65709067187) if x[6] >= -5.41238626298 else (-0.298678223537 * (x[6] - -6.49944944926) ** 2 + 0.465249304798 * (x[6] - -6.49944944926) ** 3)) * (-(x[6] - -5.1676818541) if x[6] <= -5.41238626298 else 0 if x[6] >= -4.67412019866 else (-0.007619371398 * (x[6] - -4.67412019866) ** 2 + -0.61845994042 * (x[6] - -4.67412019866) ** 3))
lambda x: 49.7822878892 * (-(x[6] - 4.27970581098) if x[6] <= 3.0155349465 else 0 if x[6] >= 4.81201929595 else (0.618471663175 * (x[6] - 4.81201929595) ** 2 + 0.126228128143 * (x[6] - 4.81201929595) ** 3))
lambda x: -4.85684292893 * (0 if x[6] <= -1.7095659364 else (x[6] - -1.02737021941) if x[6] >= -0.137738977403 else (0.444041532512 * (x[6] - -1.7095659364) ** 2 + -0.0534157013559 * (x[6] - -1.7095659364) ** 3)) * (-(x[6] - 4.27970581098) if x[6] <= 3.0155349465 else 0 if x[6] >= 4.81201929595 else (0.618471663175 * (x[6] - 4.81201929595) ** 2 + 0.126228128143 * (x[6] - 4.81201929595) ** 3))
lambda x: 6.60667115751 * (-(x[6] - -1.02737021941) if x[6] <= -1.7095659364 else 0 if x[6] >= -0.137738977403 else (0.192160814237 * (x[6] - -0.137738977403) ** 2 + -0.0534157013559 * (x[6] - -0.137738977403) ** 3)) * (-(x[6] - 4.27970581098) if x[6] <= 3.0155349465 else 0 if x[6] >= 4.81201929595 else (0.618471663175 * (x[6] - 4.81201929595) ** 2 + 0.126228128143 * (x[6] - 4.81201929595) ** 3))
lambda x: -2.48254703441 * (-(x[6] - 7.35821759607) if x[6] <= 6.35127518849 else 0 if x[6] >= 8.67853809034 else (0.128054796506 * (x[6] - 8.67853809034) ** 2 + -0.0248617837631 * (x[6] - 8.67853809034) ** 3)) * (0 if x[6] <= 3.0155349465 else (x[6] - 4.27970581098) if x[6] >= 4.81201929595 else (-0.0618289068347 * (x[6] - 3.0155349465) ** 2 + 0.126228128143 * (x[6] - 3.0155349465) ** 3))
lambda x: 26.0885204915 * (0 if x[6] <= -3.28616009831 else (x[6] - -2.3917616534) if x[6] >= -1.7095659364 else (0.189082593905 * (x[6] - -3.28616009831) ** 2 + 0.054149097221 * (x[6] - -3.28616009831) ** 3)) * (0 if x[6] <= -5.41238626298 else (x[6] - -5.1676818541) if x[6] >= -4.67412019866 else (1.36214458707 * (x[6] - -5.41238626298) ** 2 + -0.61845994042 * (x[6] - -5.41238626298) ** 3))
lambda x: -23.4619806554 * (-(x[6] - -2.3917616534) if x[6] <= -3.28616009831 else 0 if x[6] >= -1.7095659364 else (0.445196045559 * (x[6] - -1.7095659364) ** 2 + 0.054149097221 * (x[6] - -1.7095659364) ** 3)) * (0 if x[6] <= -5.41238626298 else (x[6] - -5.1676818541) if x[6] >= -4.67412019866 else (1.36214458707 * (x[6] - -5.41238626298) ** 2 + -0.61845994042 * (x[6] - -5.41238626298) ** 3))
lambda x: 3.55121548197 * (0 if x[6] <= -8.67070419875 else (x[6] - -7.34180822665) if x[6] >= -6.49944944926 else (0.0754763212309 * (x[6] - -8.67070419875) ** 2 + 0.0475317388543 * (x[6] - -8.67070419875) ** 3)) * (-(x[6] - -5.1676818541) if x[6] <= -5.41238626298 else 0 if x[6] >= -4.67412019866 else (-0.007619371398 * (x[6] - -4.67412019866) ** 2 + -0.61845994042 * (x[6] - -4.67412019866) ** 3))
lambda x: 0.0306993624792 * (-(x[6] - -7.34180822665) if x[6] <= -8.67070419875 else 0 if x[6] >= -6.49944944926 else (0.385086862447 * (x[6] - -6.49944944926) ** 2 + 0.0475317388543 * (x[6] - -6.49944944926) ** 3)) * (-(x[6] - -5.1676818541) if x[6] <= -5.41238626298 else 0 if x[6] >= -4.67412019866 else (-0.007619371398 * (x[6] - -4.67412019866) ** 2 + -0.61845994042 * (x[6] - -4.67412019866) ** 3))
lambda x: -9.6831549803 * (0 if x[6] <= 1.25162817331 else (x[6] - 1.75136408201) if x[6] >= 3.0155349465 else (0.651998222044 * (x[6] - 1.25162817331) ** 2 + -0.139287984593 * (x[6] - 1.25162817331) ** 3))
lambda x: -12.1326943164 * (0 if x[6] <= 4.81201929595 else (x[6] - 5.34433278092) if x[6] >= 6.35127518849 else (0.625317979239 * (x[6] - 4.81201929595) ** 2 + -0.130143273078 * (x[6] - 4.81201929595) ** 3))
lambda x: 2.68855957215 * (0 if x[6] <= -4.67412019866 else (x[6] - -4.18055854322) if x[6] >= -3.28616009831 else (0.672348881541 * (x[6] - -4.67412019866) ** 2 + -0.149912080025 * (x[6] - -4.67412019866) ** 3)) * (-(x[6] - 5.34433278092) if x[6] <= 4.81201929595 else 0 if x[6] >= 6.35127518849 else (0.0243465793603 * (x[6] - 6.35127518849) ** 2 + -0.130143273078 * (x[6] - 6.35127518849) ** 3))
lambda x: -3.38529552969 * (-(x[6] - -4.18055854322) if x[6] <= -4.67412019866 else 0 if x[6] >= -3.28616009831 else (0.0481329246354 * (x[6] - -3.28616009831) ** 2 + -0.149912080025 * (x[6] - -3.28616009831) ** 3)) * (-(x[6] - 5.34433278092) if x[6] <= 4.81201929595 else 0 if x[6] >= 6.35127518849 else (0.0243465793603 * (x[6] - 6.35127518849) ** 2 + -0.130143273078 * (x[6] - 6.35127518849) ** 3))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment