Re: [julia-users] Inherit from AbstractMatrix

2016-07-15 Thread Tim Holy
Hi Madeleine, Is there any chance you have two versions of julia installed, and are running the wrong one? (Confession: I make that mistake surprisingly frequently!) The reason I ask is that on current master: julia> methodswith(Array, kron) 0-element Array{Method,1} In master (which is what

Re: [julia-users] Inherit from AbstractMatrix

2016-07-15 Thread Mauro
On Thu, 2016-07-14 at 22:53, Madeleine Udell wrote: > Convex.jl defines an abstract type AbstractExpr, from which all important > concrete types in the package are descended. We've defined a bunch of > functions that allow users to treat AbstractExprs as though they

[julia-users] Inherit from AbstractMatrix

2016-07-14 Thread Madeleine Udell
Convex.jl defines an abstract type AbstractExpr, from which all important concrete types in the package are descended. We've defined a bunch of functions that allow users to treat AbstractExprs as though they were matrices: indexing, hcat, vcat, multiplication, addition, subtraction, etc. Can