Tagged Questions
11
votes
1answer
608 views
How to perform a complicated change of variables for a polynomial (in Mathematica)
I have an integer polynomial in four variables (w, x, y, and z) that I know can be written as an integer polynomial in these six variables:
a = w z
b = x y
c = w^3 + z^3
d = x + y
e = w^3 x + y z^3
...
5
votes
2answers
264 views
Getting a Mathematica image in Java
I am attempting to use J/Link to get an image from Mathematica to Java. I am able to print the image in Mathematica like this:
Print[ Graphics[Raster[ img[[1]] ], AspectRatio->Automatic, ...
4
votes
1answer
296 views
suggestions for a people similarity algorithm
I want to get some suggestions for my "find similar people" algorithm :). I have one database where I store the following entities: Person, article, keywords. So for each person I have a collection of ...
4
votes
2answers
183 views
How to generate diacritized vowel table automatically?
I want to have the table of vowels with diacritics, but don't want to search symbol tables manually.
Is it possible to generate this table by crossing the list of vowels and the list of diacritics ...
4
votes
1answer
358 views
Calling ImageJ from Mathematica
From Mathematica, I wish to pass an image to an ImageJ plugin and get the result sent from ImageJ to Mathematica.
JLink is the tool that will help, but I am familiar neither with it nor with ImageJ ...
3
votes
6answers
734 views
Recurrence sequence in Java / Python / Mathematica
How can you write the following statement in the given languages?
a(0) = 1
a_(n+1) = 1 - 1 / ( a_n + 3)
I need to find the smallest value of n when a_n -> 0.732050....
My attempt in Mathematica
...
3
votes
2answers
872 views
Mathematica & J/Link: Memory Constraints?
I am doing a computing-intensive benchmark using Mathematica and its J/Link Java interface.
The benchmark grinds to a halt if a memory footprint of about 320 MB is reached, since this seems to be the ...
3
votes
2answers
479 views
Java and Mathematica interaction
How can I use Java within Mathematica?
I have two files,GRASP.nb and GRASP.java, in the same folder (BTW: GRASP=greedy randomized adaptive search procedure). The GRASP.java file contains a method ...
3
votes
4answers
247 views
Which one of C# and Java is more easy and fast when interfacing with Statistics/Simulation Softwares?
First, I know almost nothing about the interfacing of this type and this is the first time, I'm trying it out. I am looking to use one of the Statistics/Simulation software either Maple or Mathematica ...
3
votes
5answers
751 views
Stitch together images with exactly matching (pixel to pixel) overlaps
I have a bunch of images in a folder that are effectively just pieces of one image that was broken into overlapping parts. How can I quickly and programmatically recombine these images to create the ...
2
votes
1answer
618 views
Calling java project from Mathematica
Could you please give me a hint how can I invoke a java project (written in eclipse) from Mathematica? I want to give values generated by my Mathematica program as input to a java project, and use the ...
2
votes
1answer
1k views
Why doesn't the array() method of MappedByteBuffer work?
I am very new to Java, and trying to use Mathematica's Java interface to access a file using memory mapping (in hope of a performance improvement).
The Mathematica code I have is (I believe) ...
2
votes
2answers
525 views
Mathematica, J/LINK, JNI, .dll
I am trying to get a Java method to work via J/Link from Mathematica. The problem is that the method calls a JNI (.dll file). Outside of Mathematica from the command line, all works great. But calling ...
2
votes
2answers
959 views
Mathematica's “Disable Dynamic” dialog kills Java
I use Mathematica with JLink for a research project, which involves a lot of computation. Mathematica is used as a graphical frontend for entering the parameters, and later plotting the results. The ...
1
vote
5answers
852 views
Random numbers Mathematica vs Java
Which set is more "random"?
Math.random() for Java or random for Mathematica? Java is in blue, Mathematica in red.
numbers are from 0 to 50 (51?)
EDIT:
It's a histogram generated in Mathematica.
...