3 ms·
In general, what you want to do instead of having `@.` in front of every line is write scalar functions and `@.` their application. For example, instead of writ
by adgjlsfhk1 5y ago
In general, what you want to do instead of having `@.` in front of every line is write scalar functions and `@.` their application. For example, instead of writing
```
function f1(A,B,C)
tmp = A.+B
return tmp1 .* C
end
f1(::Vector,::Vector,::Vector)
```
You can write
```
function f2(a,b,c)
tmp = a + b
return tmp1 *c
end
f2.(::Vector,::Vector,::Vector)
```