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


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

Re: Getting an array into a C program through mathlink

From debguy <johnandsara2@cox.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Getting an array into a C program through mathlink
Date 2013-04-01 04:57 +0000
Message-ID <kjb43l$8jq$1@smc.vnet.net> (permalink)
References <khsbap$35l$1@smc.vnet.net>
Organization Time-Warner Telecom

Show all headers | View raw


my advice is to avoid mathlink because library issues cause
compatibility problems (see Wolfram problem reports).  ie after or
without upgrade it's broken for someone trying to use.

if you can accept fast but not fastest results I suggest this:

to use "exec" in C to call math binary with piped commands (we're
talking text input output) and use Put to get what into a file (can
even be forked, run in background, doing it that way).  then your
application reads file when done (fread is fast, maybe not fast as
direct read from mathlink).

most tasks can be done without ever using C.  doing some special
graphics or something?

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


Thread

Getting an array into a C program through mathlink Brentt <brenttnewman@gmail.com> - 2013-03-14 11:12 +0000
  Re: Getting an array into a C program through mathlink debguy <johnandsara2@cox.net> - 2013-04-01 04:57 +0000
  Re: Getting an array into a C program through mathlink John Fultz <jfultz@wolfram.com> - 2013-04-02 07:26 +0000
  Re: Getting an array into a C program through mathlink "John D. Hendrickson and Sara Darnell" <johnandsara2@cox.net> - 2013-04-03 08:08 +0000
  Re: Getting an array into a C program through mathlink John Fultz <jfultz@wolfram.com> - 2013-04-04 02:50 +0000
  Re: Getting an array into a C program through mathlink "John D. Hendrickson and Sara Darnell" <johnandsara2@cox.net> - 2013-04-04 17:10 +0000

csiph-web