promote(f,R)Promote the given ring element or matrix f to an element or matrix of R, via the natural map to R. This is semantically equivalent to creating the natural ring map from ring f --> R and mapping f via this map.
|
|
|
|
|
|
For promotion of ring elements, there is the following shorter notation.
|
If you wish to promote a module to another ring, either promote the corresponding matrices, use the natural ring map, or use tensor product of matrices or modules.
|
|
|
|
|
|
|
Prior to version 1.26.05, promotion of real numbers to rational numbers was accomplished by using all of the bits of the internal representation. This feature was removed since there is no natural map from $\RR\to\QQ$. However, this functionality is still available using the unexported function internalRepresentation.
|
|
|
|
|
|
The object promote is a method function.
The source of this document is in /build/reproducible-path/macaulay2-1.26.05+ds/M2/Macaulay2/packages/Macaulay2Doc/functions/promote-doc.m2:173:0.