btmit
btmit
These all work: ``` using FFTW, ShiftedArrays realVec = rand(16) fft(realVec) fft(CircShiftedArray(realVec, 16)) fft(view(CircShiftedArray(realVec, 16), 1:4)) cplxVec = rand(ComplexF64, 16) fft(cplxVec) ``` These do not: ``` fft(CircShiftedArray(cplxVec, 16)) fft(view(CircShiftedArray(cplxVec, 16),...
Looks like there are still a few things hiding out that use `Matrix` instead of `AbstractMatrix`. Here's one example: ```julia julia> a=PDMat(SMatrix{3,3}([ 0.880022 0.646205 0.598234 0.646205 0.578793 0.449772 0.598234 0.449772...
In this package the SqMahalanobis distance is implemented and documented as $(x - y)' * Q * (x - y)$. However, the documentation refers to $Q$ as the covariance matrix....
To use CatView in my application, I need the following to be true: `CatView{Float64, 2}
It would be awesome if `dropzeros!` were extended so the following pattern worked: ```julia # create a sparse array a = rand(4, 3) as = sparse(a) # loop over columns...
I have a function that is broadcasting a multiplication between a vector and a vector of vectors. This works as expected on dense vectors. If I pass a sparse vector...
Construction of a `Categorical` distribution seems to make a copy of the `p` vector. I see this through profiling, `@btime` and the fact that I can't see changes in the...
```julia using Distributions, LinearAlgebra d1 = Uniform() d2 = MvNormal(Diagonal([1., 2.])) d3 = MvNormal(Diagonal([1., 2., 3.])) ``` It would be really helpful if methods existed to support this type of...
``` ERROR: MethodError: *(::PDMats.PDiagMat{Float64, Vector{Float64}}, ::Diagonal{Float64, Vector{Float64}}) is ambiguous. Candidates: *(A::AbstractMatrix, D::Diagonal) @ LinearAlgebra /Applications/Julia-1.9.app/Contents/Resources/julia/share/julia/stdlib/v1.9/LinearAlgebra/src/diagonal.jl:247 *(a::PDMats.PDiagMat, x::AbstractMatrix) @ PDMats ~/.julia/packages/PDMats/CbBv1/src/pdiagmat.jl:51 Possible fix, define *(::PDMats.PDiagMat, ::Diagonal) ```
```julia using Unroll function foo() # example in docs v = @tuplegen [(i==2) ? i * 6 : i for i = 1 : 4] return v end ``` >...