MathGroup Archive 2006

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

Search the Archive

MathLink and SparseArray


[This post has been delayed due to email problems - moderator]


Hi there,

I have been using mathematica and C++  for analyising Markov processes,
mostly
represented with sparse matrices. So far, I've  been
exporting/importing the matrices
into a file to pass the information between mathematica and programs in
c++.
I am using external code due to performance reasons.

Is there any way I can avoid the exporting/importing process by, for
example,
using a non-documented function like MLGetRealSparseArray..., or any
way of
accessing the internal representation of the SparseArray (compressed
row format)?

The matrices i am working with are square and very sparse (<1%
non-zero) but
with millions of entries...

many thanks in advance for any advice,

  J.M.Martinez
  Ph.D. student at University of Twente, the Netherlands.


  • Prev by Date: Named Formats? (followup question)
  • Next by Date: mathematica
  • Previous by thread: Named Formats? (followup question)
  • Next by thread: Re: MathLink and SparseArray