Skip to content

Instantly share code, notes, and snippets.

@tdunning
Last active November 22, 2021 19:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tdunning/219ec70253542253cd66f1021d57e677 to your computer and use it in GitHub Desktop.
Save tdunning/219ec70253542253cd66f1021d57e677 to your computer and use it in GitHub Desktop.
julia> A = 3 # this is \Alpha
3
julia> Α = 4 # this is A
4
julia> Α == A # they aren't the same
false
julia> x′ = rand(2,2) # this is x\prime
2×2 Matrix{Float64}:
0.959922 0.243031
0.102611 0.801832
julia> x = [1 2; 0 1] # this is x
2×2 Matrix{Int64}:
1 2
0 1
julia> x' # x transpose
2×2 adjoint(::Matrix{Int64}) with eltype Int64:
1 0
2 1
julia> x′ # not this!
2×2 Matrix{Float64}:
0.959922 0.243031
0.102611 0.801832
julia>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment