# Cannot ForwardDiff through linear least squares via QR

**URL:** https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257
**Category:** Specific Domains
**Tags:** forwarddiff, qr, ad
**Created:** [September 26, 2023, 12:11pm UTC](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257 "2023-09-26T12:11:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jd-foster](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jd-foster/32/35824_2.png) [@jd-foster](https://discourse.julialang.org/u/jd-foster)
#### Post date: [September 26, 2023, 12:18pm UTC](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257/2 "2023-09-26T12:18:34Z")

</div>

There is an older but similar question here that might give some pointers: [Using ForwardDiff on qr factorization](https://discourse.julialang.org/t/using-forwarddiff-on-qr-factorization/42625)

---

_[View the full topic](https://discourse.julialang.org/t/cannot-forwarddiff-through-linear-least-squares-via-qr/104257)._
