# Cholesky Factorization of Transpose Matrix using LinearAlgebra raises Error

**URL:** https://discourse.julialang.org/t/cholesky-factorization-of-transpose-matrix-using-linearalgebra-raises-error/43392
**Category:** General Usage
**Tags:** linearalgebra
**Created:** [July 20, 2020, 6:33pm UTC](https://discourse.julialang.org/t/cholesky-factorization-of-transpose-matrix-using-linearalgebra-raises-error/43392 "2020-07-20T18:33:13Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![nil](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nil/32/16502_2.png) [@nil](https://discourse.julialang.org/u/nil)
#### Post date: [July 20, 2020, 6:33pm UTC](https://discourse.julialang.org/t/cholesky-factorization-of-transpose-matrix-using-linearalgebra-raises-error/43392/1 "2020-07-20T18:33:13Z")

</div>

```julia
>versioninfo()
Julia Version 1.4.2
Commit 44fa15b150* (2020-05-23 18:35 UTC)
Platform Info:
  OS: Linux (x86_64-pc-linux-gnu)
  CPU: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-8.0.1 (ORCJIT, skylake)

> A = [3 -1 0; -1 5 2; 0 2 7]
3×3 Array{Int64,2}:
  3 -1 0
 -1 5 2
  0 2 7

> cholesky(transpose(A))
ERROR: MethodError: no method matching cholesky(::Transpose{Int64,Array{Int64,2}})
Long Error message 

```

---

<div class="post-metadata">

### Author: ![BLI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bli/32/37206_2.png) [@BLI](https://discourse.julialang.org/u/BLI)
#### Post date: [July 20, 2020, 8:54pm UTC](https://discourse.julialang.org/t/cholesky-factorization-of-transpose-matrix-using-linearalgebra-raises-error/43392/2 "2020-07-20T20:54:44Z")

</div>

Hm. There is a similar problem with doing `lu(B')` if, using your `A` matrix: `B = sparse(A)`.

---

<div class="post-metadata">

### Author: ![oxinabox](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/oxinabox/32/206603_2.png) [@oxinabox](https://discourse.julialang.org/u/oxinabox)
#### Post date: [July 20, 2020, 9:49pm UTC](https://discourse.julialang.org/t/cholesky-factorization-of-transpose-matrix-using-linearalgebra-raises-error/43392/3 "2020-07-20T21:49:16Z")

</div>

This is a bug. (as is `lu(::Adjoint)`  
Please open an issue on [https://github.com/JuliaLang/julia/issues/](https://github.com/JuliaLang/julia/issues/)
