Reputation
Top tag
Next privilege 5,000 Rep.
Approve tag wiki edits
Badges
1 14 49
Impact
~56k people reached

Jan
31
revised Why Plot3D shows differently with almost the same data
added 33 characters in body
Jan
29
comment Playing a sound gives errors in Mathematica 10.3
@OleksandrR. So I can expect this post to be reopened now : )
Jan
29
comment Playing a sound gives errors in Mathematica 10.3
@m_goldberg Sorry for late reply. I found the cause and updated my post.
Jan
29
revised Playing a sound gives errors in Mathematica 10.3
added 231 characters in body
Jan
27
asked Playing a sound gives errors in Mathematica 10.3
Jan
20
comment How to convert Graphics3D object into an Image3D object?
@R.M. Because we can use Manipulate to inspect a 3D object slice by slice?
Jan
20
comment How to rasterize a Graphics3D expression into an Image3D?
But if you want generate image3d from such as DensityPlot3D, this can be done by calculating the data on a regular mesh first, and using Image3D[data] to generate 3d object
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
Evaluated->False is undocumented??!!
Jan
20
comment How to rasterize a Graphics3D expression into an Image3D?
5 months passed, there is still no solution to this? Unbelievable. I think your question is very useful, it is not getting enough attention.
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
Wow, Evaluated -> False works, thank you so much. But why it works? Also I tested some simple listable lib function, they don't need Evaluated -> False
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
I know. But what I mean is that my listable lib function is not producing correct DenstiyPlot. see here postimg.org/image/m7wm9jxt3 and this is strange because I cannot reproduce this bug using simple example
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
there is only one issue, I found strange. The transformed listable version seems not working properly in such as DensityPlot or Plot3D. But anyway, we still have the original pure librarylink version, so this is not a pain.
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
I think this approach is general. since I have successfully turn one of my librarylink function with 9 real input and a real list return into a Listable one. It works perfectly, use all available cpu threads and the transformation is so easy! I would like to call this method, a Mathematica style "openMP". Though this is a simplified version of openMP, with lesser user control, but it is really easy to implement without considering factors such as share and private, data racing issue..etc
Jan
20
accepted Is it possible for librarylink function to be Listable like that in Compile?
Jan
20
comment Is it possible for librarylink function to be Listable like that in Compile?
You are genius, halirutam ! +10 : )
Jan
19
revised Why Plot3D shows differently with almost the same data
deleted 25 characters in body
Jan
19
comment Why is a LibraryLink function, which returns a list, not parallelizing with ParallelTable?
@Szabolcs and DistributeDefinitions[lib] first also didn't work
Jan
19
comment Why is a LibraryLink function, which returns a list, not parallelizing with ParallelTable?
@Szabolcs Let me try it. But I am a question maybe not relevant. I often got errors like "CopyFile::filex: "Cannot overwrite existing file "C:......\\ Windows-x86-64\\ returnlist.dll"", and I tried to LibraryUnload[lib] and it will show "LibraryFunction::unloadlib: "The library \!(\"C:\\.....\\Windows-x86-64\\\\returnlist.dll\") cannot be unloaded. " What is wrong, How to avoid this? Currently, I have to restart Kernel to get the library create and load again correctly
Jan
19
comment Why is a LibraryLink function, which returns a list, not parallelizing with ParallelTable?
@Szabolcs Full path didn't work. What do you mean by using $LibraryPath?
Jan
19
comment Why is a LibraryLink function, which returns a list, not parallelizing with ParallelTable?
@Szabolcs You mean like this ParallelEvaluate[ returnlist = LibraryFunctionLoad[lib, "returnlist", {Real}, {Real, 1}]]; ? But I got errors like "LibraryFunction::noopen: Cannot open lib."