Julia Programming Language
How to get a matrix with the inverse of each element of another matrix?
New to Julia
question
,
matrices
photor
February 2, 2022, 2:37am
2
You can use B = 1 ./ A
Note the dot in front of “/”.
show post in topic
Related topics
Topic
Replies
Views
Activity
@. macro for element-wise operations and array slicing
General Usage
8
1953
September 8, 2017
Documentation not showing all methods
General Usage
documentation
2
661
October 24, 2017
Is it possible to create different operator for the dot-call syntax?
Internals & Design
question
,
proposal
10
1533
August 24, 2017
Vectorizing negation?
New to Julia
question
,
numbers
,
numerics
7
894
March 11, 2022
Broadcasting across a nested array
General Usage
broadcasting
47
4186
March 14, 2019