Julia Programming Language
Dot notation / vectorized code syntax
New to Julia
LinasBa
June 19, 2021, 8:11pm
2
model(x)=exp.((x.-2).^2)
or
model(x)= @. exp((x-2)^2)
2 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
Is it possible to create different operator for the dot-call syntax?
Internals & Design
question
,
proposal
10
1533
August 24, 2017
Unclear sentence in Performance Tips doc page
New to Julia
documentation
5
558
June 5, 2020
Why are there broadcast versions of functions?
Internals & Design
question
17
5470
December 31, 2017
@. macro for element-wise operations and array slicing
General Usage
8
1953
September 8, 2017
Question about Dot Notation and "$"
New to Julia
question
1
377
February 10, 2022