How does one perform the exp() operation element-wise in Juila?

前端 未结 3 1526
醉话见心
醉话见心 2021-01-20 22:24

I\'m new to Julia and this seems like a straight-forward operation but for some reason I am not finding the answer anywhere.

I have been going through some tutorials

3条回答
  •  無奈伤痛
    2021-01-20 23:22

    In addition to the above answer, one might also wish to consider the broadcast operator with function piping:

    A = rand(-10:10, 3, 3)
    
    A .|> sin .|> inv
    

提交回复
热议问题