Tianyi Pu

Results 117 comments of Tianyi Pu

upvoted since I don't want to use `plot(log10.(a))` and manually set tick texts all the time. > `wontfix` because `log(0)` is undefined. `plot(log10.(a))` works, so it's not a good reason.

We could override `Base.vcat` , `Base.hcat` and `Base.hvcat` for concrete block array types. When block dimensions or types don't match, we may issue a warning and invoke the original `Base`...

Currently applying `cat`s will convert the block arrays to concrete arrays. ```julia julia> A=BlockArray{Float64}(zeros(7,9), [1,2,4], [3,2,4]); julia> blocksizes(A) ([1, 2, 4], [3, 2, 4]) julia> blocksizes(vcat(A,A)) ([14], [9]) ``` If...

True. So we may need both `blockcat` and `cat`. `blockcat` indicates that the arguments are in distinct blocks while `cat` performs the natural concatenation. Examples that `blockcat` is needed: -...

`blockcat` is more "blocked" than `cat`. `blockcat` always split the result when possible. `cat` also generates block arrays when it makes strong sense.

Should `Base.OneTo` and `1-blocked BlockedUnitRange`, as axes of arrays, be treated equally? For example ```julia julia> A=BlockArray{Float64}(zeros(2,2),[1,1],[2]) 2×1-blocked 2×2 BlockArray{Float64,2}: 0.0 0.0 ──────── 0.0 0.0 julia> axes(A,1) 2-blocked 2-element BlockedUnitRange{Array{Int64,1}}:...

My point was `unblocked != 1-blocked`. Anyway, when it comes to 1-blocked, we use `cat` to treat it as unblocked and `blockcat` to treat it as blocked. This should be...

What result do you expect from `vcat(blockrange([2,2]), blockrange([2,2]))`, `blockrange([2,4,2])` or `blockrange([2,2,2,2])`? I suppose the former, and the latter will be from `blockvcat`.

`NaN` begins from 27282 and ends at 32768 (only counted integer values). ```julia julia> erfcx(BigFloat(27281)) 2.068067824378598630288975599374805428229073376310733390485590903274295760840468e-05 julia> erfcx(BigFloat(27282)) NaN julia> erfcx(BigFloat(32768)) NaN julia> erfcx(BigFloat(32769)) 1.721717425875220708758243853735950836098892035259101544766730697542870688938946e-05 ```