# What happened to LinearAlgebra.full?

**URL:** <https://discourse.julialang.org/t/what-happened-to-linearalgebra-full/53984>\
**Category:** General Usage\
**Tags:** linearalgebra\
**Created:** [January 26, 2021, 1:55pm UTC](https://discourse.julialang.org/t/what-happened-to-linearalgebra-full/53984 "2021-01-26T13:55:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gedankenexperiment](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gedankenexperiment](https://discourse.julialang.org/u/gedankenexperiment)\
**Post date:** [January 26, 2021, 1:55pm UTC](https://discourse.julialang.org/t/what-happened-to-linearalgebra-full/53984/1 "2021-01-26T13:55:27Z")

</div>

Hi,

I’m getting an `UndefVarError: full not defined` for

```julia
using OrdinaryDiffEq, RecursiveArrayTools,LinearAlgebra
const Mx = full(Tridiagonal([1.0 for i in 1:N-1],[-2.0 for i in 1:N],[1.0 for i in 1:N-1]))

```

coming from [this](https://www.stochasticlifestyle.com/solving-systems-stochastic-pdes-using-gpus-julia/) blog entry from 2017. Hard to trace back what changed, only found [this](http://www.jlhub.com/julia/manual/en/function/function/full). But not clear what do do here. Any help is appreciated.

---

<div class="post-metadata">

**Author:** ![gedankenexperiment](https://avatars.discourse-cdn.com/v4/letter/g/a183cd/32.png) [@gedankenexperiment](https://discourse.julialang.org/u/gedankenexperiment)\
**Post date:** [January 26, 2021, 2:04pm UTC](https://discourse.julialang.org/t/what-happened-to-linearalgebra-full/53984/2 "2021-01-26T14:04:38Z")

</div>

Ah, okay. In `?Tridiagonal` it is stated that the tridiagonal matrix can be converted into a regular matrix by applying `Array()`. Also, in the context of that code, one shouldn’t even fill the rest of the matrices (see article comments), so one should just remove `full`.

---

<div class="post-metadata">

**Author:** ![cgeoga](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/cgeoga/32/216186_2.png) [@cgeoga](https://discourse.julialang.org/u/cgeoga)\
**Post date:** [January 26, 2021, 3:36pm UTC](https://discourse.julialang.org/t/what-happened-to-linearalgebra-full/53984/3 "2021-01-26T15:36:01Z")

</div>

As far as I know, you might consider `Matrix(x)` to be the replacement for `full(x)`. I am not positive, but I think `full` was removed in 1.0 in favor of `Matrix`, which is clearer. To be clear, `Array` also works, just sharing `Matrix` as somebody who often wants to convert special structures into regular dense matrices while debugging and stuff.
