2,995 reputation
1629
bio website
location China
age
visits member for 1 year, 8 months
seen 2 hours ago

Feel free to correct the grammar mistakes in my posts.


4h
comment Linear interpolation over 2 variables
It's hard to give suggestions without a specific code sample, can you add one?
21h
comment Derive a PDE from other PDEs
In addition, to avoid downvotes I suggest you to show your specific effort on solving this rather than just pasted the question here and vaguely said you have "read some material". BTW, you forgot to give the definition of $\rho$.
1d
awarded  Revival
1d
answered Simulation code performance tuning
1d
revised Issue with Compile
Try to improve the type setting
1d
answered Issue with Compile
1d
comment Compile with array operations
@brama Er……for example, you've used a lot of AppendTo, I'm not sure if it's because you're following the rule of thumb "the more my code inside Compile looks like C code I'd write otherwise, the more I benefit from it", but if it's what your original code looks like, you'd better set some effort on avoiding it. BTW, AppendTo is even disliked inside Compile, see this post for details. A complete discussion for this issue might need a whole book 囧, have you already read Leonid's excellent book?
1d
revised Compile with array operations
Give response to the update of OP
1d
comment Compile with array operations
@brama See my edit. (Links for CopyTensor are added above Update.)
1d
revised Compile with array operations
Give response to the update of OP
1d
revised Solving System of Nonlinear with Three Differential Equations
Add a link that might be useful.
1d
answered Solving System of Nonlinear with Three Differential Equations
1d
comment Solving System of Nonlinear with Three Differential Equations
@bobthechemist OK, let me elaborate it into an answer.
1d
comment Dsolve is not solving equation ( 3 system with 2.order diferantial equations)
I think you're looking for @b.gatessucks right? :D
2d
comment Dsolve is not solving equation ( 3 system with 2.order diferantial equations)
Well, so v9 can solve this set of equations? With v8.0.4, I only got the original input returned…
2d
comment Solving System of Nonlinear with Three Differential Equations
Then you must have once mixed up = and ==. You need Clear[Derivative]. Values stored in Derivative can't be cleared by Clear["Global`*"] because it actually means clearing all the variables under context "Global`" while Context[Derivative] gives "System`".
2d
comment Derive a PDE from other PDEs
You can refer to this post: mathematica.stackexchange.com/a/6428/1871
2d
revised Compile with array operations
Add the forgotten description for the modification
2d
revised Compile with array operations
Add the forgotten description for the modification
2d
revised Compile with array operations
added 70 characters in body