-
I assume I'm doing something wrong:
```julia
julia> S = SphericalHarmonic()
SphericalHarmonic{ComplexF64}
julia> Δ = Laplacian(axes(S, 1))
Laplacian{SphericalCoordinate{Float64}, DomainSets.F…
-
The problem is not resolved by defining `Base.convert(::Type{Symmetric}, x::Array{Float64, 2})`.
I believe the problem is the non-commutativity of `Symmetric` and `BlockArray` methods.
Specificall…
-
Can BlockArrays (currently) be used to define BlockDiagonalArrays in a straightforward way similar to Diagonal in LinearAlgebra?
Thanks!
-
PseudoBlockMatrix is a structured wrapper to a native array. This is why the following came as a surprise:
```
using BlockArrays
n = 800
M = rand(2n,2n)
v = rand(2n)
pbM = PseudoBlockMatri…
-
Reproducing example:
```
eachblockrow(x) = (view(x,b,:) for b in blockaxes(x,1))
f(x) = x # just for illustrating use case
m = mortar([mortar([rand(1,j) for k=1:i, _=1:1]) for i=2:4, j=3:5])
Ma…
-
A single `firsts` field should work, where the last index of the range is `firsts[end]-1`. The advantages are:
- The codes will become cleaner and the performance can be better. There are currently m…
-
```julia
using LinearAlgebra
using BlockDiagonals
blocksizes = [2, 4, 8, 16, 32, 64, 128, 256, 512, 1024]
btimes = []
mtimes = []
for nblocks in blocksizes
b = BlockDiagonal([rand(1, 1)…
-
Thanks to PhD. Jaime Gil a researcher in Structural Analysis helped me to undersetand the order and reorder algo. This can be used to split the tangent matrix into constrained and unconstraind dofs b…
-
Usually these types of matrices from from PDEs where they can be constructed from the Kronecker product of the actions along each dimension, like:
```julia
using SparseArrays
Iy = SparseMatrixCSC…
-
```julia
using FillArrays, BlockBandedMatrices
l,u = 1,1 # block bandwidths
N = M = 2 # number of row/column blocks
cols = rows = 1:N # block sizes
jac_bbm = BlockBandedMatrix(…