Jishnu Bhattacharya

Results 263 issues of Jishnu Bhattacharya

As an example, consider the following snippet: ```julia copy(M::ArrayLayouts.MulAdd) @ ArrayLayouts ~/Dropbox/JuliaPackages/ArrayLayouts.jl/src/muladd.jl:72 72 copy(M::ArrayLayouts.MulAdd{BlockArrays.BlockLayout{ArrayLayouts.DenseColumnMajor, ArrayLayouts.UnknownLayout}, BlockArrays.BlockLayout{ArrayLayouts.DenseColumnMajor, ArrayLayouts.DenseColumnMajor}, ArrayLayouts.ZerosLayout, Float64, BlockMatrix{Float64, Matrix{SparseMatrixCSC{Float64, Int64}}, Tuple{BlockedUnitRange{Vector{Int64}}, BlockedUnitRange{Vector{Int64}}}}, BlockVector{Float64, Vector{Vector{Float64}}, Tuple{BlockedUnitRange{Vector{Int64}}}}, FillArrays.Zeros{Float64, 1, Tuple{BlockedUnitRange{Vector{Int64}}}}}::MulAdd)::BlockVector{Float64,...

```julia julia> using LinearAlgebra, Cthulhu julia> @descend (A -> ((λ,v) = eigen(A); (λ,v)))(rand(2,2)) (::var"#3#4")(A) @ Main REPL[8]:1 ┌ Warning: couldn't retrieve source of (::var"#3#4")(A) @ Main REPL[8]:1 └ @ TypedSyntax...

```julia julia> using BlockBandedMatrices, LinearAlgebra julia> @enter BlockSkylineMatrix{Bool}(I, 1:1, 1:4, ([0,0,0,0],[0,1,1,1])); In BlockSkylineMatrix(A, rdims, cdims, lu) at /home/jishnu/.julia/packages/BlockBandedMatrices/8oK1s/src/BlockSkylineMatrix.jl:264 >264 BlockSkylineMatrix{T}(A::Union{AbstractMatrix,UniformScaling}, 265 rdims::AbstractVector{Int}, cdims::AbstractVector{Int}, lu::NTuple{2,AbstractVector{Int}}) where T = 266 BlockSkylineMatrix{T}(A, BlockSkylineSizes(rdims,...

An example: https://github.com/JuliaMath/AbstractFFTs.jl/blob/a25656dfabf0f6c5067bc3f90a591c242da4b9be/src/definitions.jl#L62 Using a `Tuple` here will allow `ndims` to be constant-propagated without relying on the compiler. It also reduces allocations in various functions, as vectors don't need to...

The conversion to `float` works, so ideally, conversions to specific element types should work as well: ```julia julia> float(0..1) 0.0..1.0 julia> Float64(0..1) ERROR: MethodError: no method matching Float64(::IntervalSets.ClosedInterval{Int64}) Closest candidates...

Currently, `DomainSets.jl` performs type-piracy with `Domain`, so this PR is an attempt to move the pirated methods to this package. This involves adding two lightweight dependencies, and the following is...

This should address the primary concern raised in https://github.com/JuliaDiff/DualNumbers.jl/issues/94

E.g. ```julia julia> d1 = Dict(:a=>3, :b=>2.0) Dict{Symbol, Real} with 2 entries: :a => 3 :b => 2.0 julia> function f(d1) @unpack a = d1 a end f (generic function...