Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
ced
· 5y ago · 0 comments
What do you mean, "map values"? There is
[sin(x) for x in vec] map(sin, vec) sin.(vec)
which are roughly equivalent? Is that what you're referring to?
Comments
[–]
snicker7
5y ago
Don't forget the "lazy" version: (sin(x) for x in vec)