diff --git a/base/array.jl b/base/array.jl index 5b5bb342ed3d0..42dc231971e16 100644 --- a/base/array.jl +++ b/base/array.jl @@ -4,6 +4,10 @@ typealias Vector{T} Array{T,1} typealias Matrix{T} Array{T,2} typealias VecOrMat{T} Union(Vector{T}, Matrix{T}) +typealias DenseVector{T} DenseArray{T,1} +typealias DenseMatrix{T} DenseArray{T,2} +typealias DenseVecOrMat{T} Union(DenseVector{T}, DenseMatrix{T}) + typealias StoredVector{T} StoredArray{T,1} typealias StridedArray{T,N,A<:DenseArray} Union(DenseArray{T,N}, SubArray{T,N,A}) typealias StridedVector{T,A<:DenseArray} Union(DenseArray{T,1}, SubArray{T,1,A}) diff --git a/base/exports.jl b/base/exports.jl index e72dbff4b3a8c..198f424c9ce6a 100644 --- a/base/exports.jl +++ b/base/exports.jl @@ -36,6 +36,9 @@ export Complex64, Complex32, DArray, + DenseMatrix, + DenseVecOrMat, + DenseVector, DevNull, Diagonal, Dict,