MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Convert Matrix to Sparse Matrix

  • To: mathgroup at smc.vnet.net
  • Subject: [mg119099] Re: Convert Matrix to Sparse Matrix
  • From: SigmundV <sigmundv at gmail.com>
  • Date: Sun, 22 May 2011 06:52:02 -0400 (EDT)
  • References: <ir5g68$svj$1@smc.vnet.net>

On May 20, 12:35 pm, Dominic W=F6rner <dominic.woer... at 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.


  • Prev by Date: Re: unable to import csv-Data
  • Next by Date: Re: Series[log[x], {x, 0, 3}]
  • Previous by thread: Re: Convert Matrix to Sparse Matrix
  • Next by thread: NDSolve with NIntegrate for a PDE where the unknown function is integrated wrt its variables