An open API service indexing awesome lists of open source software.

https://github.com/musm/easytranspose.jl

๐ŸŸ Easily transpose arrays and vectors
https://github.com/musm/easytranspose.jl

julia

Last synced: about 1 year ago
JSON representation

๐ŸŸ Easily transpose arrays and vectors

Awesome Lists containing this project

README

          

# EasyTranspose.jl

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

```julia
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