Macaulay2 » Documentation
Packages » PathSignatures :: substitute(Path,Ring)
next | previous | forward | backward | up | index | toc

substitute(Path,Ring) -- changes the coefficient ring of a path

Description

Tries to substitute the coefficients of the polynomials defining the given path into the given ring, producing a new path.

i1 : R = QQ[t];
i2 : X = polyPath({t,t^2})

o2 = Path in 2-dimensional space with 1 polynomial segment:

           2
     {{t, t }}

o2 : Path
i3 : coefficientRing X

o3 = QQ

o3 : Ring
i4 : A = QQ[a];
i5 : Y = substitute(X,A)

o5 = Path in 2-dimensional space with 1 polynomial segment:

           2
     {{t, t }}

o5 : Path
i6 : coefficientRing Y

o6 = A

o6 : PolynomialRing

Ways to use this method:


The source of this document is in PathSignatures/documentation.m2:380:0.