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


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

Find position of nonzero elements

From Dominic Wörner <dominic.woerner@mpi-hd.mpg.de>
Newsgroups comp.soft-sys.math.mathematica
Subject Find position of nonzero elements
Date 2011-07-19 10:54 +0000
Organization Steven M. Christensen and Associates, Inc and MathTensor, Inc.
Message-ID <j03npq$9ub$1@smc.vnet.net> (permalink)

Show all headers | View raw


Hi,

How can I find the indices i and j of all nonzero elements of a matrix. 
I want that because there are only some nonzero elements in a huge 
matrix.

Best regards,
Dominic 

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


Thread

Find position of nonzero elements Dominic Wörner <dominic.woerner@mpi-hd.mpg.de> - 2011-07-19 10:54 +0000

csiph-web