Skip to content

input lambda x, y but get error #1542

Answered by TonyCrane
Acpear asked this question in Q&A
Jun 15, 2021 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

I think you want to write lambda x, y: np.array([3 * x, 2 * y]).
np.dot is the dot product operator of the matrix.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@Acpear
Comment options

@TonyCrane
Comment options

Answer selected by TonyCrane
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants