2017-06-09 20:20:27 +00:00
|
|
|
export reshape, tile
|
2017-06-09 20:13:25 +00:00
|
|
|
|
|
|
|
import Base: reshape
|
|
|
|
|
|
|
|
reshape(x::AbstractArray, dims::AbstractArray) = reshape(x,tuple(dims...))
|
2017-06-09 20:20:27 +00:00
|
|
|
tile(x::AbstractArray, mult::AbstractArray) = repeat(x,outer=tuple(mult...))
|