Ask Your Question
1

What is the difference between dense and sparse matrices?

asked 2012-10-24 09:04:05 -0600

SLOtoSF gravatar image

And when would I use which?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
3

answered 2012-10-24 13:44:02 -0600

Jason Grout gravatar image

Dense matrices store every entry in the matrix. Sparse matrices only store the nonzero entries. Sparse matrices don't have a lot of extra features, and some algorithms may not work for them. You use them when you need to work with matrices that would be too big for the computer to handle them, but they are mostly zero, so they compress easily.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-10-24 09:04:05 -0600

Seen: 8,946 times

Last updated: Oct 24 '12