2022-09-21 22:18:44 +0200 | received badge | ● Popular Question (source) |
2020-02-05 10:09:21 +0200 | received badge | ● Nice Question (source) |
2020-02-05 00:22:20 +0200 | answered a question | How are symbolic derivatives composed in quaternions? With this demonstration of 'LatexExpr' you have given me all the answers I need. Thanks, rburing! Looking around, I have found Sage, LaTeX and Friends (https://doc.sagemath.org/html/en/tuto...) LaTeX macros (https://doc.sagemath.org/html/en/refe...) and Using SageTeX (https://doc.sagemath.org/html/en/tuto...). None of them contain the string "LatexExpr." If you can suggest documentation for it, I would appreciate seeing it, but I now consider this question answered. If I can figure out how to upvote or thumbs-up your avatar, I will do so. |
2020-02-04 23:33:41 +0200 | commented question | How are symbolic derivatives composed in quaternions? I get two lines. The first is equivalent to what you have suggested, but in 3 dimensions. The second is the LaTeX massaging of a comparable formula, the kind of result I would dearly love to produce in the quaternion example. (Quaternions are the natural 'coordinates' for describing Maxwell's Equations and related physics.) [This continuation is necessary because I hit the maximum number of characters in the preceding post.] |
2020-02-04 23:29:12 +0200 | commented question | How are symbolic derivatives composed in quaternions? That is a big step in the right direction! The individual function components make it through the operator. Perhaps I am asking too much, but here is a script implementing your change (now in 3 dimensions) and generating two lines of output. When I run this script, I get two lines... |
2020-02-04 22:14:10 +0200 | received badge | ● Student (source) |
2020-02-04 22:04:45 +0200 | asked a question | How are symbolic derivatives composed in quaternions? The scripts below were run in: Sage Cell Server, version: 'SageMath version 9.0, Release Date: 2020-01-01' I am a new user of SageMath. I have previously used math packages, but SageMath is above and beyond all I have encountered before. It also has remarkably comprehensive documentation. In particular I have found Vector calculus with SageMath and Sage Reference Manual: Quaternion Algebras (insufficient karma to post links). I note that the latter is dated Jan 01, 2020. The examples below are drawn from those two sources. I am searching for calculus tools in the quaternion algebra package. I want to do something like this, which works in EuclideanSpace: This is as close as I have gotten with quaternions: This is the correct quaternion result, but I want to change the declaration of "b" so that I get something like (-d(f)/dy) * k. Here are the problems that concern me. I hope there is presently a solution within SageMath. Please adapt the second script or give me an example script. If not, I am reasonably competent with Python 3. If someone can give me links to the relevant source for the EuclideanSpace methods of "grad" and "function" and to the QuaternionAlgebra source for "diff," I may be able to add a method or two to the QuaternionAlgebra implementation and advance the development of that part of the system, or at least register myself as a beta-tester. Thanks very much for any help you can give me! |