# Making the result of \`nullspace\` sparse

**URL:** https://discourse.julialang.org/t/making-the-result-of-nullspace-sparse/71310
**Category:** Numerics
**Tags:** linearalgebra, sparse
**Created:** [November 11, 2021, 7:11am UTC](https://discourse.julialang.org/t/making-the-result-of-nullspace-sparse/71310 "2021-11-11T07:11:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jchen975](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jchen975/32/8994_2.png) [@jchen975](https://discourse.julialang.org/u/jchen975)
#### Post date: [November 11, 2021, 7:11am UTC](https://discourse.julialang.org/t/making-the-result-of-nullspace-sparse/71310/1 "2021-11-11T07:11:14Z")

</div>

Is it possible to make the result of `LinearAlgebra.nullspace` as sparse as possible? How about when using the package Nemo for sparse matrices over \mathbb{R}?

Regardless of whether or not this is possible, what would be the theory behind this? From the documentation of `LinearAlgebra.nullspace`, it’s based on the SVD of the matrix, but I’m not sure where the sparsity would come in, if that’s even possible.

Thanks!

---

<div class="post-metadata">

### Author: ![thofma](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/thofma/32/1691_2.png) [@thofma](https://discourse.julialang.org/u/thofma)
#### Post date: [November 12, 2021, 12:22pm UTC](https://discourse.julialang.org/t/making-the-result-of-nullspace-sparse/71310/2 "2021-11-12T12:22:07Z")

</div>

> [@jchen975](#):
>
> Is it possible to make the result of `LinearAlgebra.nullspace` as sparse as possible? How about when using the package Nemo for sparse matrices over \mathbb{R}?

I just wanted to point out, that Nemo unfortunately does not have support for sparse matrices.
