Instantly share code, notes, and snippets.
When recreating the function method1, I encounter an error message: "setting array with a sequence" on the line of code:
mat[i, j] = np.exp(-0.5 / sigma**2 * np.dot(vec, vec))
Would you like to verify the version of the code to recreate my problem?
Thank you in advance for considering my question,
Sorry, something went wrong.