Tag Info

New answers tagged

6

There are some doubts about using SaveDefinitions (1), (2), so let's implement brute force approach which may be used later automaticaly. Scheme Needs @ yourPackage (*a*) CDFDeploy[...]& @ With[{ source = (text content of the package, encoded or whatever) (*b*) }, DynamicModule[{ ... }, ... , Initialization:>( Get[#]& @ ...


2

Just use the same syntax as in your link: SUNTrace[Commutator[SUNT[SUNIndex[a]], SUNT[SUNIndex[b]]] Commutator[ SUNT[SUNIndex[c]], SUNT[SUNIndex[d]]], Explicit -> True] EDIT: Addressing additional question from OP's comments The thing is that if you write SUNTrace[SUNT[SUNIndex[a]].SUNT[SUNIndex[b]].SUNT[SUNIndex[c]].SUNT[SUNIndex[d]‌​], ...


2

I was able to generate one instance (the all-zeros solution) but FindInstance refuses to generate 2 or more for me (v10.1) using the final argument, despite copious solutions existing. Horrible hack incoming in 3... 2... 1: (* N.B I removed your greek and the sphere constraint is now `Ball`. If you only want the surface of the sphere, then `Sphere` is ...



Top 50 recent answers are included