Ophion
Reputation
Top tag
Next privilege 250 Rep.
 Jul 18 accepted Efficient way to give symbolic elements symmetry Feb 15 awarded Commentator Feb 15 comment Efficient way to give symbolic elements symmetry I did, and in brief test worked great! Unfortunately it would take a rewrite of the entire program to implement. It seems that there would be a simple way to do the above, but I could be wrong. Feb 15 revised Efficient way to give symbolic elements symmetry added 109 characters in body Feb 15 asked Efficient way to give symbolic elements symmetry Feb 7 comment Replacing values of a function Ah I was reading that as del /: del[i_, j_] ^= del[i, j]. One additional question, is there any benefit to the above over something like del[i_, j_]^_ := del[i, j] without the del /:? Feb 7 accepted Noticeable slowdown in graphical performance when using manipulate Feb 7 comment Replacing values of a function This is pretty close to what I came up with. The /: and Notation is a neat trick and will definitely clean up the code some. I am curious though why del /: del[i_, j_]^_ := del[i, j]; is necessary? Feb 7 awarded Scholar Feb 7 accepted Replacing values of a function Feb 7 comment Replacing values of a function This works really well with some tweaking! One thing that I am confused about is if I set the KD string to a variable and then: simplifyKD[Module[{x, y}, A[{x}, {y}]*(KDstring)] This does not work. Its easy to work around, but interesting that its a problem. Feb 6 revised Replacing values of a function added 351 characters in body Feb 6 comment Replacing values of a function That example works well for two variables, but seems to break down for many variables (10+) and gives UnitStep functions which shouldnt be. Feb 6 comment Replacing values of a function @Xerxes My understanding points towards these functions being used to compute numerical expressions within Mathematica. I am trying to use Mathematica to generate symbolic expressions that will be used by another program. Feb 6 comment Replacing values of a function @DanielLichtblau (1)The deltas when applied to an operator in this way is similar to saying if x replace with a1 or if a1 replace with x in the example KD[x,a1]. The formalism is designed so that you will not have these issues. (2)It does not exist, I was trying to supply at least something that I thought of. Feb 6 revised Replacing values of a function added 44 characters in body Feb 6 asked Replacing values of a function May 29 comment Noticeable slowdown in graphical performance when using manipulate Yes, the rotation of the 3D graph is extremely slow especially when the surfaces have more points (2000+). Turning off anti-aliasing is the first thing I tried to almost no effect. Each individual component runs smoothly but when using show to combine the two it slows down considerably. If I use a prebuilt molecule and surface then use show there is no slowdown of the rotation. However using prebuilt molecules and surfaces in addition to the manipulate command slows the demonstration. I am trying to eliminate this problem- its most likely an issue with re-evaluating the vector image. May 28 comment Noticeable slowdown in graphical performance when using manipulate Posted a full example. The techniques you stated helped some, but still not to a workable extent. Can you expand on where to add the print statements? May 28 awarded Supporter