Douglas Blumeyer's RTT How-To: Difference between revisions

Cmloegcmluin (talk | contribs)
canonical form: remove statement about Wolfram computational notebooks
Cmloegcmluin (talk | contribs)
more on duals: computational, not computable
Line 1,529: Line 1,529:
# Even terms become <span><math>+</math></span>'s and odd terms become <span><math>-</math></span>'s.
# Even terms become <span><math>+</math></span>'s and odd terms become <span><math>-</math></span>'s.


Alternatively, you can just use this Wolfram Language computable notebook, which can calculate duals for you. It's a little trickier than other Wolfram Language tools shared here. I've basically recreated the multi(co)vector form in Wolfram with a tuple type where the first element is your multi(co)vector as a list of its terms, and the second element is its grade and variance. Variance<ref>(Multi)covectors are covariant, while (multi)vectors are contravariant. This has to do with how vectors vary with respect to the system's units. Covectors vary in the same direction as the units, hence the co- prefix meaning "with", while (contra)vectors vary in the opposite direction to the units, hence the contra- prefix meaning "against".</ref> basically means which side of duality it is on. So variance is encoded via the sign of the grade, i.e. if this is a multivector, the grade is positive, and if it is a multicovector, then the grade is negative<ref>If the grade is zero, you probably don't need this tool, but it is capable of handling this case! When the grade is zero, it has no way to figure the dimensionality of the system (in other cases it calculates it based on the lenght of the multi(co)vector), so you must provide that yourself. So as a second argument, simply provide the grade and variance of the target dual. For example, if you have the multivector for JI (where nothing is tempered out), {{1}, 0}, there's no way to tell what prime limit you're in; so if you're in 5-limit, you would use dual[{{1}, 0}, -3], because you know the grade of the dual multicovector is 3 and it should be negative because multicovectors encode their variance as a negative sign on the grade here. One last point here: multi(co)vectors with grade 0 are neither covariant nor contravariant, in other words they are neither covectors nor vectors; they are simply scalars, and so you can actually call this like dual[{1, 0}, -3] if you prefer.</ref>. Again, grade is just generic rank or nullity, so it will simply be the count of brackets of your multi(co)vector.
Alternatively, you can just use this Wolfram Language computational notebook, which can calculate duals for you. It's a little trickier than other Wolfram Language tools shared here. I've basically recreated the multi(co)vector form in Wolfram with a tuple type where the first element is your multi(co)vector as a list of its terms, and the second element is its grade and variance. Variance<ref>(Multi)covectors are covariant, while (multi)vectors are contravariant. This has to do with how vectors vary with respect to the system's units. Covectors vary in the same direction as the units, hence the co- prefix meaning "with", while (contra)vectors vary in the opposite direction to the units, hence the contra- prefix meaning "against".</ref> basically means which side of duality it is on. So variance is encoded via the sign of the grade, i.e. if this is a multivector, the grade is positive, and if it is a multicovector, then the grade is negative<ref>If the grade is zero, you probably don't need this tool, but it is capable of handling this case! When the grade is zero, it has no way to figure the dimensionality of the system (in other cases it calculates it based on the lenght of the multi(co)vector), so you must provide that yourself. So as a second argument, simply provide the grade and variance of the target dual. For example, if you have the multivector for JI (where nothing is tempered out), {{1}, 0}, there's no way to tell what prime limit you're in; so if you're in 5-limit, you would use dual[{{1}, 0}, -3], because you know the grade of the dual multicovector is 3 and it should be negative because multicovectors encode their variance as a negative sign on the grade here. One last point here: multi(co)vectors with grade 0 are neither covariant nor contravariant, in other words they are neither covectors nor vectors; they are simply scalars, and so you can actually call this like dual[{1, 0}, -3] if you prefer.</ref>. Again, grade is just generic rank or nullity, so it will simply be the count of brackets of your multi(co)vector.


{| class="wikitable"
{| class="wikitable"