# Cholfact not defined

**URL:** <https://discourse.julialang.org/t/cholfact-not-defined/62634>\
**Category:** New to Julia\
**Tags:** question\
**Created:** [June 9, 2021, 4:59pm UTC](https://discourse.julialang.org/t/cholfact-not-defined/62634 "2021-06-09T16:59:34Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [June 9, 2021, 4:59pm UTC](https://discourse.julialang.org/t/cholfact-not-defined/62634/1 "2021-06-09T16:59:34Z")

</div>

This is a really dumb question for someone who has been using Julia as long as I have.

I see reference (and definition) of the function cholfact but I keep getting the error  
`cholfact not defined`  
even when I load LinearAlgebra and all the obvious packages I can think of.  
Is there a general way to look up which package a function belongs to ?

---

<div class="post-metadata">

**Author:** ![pdeffebach](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pdeffebach/32/10320_2.png) [@pdeffebach](https://discourse.julialang.org/u/pdeffebach)\
**Post date:** [June 9, 2021, 5:00pm UTC](https://discourse.julialang.org/t/cholfact-not-defined/62634/2 "2021-06-09T17:00:05Z")

</div>

Don’t you just want `cholesky`?

---

<div class="post-metadata">

**Author:** ![compleat](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/compleat/32/8958_2.png) [@compleat](https://discourse.julialang.org/u/compleat)\
**Post date:** [June 9, 2021, 5:03pm UTC](https://discourse.julialang.org/t/cholfact-not-defined/62634/3 "2021-06-09T17:03:15Z")

</div>

Thanks. I saw a specific example that I wanted to copy that had exactly what I needed (including sparse matrices). I didn’t know whether the standard cholesky has all the same functionality.

I guess I am asking for two reasons, first because of this example, and second to know in general how to look up what package a function belongs to (or find out if it has been deprecated)
