From eb90416701eb6e782054afd33a1ec1b70a737fd9 Mon Sep 17 00:00:00 2001 From: Matt Bauman Date: Tue, 13 Oct 2015 12:18:28 -0400 Subject: [PATCH] Add missing imports --- base/sparse.jl | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/base/sparse.jl b/base/sparse.jl index d40603bc3f3f0..3a5485ebe1821 100644 --- a/base/sparse.jl +++ b/base/sparse.jl @@ -7,20 +7,28 @@ using Base.Sort: Forward using Base.LinAlg: AbstractTriangular, PosDefException import Base: +, -, *, &, |, $, .+, .-, .*, ./, .\, .^, .<, .!=, == -import Base: A_mul_B!, Ac_mul_B, Ac_mul_B!, At_mul_B!, A_ldiv_B! -import Base: @get!, abs, abs2, broadcast, ceil, complex, cond, conj, convert, copy, - ctranspose, diagm, exp, expm1, factorize, find, findmax, findmin, findnz, float, - full, getindex, hcat, hvcat, imag, indmax, ishermitian, kron, length, log, log1p, - max, min, norm, one, promote_eltype, real, reinterpret, reshape, rot180, rotl90, - rotr90, round, scale, scale!, setindex!, similar, size, transpose, tril, triu, vcat, - vec +import Base: A_mul_B!, Ac_mul_B, Ac_mul_B!, At_mul_B, At_mul_B!, A_ldiv_B! + +import Base: @get!, acos, acosd, acot, acotd, acsch, asech, asin, asind, asinh, + atan, atand, atanh, broadcast!, chol, conj!, cos, cosc, cosd, cosh, cospi, cot, + cotd, coth, countnz, csc, cscd, csch, ctranspose!, diag, diff, done, dot, eig, + exp10, exp2, eye, findn, floor, hash, indmin, inv, issym, istril, istriu, log10, + log2, lu, maxabs, minabs, next, sec, secd, sech, show, showarray, sin, sinc, + sind, sinh, sinpi, squeeze, start, sum, sumabs, sumabs2, summary, tan, tand, + tanh, trace, transpose!, tril!, triu!, trunc, vecnorm, writemime, abs, abs2, + broadcast, call, ceil, complex, cond, conj, convert, copy, ctranspose, diagm, + exp, expm1, factorize, find, findmax, findmin, findnz, float, full, getindex, + hcat, hvcat, imag, indmax, ishermitian, kron, length, log, log1p, max, min, + maximum, minimum, norm, one, promote_eltype, real, reinterpret, reshape, rot180, + rotl90, rotr90, round, scale, scale!, setindex!, similar, size, transpose, tril, + triu, vcat, vec + import Base.Broadcast: eltype_plus, broadcast_shape -export AbstractSparseArray, AbstractSparseMatrix, AbstractSparseVector, SparseMatrixCSC, - SparseVector, - blkdiag, dense, droptol!, dropzeros!, etree, issparse, nonzeros, nzrange, - rowvals, sparse, sparsevec, spdiagm, speye, spones, sprand, sprandbool, sprandn, - spzeros, symperm, nnz +export AbstractSparseArray, AbstractSparseMatrix, AbstractSparseVector, + SparseMatrixCSC, SparseVector, blkdiag, dense, droptol!, dropzeros!, etree, + issparse, nonzeros, nzrange, rowvals, sparse, sparsevec, spdiagm, speye, spones, + sprand, sprandbool, sprandn, spzeros, symperm, nnz include("sparse/abstractsparse.jl") include("sparse/sparsematrix.jl")