Julia-Doku: determinates of a matrix

Hello, I am (still) a bloody Julia beginner (V 1.0.0 2018-08-08) and would like to cook the example from the linear algebra of the Julia documentary. It is about the determination of the determinants of the example:

julia> A = [1 2 3; 4 1 6; 7 8 1]
3×3 Array{Int64,2}:
 1  2  3
 4  1  6
 7  8  1

julia> det(A)
104.0

I get the following error message:

julia> det(A)
ERROR: UndefVarError: det not defined

I’ve noticed that the syntax for some features has been changed to Julia 1.0.0. Is that also the case here?
Sorry for this - hopefully - simple question!

Best Rgeads,
Guenter

You need to call using LinearAlgebra. The docs should be improved to explain this for each stdlib module.

4 Likes

Thanks for your support! Worked!