Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "TriangularSolve"
uuid = "d5829a12-d9aa-46ab-831f-fb7c9ab06edf"
authors = ["chriselrod <elrodc@gmail.com> and contributors"]
version = "0.2.1"
version = "0.2.2"

[deps]
CloseOpenIntervals = "fb6a15b2-703c-40df-9091-08a04967cfa9"
Expand Down
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,19 @@
[![Coverage](https://codecov.io/gh/JuliaSIMD/TriangularSolve.jl/branch/master/graph/badge.svg)](https://codecov.io/gh/JuliaSIMD/TriangularSolve.jl)


Performs some triangular solves. For example:
Performs triangular solves for `Float32`/`Float64` matrices with at least two
right-hand sides, covering all four side/triangle combinations (plus the
unit-diagonal variants of each):

- `rdiv!(A, ::UpperTriangular)` / `rdiv!(A, ::UnitUpperTriangular)`: `A ← A / U`
- `rdiv!(A, ::LowerTriangular)` / `rdiv!(A, ::UnitLowerTriangular)`: `A ← A / L`
- `ldiv!(::LowerTriangular, A)` / `ldiv!(::UnitLowerTriangular, A)`: `A ← L \ A`
- `ldiv!(::UpperTriangular, A)` / `ldiv!(::UnitUpperTriangular, A)`: `A ← U \ A`

Three-argument out-of-place forms (`rdiv!(C, A, U)`, `ldiv!(C, U, A)`) are also
provided, and each method takes a trailing `Val(true)`/`Val(false)` argument
controlling multithreading. Other element types and vector right-hand sides
fall back to `LinearAlgebra`. For example:
```julia
julia> using TriangularSolve, LinearAlgebra, MKL;

Expand Down
Loading
Loading