Wolfram Mathematica

Welcome! This is the main Mathematica chat room for mathematic...
Aug 25, 2016 15:10
Aug 25, 2016 15:10
In addtion, when I compile the source code without the header file string.h, Mathematica gives me a correct DLL file. Very odd!
Aug 25, 2016 15:05
The Visual Studio gives the suggestion memory.h, while when I google the keyword memcpy, I found that the corresponding header file is string.h. Any suggestion?
Aug 25, 2016 15:03
Aug 25, 2016 15:03
Hi, everyone. Did someone know which header file I should add when using C fucntionmemcpy()?
Aug 22, 2016 01:34
1
Q: Two knot-removal function for curve and surface

Shutao TangRecently, I have been using the Wolfram LibraryLink wrapper. By that technique, I could call the function written in C from Wolfram Mathematica. Here are two C wrapper functions, BSplineCurveKnotsRemoveAll() and BSplineSurfaceKnotsRemoveAll(): BSplineCurveKnotsRemoveAll(P,U,p,TOL) removes as m...

Aug 22, 2016 01:34
@Szabolcs Hi, I would like to ask you a question about the C function refactor. Rencently, I wrote two similar C functions wrapper called BSplineCurveKnotsRemoveAll[] and BSplineSurfaceKnotsRemoveAll[] for curve and surface, respectively. I would like to merge them to a C function BSplineKnotsRemoveAll[], any suggestion? About the detail, please see the following question. Thanks:)
Aug 15, 2016 15:28
Aug 15, 2016 15:27
@Szabolcs Hi, I have applied your method to my package to return the second result. Thanks a lot :) Please see the below snapshot.
Aug 14, 2016 09:45
My university library only buy the journal after 1996.
Aug 14, 2016 09:43
Hi, guys!I wanna know could someone download this papaer?
Aug 11, 2016 14:55
Aug 9, 2016 09:08
Aug 9, 2016 09:07
Does Mathematica 11 using the new programming font?
Aug 8, 2016 06:54
Hi, everyone, today I encountered a problem when using RegionDifference[].
Aug 5, 2016 13:35
@JasonB THX, I change the url to end with "dl=1", but I got same error:) Maybe In China I cannot use the Dropbox.
Aug 5, 2016 08:34
@Pickett I cannot open the address in the browser, because I cannot use that Dropbox site in China:(. I uploaded that files via happy fish's help.
Aug 5, 2016 08:08
Aug 5, 2016 08:07
Import["https://www.dropbox.com/s/fharox7oep45ymt/pts.xls?dl=0"]
Aug 5, 2016 08:07
Could someone help me test the following code?
Aug 5, 2016 08:07
Guys! Good afternoon:)
Aug 3, 2016 09:08
Aug 3, 2016 09:08
@halirutan According to my experience, the sampling strategy ParametricPlot3D[] and BSplineSurface[] is different.
Aug 3, 2016 09:05
Aug 3, 2016 09:02
@halirutan Your method is very like built-in. Thanks:). In addtion, I have tested J.M. 's method just now, I think it is a little time-consuming.
Aug 3, 2016 03:35
@J.M. Please see this comment
Aug 3, 2016 03:29
Aug 3, 2016 03:28
@J.M. I tried the primitive style EdgeForm[Blue], which given me the following result:
Aug 3, 2016 03:17
Aug 3, 2016 03:16
Graphics3D[
GraphicsComplex[(*3D points*)data[[1]],(*Polygon[]*)polygons,
data[[3]](*VertexNormals*)]]
Aug 3, 2016 03:15
pts = Table[{ Cos[2 Pi u/6] Cos[v], Sin[2 Pi u/6] Cos[v], v}, {u, 6}, {v, -1, 1, 1/2}];
f = BSplineFunction[pts];
graph = ParametricPlot3D[f[u, v], {u, 0, 1}, {v, 0, 1}, Mesh -> None];
data = FirstCase[graph, _GraphicsComplex];
polygons = Cases[data, _Polygon, Infinity];
Aug 3, 2016 03:15
Hi, guys. Did someone know how to remove the mesh of the following graphic?
Jul 31, 2016 09:01
Jul 31, 2016 09:00
Hello, everyone. Did someone know how to achieve the data of the following classical model?
Jul 28, 2016 05:56
@J.M. Hi, J.M., I sent an email to you just now.
Jul 20, 2016 13:17
I use the MinGW compiler owing to that the Visual Studio 2012 compiler cannot compile the right code.
Jul 20, 2016 13:15
Jul 20, 2016 13:12
Hi, guys! Good evening:) Did someone know how to call the MinGW compiler when using CreateLibrary[] ?
Jul 19, 2016 13:31
@Szabolcs Thanks. In general, I know the function declaration is written in a separate *.h file.
Jul 19, 2016 08:52
I know putting struct first, then function declaration could deal with it, but obviously which is not a good solution.
Jul 19, 2016 08:50
Jul 19, 2016 08:50
Hello, everyone, I would like to how to deal with the following question? Thanks!
Jul 14, 2016 14:12
@kirma I think it is very useful for me to learn C, because I have learnt the basic mathematical theoy, such as advanced mathematics, numerical analysis, etc.
Jul 14, 2016 14:04
@kirma Got it. Thanks a lot for your help.:)
Jul 14, 2016 13:59
Jul 14, 2016 13:57
@kirma The main compiler in my laptop is MinGW, howeverm I cannot find the math.cfile via windows search operation.
 

 The 2nd Monitor

General discussion about codereview.stackexchange.com - Welcom...
Jul 19, 2016 08:48
@DanPantry @Pimgd Oh, I am sorry:)
Jul 19, 2016 08:46
Jul 19, 2016 08:46
Hello, everyone, I would like to how to deal with the following question? Thanks!