Skip to content

Instantly share code, notes, and snippets.

@ShuaiGuo16
Created January 24, 2021 10:13
Show Gist options
  • Save ShuaiGuo16/bc022f1f16f326836851d6a45e36b047 to your computer and use it in GitHub Desktop.
Save ShuaiGuo16/bc022f1f16f326836851d6a45e36b047 to your computer and use it in GitHub Desktop.
Test function 2D
def Test_2D(X):
"""2D Test Function"""
y = (1-X[:,0])**2 + 100*(X[:,1]-X[:,0]**2)**2
return y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment