Created
January 24, 2021 10:13
-
-
Save ShuaiGuo16/bc022f1f16f326836851d6a45e36b047 to your computer and use it in GitHub Desktop.
Test function 2D
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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