EasyTranspose.jl

๐ŸŸ Easily transpose arrays and vectors
Author musm
Popularity
5 Stars
Updated Last
3 Years Ago
Started In
December 2018

EasyTranspose.jl

Easily transpose arrays and vectors in Julia using แต€:

using EasyTranspose

julia> [1, 2, 3]แต€ == [1 2 3]
true


julia> A = randn(3,5);

julia> (A)แต€
5ร—3 Array{Float64,2}:
  1.05165    -1.56987   -0.227402
 -0.0827963  -0.314905  -0.126144
 -0.944382    0.245913   1.43961
 -0.799775    0.571537   0.199715
  0.369704   -0.323379  -0.49699

This is accomplished by overloading the * operator.

credits: Jeffrey Sarnoff, Michael K. Borregaard