/usr/share/julia/base/sparse/abstractsparse.jl is in julia-common 0.4.7-6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # This file is a part of Julia. License is MIT: http://julialang.org/license
abstract AbstractSparseArray{Tv,Ti,N} <: AbstractArray{Tv,N}
typealias AbstractSparseVector{Tv,Ti} AbstractSparseArray{Tv,Ti,1}
typealias AbstractSparseMatrix{Tv,Ti} AbstractSparseArray{Tv,Ti,2}
"""
issparse(S)
Returns `true` if `S` is sparse, and `false` otherwise.
"""
issparse(A::AbstractArray) = false
issparse(S::AbstractSparseArray) = true
indtype{Tv,Ti}(S::AbstractSparseArray{Tv,Ti}) = Ti
|