Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #2610

Re: Convert Matrix to Sparse Matrix

From SigmundV <sigmundv@gmail.com>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Convert Matrix to Sparse Matrix
Date 2011-05-22 10:53 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <irapur$lke$1@smc.vnet.net> (permalink)
References <ir5g68$svj$1@smc.vnet.net>

Show all headers | View raw


On May 20, 12:35 pm, Dominic W=F6rner <dominic.woer...@mpi-hd.mpg.de>
wrote:
> Hi,
>
> I have big matrices with many zero elements. Calculating with them is
> very slow and I thought I could speed up the computations by converting
> them into sparse arrays.
> Is there function that does what I'm looking for?

SparseArray. See http://reference.wolfram.com/mathematica/tutorial/SparseArrays-LinearAlgebra.html.

Back to comp.soft-sys.math.mathematica | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

Convert Matrix to Sparse Matrix Dominic Wörner <dominic.woerner@mpi-hd.mpg.de> - 2011-05-20 10:35 +0000
  Re: Convert Matrix to Sparse Matrix SigmundV <sigmundv@gmail.com> - 2011-05-22 10:53 +0000

csiph-web