First  |  Prev |  Next  |  Last
Pages: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
Accessing static members with J/Link
I'm trying to learn how to use J/Link, and I have run into an elementary (I hope) problem when I try to access static methods and fields. For example, the Java Math class has static fields for E and PI and a number of static methods, abs() among them. Here's what happens when I try to use them: My inputs: ... 16 Jul 2010 05:33
Printing part of table
Is there anything like Print[hugetable,{10}] which would show the first 10 elements of hugetable? One can do it by making a new table but there should be an immediate way. Steve Gray ... 15 Jul 2010 03:24
Using GatherBy, Select, and Sort to process data.
The two code snippets below were my attempt to process some data. Recommendations about how to improve this and pointers to relevant references are sought. I did a few searches on the site to find similar examples, but didn't find anything similar. Regards =======================================================... 14 Jul 2010 06:35
Templates from Usage Messages
I would like to have a form of input arguments that contain operational symbols as well as variables, and especially I would like to use the Span operation. Here is an example: foo::usage = "foo[a, b;;c] will operate on structure a between parts b and c."; foo[a_, (b_Integer?Positive) ;; (c_Integer?... 16 Jul 2010 05:33
Mathematica link to a c++ lib
Hello all, I am not a Mathematica 's user but I remember it during my phd thesis about 8 years ago . Now I am just asking you some feedback about the possibility for Mathematica to link itself to a C++ lib and use it inside the notebook. If I remember well there is a MathLink which can be usded but it is just f... 15 Jul 2010 03:24
Primitive Disk Gradient Fills in Graphics
On 13 Jul., 11:28, Murta <rodrigomur...(a)gmail.com> wrote: Hello All There is really no way to do a simple gradient fill inside a disk in Mathematica? I'm working in a BubbleChart, and would like to make a graphics disk using ChartElements, going to color x to transparent using opacity. ... 20 Jul 2010 03:45
Primitive Disk Gradient Fills in Graphics
Hello All There is really no way to do a simple gradient fill inside a disk in Mathematica? I'm working in a BubbleChart, and would like to make a graphics disk using ChartElements, going to color x to transparent using opacity. I get surprised to see that there is no way to work with gradient fill in... 14 Jul 2010 06:35
File names and strings
I have a folder like this: (SetDirectory is correctly set.) FileNames[] {Linkmax-n=06-3457873882.nb, (* This is a list of strings. *) Linkmax-n=06-3487762236.nb, Linkmax-n=07-3457879999.nb, Linkmin-n=06-3457873882.nb, Linkmin-n=06-3487762236.nb, Linkmin-n=07-3457879999.nb, Link-n=07, ... 14 Jul 2010 06:35
Division by zero Optimization
Dear all, In order to avoid division by zero I have write the flowing simply code : divideWithThreoshold[ai_,bi_]:= If[bi<0.1,0,ai/bi] ; DivideWithThreoshold[a_,b_]:= MapThread[divideWithThreoshold,{a,b}] Since I have to apply this operation to very large lists, can give me some suggestion how to optimize t... 13 Jul 2010 06:30
Restricting file type with SystemDialogInput
I would like to use SystemDialogInput with FileOpen, but restrict the type of file the user may select. For example, only allow the user to select files like "*.csv". Is there a way to do this? Nate ... 14 Jul 2010 06:35
First  |  Prev |  Next  |  Last
Pages: 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31