Commit fd7e413
With this, the adjoint of a block `Bidiagonal` will also be a
`Bidiagonal`, following the behavior of a `Diagonal`.
```julia
julia> m = rand(Int8, 2, 2)
2×2 Matrix{Int8}:
-50 -123
-11 18
julia> B = Bidiagonal(fill(m,4), fill(m,3), :U)
4×4 Bidiagonal{Matrix{Int8}, Vector{Matrix{Int8}}}:
[-50 -123; -11 18] [-50 -123; -11 18] … ⋅
⋅ [-50 -123; -11 18] ⋅
⋅ ⋅ [-50 -123; -11 18]
⋅ ⋅ [-50 -123; -11 18]
julia> B'
4×4 Bidiagonal{Adjoint{Int8, Matrix{Int8}}, Vector{Adjoint{Int8, Matrix{Int8}}}}:
[-50 -11; -123 18] ⋅ … ⋅
[-50 -11; -123 18] [-50 -11; -123 18] ⋅
⋅ [-50 -11; -123 18] ⋅
⋅ ⋅ [-50 -11; -123 18]
julia> B''
4×4 Bidiagonal{Matrix{Int8}, Vector{Matrix{Int8}}}:
[-50 -123; -11 18] [-50 -123; -11 18] … ⋅
⋅ [-50 -123; -11 18] ⋅
⋅ ⋅ [-50 -123; -11 18]
⋅ ⋅ [-50 -123; -11 18]
```
---------
Co-authored-by: Daniel Karrasch <daniel.karrasch@posteo.de>
1 parent c4a477f commit fd7e413
2 files changed
+15
-22
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| 314 | + | |
314 | 315 | | |
| 316 | + | |
315 | 317 | | |
316 | 318 | | |
317 | 319 | | |
318 | 320 | | |
319 | 321 | | |
320 | | - | |
321 | | - | |
322 | | - | |
323 | | - | |
324 | | - | |
325 | | - | |
326 | | - | |
327 | | - | |
328 | 322 | | |
329 | 323 | | |
330 | 324 | | |
| |||
1362 | 1356 | | |
1363 | 1357 | | |
1364 | 1358 | | |
1365 | | - | |
1366 | | - | |
1367 | | - | |
1368 | 1359 | | |
1369 | 1360 | | |
1370 | 1361 | | |
1371 | 1362 | | |
1372 | | - | |
1373 | 1363 | | |
1374 | 1364 | | |
1375 | 1365 | | |
| |||
1441 | 1431 | | |
1442 | 1432 | | |
1443 | 1433 | | |
1444 | | - | |
1445 | | - | |
1446 | | - | |
1447 | 1434 | | |
1448 | 1435 | | |
1449 | 1436 | | |
| |||
1476 | 1463 | | |
1477 | 1464 | | |
1478 | 1465 | | |
1479 | | - | |
1480 | | - | |
1481 | 1466 | | |
1482 | 1467 | | |
1483 | 1468 | | |
1484 | | - | |
1485 | | - | |
1486 | | - | |
1487 | | - | |
1488 | 1469 | | |
1489 | 1470 | | |
1490 | 1471 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
807 | 807 | | |
808 | 808 | | |
809 | 809 | | |
810 | | - | |
| 810 | + | |
811 | 811 | | |
812 | 812 | | |
813 | 813 | | |
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
850 | 862 | | |
851 | 863 | | |
852 | 864 | | |
| |||
0 commit comments