# Make \`LinearSolve\` factorizations available in a standalone manner

**URL:** <https://discourse.julialang.org/t/make-linearsolve-factorizations-available-in-a-standalone-manner/123260>\
**Category:** General Usage\
**Tags:** question, linearalgebra, linearsolve\
**Created:** [November 29, 2024, 5:36pm UTC](https://discourse.julialang.org/t/make-linearsolve-factorizations-available-in-a-standalone-manner/123260 "2024-11-29T17:36:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [November 29, 2024, 5:36pm UTC](https://discourse.julialang.org/t/make-linearsolve-factorizations-available-in-a-standalone-manner/123260/1 "2024-11-29T17:36:46Z")

</div>

_This question was initially posted a few weeks back as an issue in [LinearSolve.jl](https://github.com/SciML/LinearSolve.jl) but got no attention there. By reposting it here I’m hoping to generate a bit of discussion about this._

As far as I understand the purpose of `LinearSolve`, it is an attemp at providing downstream users and developpers a unified interface between multiple solvers.  
As highlighted by the documentation, matrix factorizations play a significant role in the different solvers. However, it does not seem that a unified interface for these factorizations is provided by `LinearSolve`.  
I’m just thinking about this because I’m myself in the need of finding the best QR factorization (to retrieve the R term only) for one of my projects and `LinearSolve` seemed a nice place to start from. I thought I would find something like

```julia
fact_problem = FactorizationProblem(<Matrix>,<FactorizationMethod>)
fact = solve(fact_problem)

```

Would such an approach be relevant for `LinearSolve` or is it useless ? I can’t really make my mind… it seems completely overkill, yet achieves somewhat the same pupose as `LinearProblem`.

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [November 29, 2024, 7:49pm UTC](https://discourse.julialang.org/t/make-linearsolve-factorizations-available-in-a-standalone-manner/123260/2 "2024-11-29T19:49:49Z")

</div>

LinearAlgebra.jl kind of does this, where you have the different functions all create a QR object. But i dont quite see how to use it fully generically
