Timeline for Writing (differential) operators [duplicate]
Current License: CC BY-SA 4.0
15 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jun 16, 2020 at 9:23 | history | edited | CommunityBot |
Commonmark migration
|
|
May 4, 2018 at 9:43 | vote | accept | Gladaed | ||
May 4, 2018 at 9:29 | history | closed |
Carl Woll m_goldberg eyorble MarcoB Henrik Schumacher |
Duplicate of Having the derivative be an operator, How to write a differential operator in Mathematica | |
May 4, 2018 at 0:04 | answer | added | vi pa | timeline score: 3 | |
May 3, 2018 at 19:13 | history | edited | Carl Woll | CC BY-SA 4.0 |
spelling
|
May 3, 2018 at 19:11 | answer | added | Carl Woll | timeline score: 4 | |
May 3, 2018 at 18:35 | history | edited | m_goldberg | CC BY-SA 4.0 |
Routine clean-up
|
May 3, 2018 at 15:59 | review | Close votes | |||
May 4, 2018 at 9:29 | |||||
May 3, 2018 at 15:42 | comment | added | Bob Hanlon |
I did not understand that the s Cot[\[Theta]] was supposed to be multiplied by the argument. Just change to (-Derivative[0, 0, 1, 0][#] + I/Sin[\[Theta]] Derivative[0, 0, 0, 1][#] + s Cot[\[Theta]] #) &[ SphericalHarmonicY[l, m, \[Theta], \[Phi]]] There is no 0&
|
|
May 3, 2018 at 15:41 | history | rollback | AccidentalFourierTransform |
Rollback to Revision 2
|
|
May 3, 2018 at 15:35 | comment | added | Gladaed | @BobHanlon it appears that you missed 's Cot[[Theta]] #', which seems to throw a monkey wrench into your solution since it somehow cant evaluate this. (it outputs (0&) at the end of each result). Full line: Y[s_, l_, m_, [Theta]_, [Phi]_] := Simplify[(-1)^ s Sqrt[(l + s)!/(l - s)!] (-Derivative[0, 0, 1, 0][#] + I/Sin[[Theta]] Derivative[0, 0, 0, 1][#] + s Cot[[Theta]] Derivative[0, 0, 0, 0][#]) & [ SphericalHarmonicY[l, m, [Theta], [Phi]]], Assumptions -> {-l <= s <= 0, -[Pi] <= [Phi] <= [Pi], 0 < [Theta] < [Pi]}]; | |
May 3, 2018 at 15:19 | history | edited | Gladaed | CC BY-SA 4.0 |
added solution
|
May 3, 2018 at 15:09 | comment | added | Bob Hanlon |
You need to write the operator as a pure function and enclose its argument in square brackets: (-Derivative[0, 0, 1, 0][#] + I/Sin[\[Theta]] Derivative[0, 0, 0, 1][#] + s Cot[\[Theta]]) & [ SphericalHarmonicY[l, m, \[Theta], \[Phi]]]
|
|
May 3, 2018 at 14:30 | history | edited | Gladaed | CC BY-SA 4.0 |
added 159 characters in body
|
May 3, 2018 at 14:22 | history | asked | Gladaed | CC BY-SA 4.0 |