login  home  contents  what's new  discussion  bug reports     help  links  subscribe  changes  refresh  edit

Edit detail for SandBox42 revision 4 of 10

1 2 3 4 5 6 7 8 9 10
Editor: endymion
Time: 2008/08/10 20:14:21 GMT-7
Note:

changed:
-1:A
1::A

fricas
(1) -> )show SparseUnivariatePolynomial
SparseUnivariatePolynomial(R: Join(SemiRng,AbelianMonoid)) is a domain constructor Abbreviation for SparseUnivariatePolynomial is SUP This constructor is not exposed in this frame. ------------------------------- Operations --------------------------------
?*? : (R, %) -> % ?*? : (%, R) -> % ?*? : (%, %) -> % ?*? : (PositiveInteger, %) -> % ?+? : (%, %) -> % ?=? : (%, %) -> Boolean D : % -> % if R has RING ?^? : (%, PositiveInteger) -> % antiCommutator : (%, %) -> % coefficients : % -> List(R) coerce : R -> % coerce : % -> OutputForm degree : % -> NonNegativeInteger elt : (%, %) -> % elt : (%, R) -> R ground : % -> R ground? : % -> Boolean init : () -> % if R has STEP latex : % -> String map : ((R -> R), %) -> % monomial? : % -> Boolean monomials : % -> List(%) retract : % -> R unvectorise : Vector(R) -> % ?~=? : (%, %) -> Boolean ?*? : (Integer, %) -> % if % has ABELGRP or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELGRP or R has LINEXP(INT) and R has RING and Integer has ABELGRP ?*? : (NonNegativeInteger, %) -> % if % has ABELMON or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELMON or R has LINEXP(INT) and R has RING and Integer has ABELMON ?*? : (%, Integer) -> % if R has LINEXP(INT) and R has RING ?*? : (Fraction(Integer), %) -> % if R has ALGEBRA(FRAC(INT)) ?*? : (%, Fraction(Integer)) -> % if R has ALGEBRA(FRAC(INT)) ?-? : (%, %) -> % if % has ABELGRP or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELGRP or R has LINEXP(INT) and R has RING and Integer has ABELGRP -? : % -> % if % has ABELGRP or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELGRP or R has LINEXP(INT) and R has RING and Integer has ABELGRP ?/? : (%, R) -> % if R has FIELD D : (%, NonNegativeInteger) -> % if R has RING D : (%, (R -> R)) -> % if R has RING D : (%, (R -> R), NonNegativeInteger) -> % if R has RING D : (%, List(Symbol), List(NonNegativeInteger)) -> % if R has PDRING(SYMBOL) and R has RING D : (%, Symbol, NonNegativeInteger) -> % if R has PDRING(SYMBOL) and R has RING D : (%, List(Symbol)) -> % if R has PDRING(SYMBOL) and R has RING D : (%, Symbol) -> % if R has PDRING(SYMBOL) and R has RING D : (%, SingletonAsOrderedSet) -> % if R has RING D : (%, List(SingletonAsOrderedSet)) -> % if R has RING D : (%, SingletonAsOrderedSet, NonNegativeInteger) -> % if R has RING D : (%, List(SingletonAsOrderedSet), List(NonNegativeInteger)) -> % if R has RING 1 : () -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING 0 : () -> % if % has ABELMON or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELMON or R has LINEXP(INT) and R has RING and Integer has ABELMON ?^? : (%, NonNegativeInteger) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING annihilate? : (%, %) -> Boolean if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has RING associates? : (%, %) -> Boolean if % has ATVCWC and R has INTDOM or R has ENTIRER associator : (%, %, %) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has RING binomThmExpt : (%, %, NonNegativeInteger) -> % if % has COMRING characteristic : () -> NonNegativeInteger if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has RING charthRoot : % -> Union(%,"failed") if % has CHARNZ and R has PFECAT or R has CHARNZ coefficient : (%, List(SingletonAsOrderedSet), List(NonNegativeInteger)) -> % coefficient : (%, SingletonAsOrderedSet, NonNegativeInteger) -> % coefficient : (%, NonNegativeInteger) -> R coerce : Integer -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has RETRACT(INT) or R has RING coerce : % -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has GCDDOM coerce : SingletonAsOrderedSet -> % if R has SRING coerce : Fraction(Integer) -> % if R has ALGEBRA(FRAC(INT)) or R has RETRACT(FRAC(INT)) commutator : (%, %) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has RING composite : (Fraction(%), %) -> Union(Fraction(%),"failed") if R has INTDOM composite : (%, %) -> Union(%,"failed") if R has INTDOM conditionP : Matrix(%) -> Union(Vector(%),"failed") if % has CHARNZ and R has PFECAT construct : List(Record(k: NonNegativeInteger,c: R)) -> % constructOrdered : List(Record(k: NonNegativeInteger,c: R)) -> % if NonNegativeInteger has COMPAR content : (%, SingletonAsOrderedSet) -> % if R has GCDDOM content : % -> R if R has GCDDOM convert : % -> InputForm if R has KONVERT(INFORM) and SingletonAsOrderedSet has KONVERT(INFORM) convert : % -> Pattern(Integer) if R has KONVERT(PATTERN(INT)) and R has RING and SingletonAsOrderedSet has KONVERT(PATTERN(INT)) convert : % -> Pattern(Float) if R has KONVERT(PATTERN(FLOAT)) and R has RING and SingletonAsOrderedSet has KONVERT(PATTERN(FLOAT)) degree : (%, List(SingletonAsOrderedSet)) -> List(NonNegativeInteger) degree : (%, SingletonAsOrderedSet) -> NonNegativeInteger differentiate : % -> % if R has RING differentiate : (%, NonNegativeInteger) -> % if R has RING differentiate : (%, (R -> R)) -> % if R has RING differentiate : (%, (R -> R), NonNegativeInteger) -> % if R has RING differentiate : (%, List(Symbol), List(NonNegativeInteger)) -> % if R has PDRING(SYMBOL) and R has RING differentiate : (%, Symbol, NonNegativeInteger) -> % if R has PDRING(SYMBOL) and R has RING differentiate : (%, List(Symbol)) -> % if R has PDRING(SYMBOL) and R has RING differentiate : (%, Symbol) -> % if R has PDRING(SYMBOL) and R has RING differentiate : (%, (R -> R), %) -> % if R has RING differentiate : (%, SingletonAsOrderedSet) -> % if R has RING differentiate : (%, List(SingletonAsOrderedSet)) -> % if R has RING differentiate : (%, SingletonAsOrderedSet, NonNegativeInteger) -> % if R has RING differentiate : (%, List(SingletonAsOrderedSet), List(NonNegativeInteger)) -> % if R has RING discriminant : % -> R if R has COMRING discriminant : (%, SingletonAsOrderedSet) -> % if R has COMRING divide : (%, %) -> Record(quotient: %,remainder: %) if R has FIELD divideExponents : (%, NonNegativeInteger) -> Union(%,"failed") elt : (%, Fraction(%)) -> Fraction(%) if R has INTDOM elt : (Fraction(%), R) -> R if R has FIELD elt : (Fraction(%), Fraction(%)) -> Fraction(%) if R has INTDOM euclideanSize : % -> NonNegativeInteger if R has FIELD eval : (%, List(%), List(%)) -> % if R has SRING eval : (%, %, %) -> % if R has SRING eval : (%, Equation(%)) -> % if R has SRING eval : (%, List(Equation(%))) -> % if R has SRING eval : (%, List(SingletonAsOrderedSet), List(%)) -> % eval : (%, SingletonAsOrderedSet, %) -> % eval : (%, List(SingletonAsOrderedSet), List(R)) -> % eval : (%, SingletonAsOrderedSet, R) -> % expressIdealMember : (List(%), %) -> Union(List(%),"failed") if R has FIELD ?exquo? : (%, %) -> Union(%,"failed") if % has ATVCWC and R has INTDOM or R has ENTIRER ?exquo? : (%, R) -> Union(%,"failed") if R has ENTIRER extendedEuclidean : (%, %) -> Record(coef1: %,coef2: %,generator: %) if R has FIELD extendedEuclidean : (%, %, %) -> Union(Record(coef1: %,coef2: %),"failed") if R has FIELD factor : % -> Factored(%) if R has PFECAT factorPolynomial : SparseUnivariatePolynomial(%) -> Factored(SparseUnivariatePolynomial(%)) if R has PFECAT factorSquareFreePolynomial : SparseUnivariatePolynomial(%) -> Factored(SparseUnivariatePolynomial(%)) if R has PFECAT fmecg : (%, NonNegativeInteger, R, %) -> % if R has RING gcd : (%, %) -> % if R has GCDDOM gcd : List(%) -> % if R has GCDDOM gcdPolynomial : (SparseUnivariatePolynomial(%), SparseUnivariatePolynomial(%)) -> SparseUnivariatePolynomial(%) if R has GCDDOM hash : % -> SingleInteger if R has HASHABL and SingletonAsOrderedSet has HASHABL hashUpdate! : (HashState, %) -> HashState if R has HASHABL and SingletonAsOrderedSet has HASHABL integrate : % -> % if R has ALGEBRA(FRAC(INT)) isExpt : % -> Union(Record(var: SingletonAsOrderedSet,exponent: NonNegativeInteger),"failed") if R has SRING isPlus : % -> Union(List(%),"failed") isTimes : % -> Union(List(%),"failed") if R has SRING karatsubaDivide : (%, NonNegativeInteger) -> Record(quotient: %,remainder: %) if R has RING lcm : (%, %) -> % if R has GCDDOM lcm : List(%) -> % if R has GCDDOM lcmCoef : (%, %) -> Record(llcm_res: %,coeff1: %,coeff2: %) if R has GCDDOM leadingCoefficient : % -> R if NonNegativeInteger has COMPAR leadingMonomial : % -> % if NonNegativeInteger has COMPAR leadingSupport : % -> NonNegativeInteger if NonNegativeInteger has COMPAR leadingTerm : % -> Record(k: NonNegativeInteger,c: R) if NonNegativeInteger has COMPAR leftPower : (%, NonNegativeInteger) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING leftPower : (%, PositiveInteger) -> % leftRecip : % -> Union(%,"failed") if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING linearExtend : ((NonNegativeInteger -> R), %) -> R if R has COMRING listOfTerms : % -> List(Record(k: NonNegativeInteger,c: R)) mainVariable : % -> Union(SingletonAsOrderedSet,"failed") makeSUP : % -> SparseUnivariatePolynomial(R) mapExponents : ((NonNegativeInteger -> NonNegativeInteger), %) -> % minimumDegree : (%, List(SingletonAsOrderedSet)) -> List(NonNegativeInteger) minimumDegree : (%, SingletonAsOrderedSet) -> NonNegativeInteger minimumDegree : % -> NonNegativeInteger monicDivide : (%, %) -> Record(quotient: %,remainder: %) if R has RING monicDivide : (%, %, SingletonAsOrderedSet) -> Record(quotient: %,remainder: %) if R has RING monomial : (%, List(SingletonAsOrderedSet), List(NonNegativeInteger)) -> % monomial : (%, SingletonAsOrderedSet, NonNegativeInteger) -> % monomial : (R, NonNegativeInteger) -> % multiEuclidean : (List(%), %) -> Union(List(%),"failed") if R has FIELD multiplyExponents : (%, NonNegativeInteger) -> % multivariate : (SparseUnivariatePolynomial(%), SingletonAsOrderedSet) -> % multivariate : (SparseUnivariatePolynomial(R), SingletonAsOrderedSet) -> % nextItem : % -> Union(%,"failed") if R has STEP numberOfMonomials : % -> NonNegativeInteger one? : % -> Boolean if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING opposite? : (%, %) -> Boolean if % has ABELMON or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELMON or R has LINEXP(INT) and R has RING and Integer has ABELMON order : (%, %) -> NonNegativeInteger if R has INTDOM outputForm : (%, OutputForm) -> OutputForm patternMatch : (%, Pattern(Integer), PatternMatchResult(Integer,%)) -> PatternMatchResult(Integer,%) if R has PATMAB(INT) and R has RING and SingletonAsOrderedSet has PATMAB(INT) patternMatch : (%, Pattern(Float), PatternMatchResult(Float,%)) -> PatternMatchResult(Float,%) if R has PATMAB(FLOAT) and R has RING and SingletonAsOrderedSet has PATMAB(FLOAT) plenaryPower : (%, PositiveInteger) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ALGEBRA(FRAC(INT)) or R has GCDDOM pomopo! : (%, R, NonNegativeInteger, %) -> % prime? : % -> Boolean if R has PFECAT primitiveMonomials : % -> List(%) if R has SRING primitivePart : (%, SingletonAsOrderedSet) -> % if R has GCDDOM primitivePart : % -> % if R has GCDDOM principalIdeal : List(%) -> Record(coef: List(%),generator: %) if R has FIELD pseudoDivide : (%, %) -> Record(coef: R,quotient: %,remainder: %) if R has INTDOM pseudoQuotient : (%, %) -> % if R has INTDOM pseudoRemainder : (%, %) -> % if R has RING ?quo? : (%, %) -> % if R has FIELD recip : % -> Union(%,"failed") if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING reducedSystem : Matrix(%) -> Matrix(R) if R has RING reducedSystem : (Matrix(%), Vector(%)) -> Record(mat: Matrix(R),vec: Vector(R)) if R has RING reducedSystem : (Matrix(%), Vector(%)) -> Record(mat: Matrix(Integer),vec: Vector(Integer)) if R has LINEXP(INT) and R has RING reducedSystem : Matrix(%) -> Matrix(Integer) if R has LINEXP(INT) and R has RING reductum : % -> % if NonNegativeInteger has COMPAR ?rem? : (%, %) -> % if R has FIELD resultant : (%, %) -> R if R has COMRING resultant : (%, %, SingletonAsOrderedSet) -> % if R has COMRING retract : % -> SingletonAsOrderedSet if R has SRING retract : % -> Fraction(Integer) if R has RETRACT(FRAC(INT)) retract : % -> Integer if R has RETRACT(INT) retractIfCan : % -> Union(SingletonAsOrderedSet,"failed") if R has SRING retractIfCan : % -> Union(R,"failed") retractIfCan : % -> Union(Fraction(Integer),"failed") if R has RETRACT(FRAC(INT)) retractIfCan : % -> Union(Integer,"failed") if R has RETRACT(INT) rightPower : (%, NonNegativeInteger) -> % if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING rightPower : (%, PositiveInteger) -> % rightRecip : % -> Union(%,"failed") if % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has SRING sample : () -> % if % has ABELMON or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELMON or R has LINEXP(INT) and R has RING and Integer has ABELMON separate : (%, %) -> Record(primePart: %,commonPart: %) if R has GCDDOM shiftLeft : (%, NonNegativeInteger) -> % shiftRight : (%, NonNegativeInteger) -> % if R has RING sizeLess? : (%, %) -> Boolean if R has FIELD smaller? : (%, %) -> Boolean if R has COMPAR solveLinearPolynomialEquation : (List(SparseUnivariatePolynomial(%)), SparseUnivariatePolynomial(%)) -> Union(List(SparseUnivariatePolynomial(%)),"failed") if R has PFECAT squareFree : % -> Factored(%) if R has GCDDOM squareFreePart : % -> % if R has GCDDOM squareFreePolynomial : SparseUnivariatePolynomial(%) -> Factored(SparseUnivariatePolynomial(%)) if R has PFECAT subResultantGcd : (%, %) -> % if R has INTDOM subtractIfCan : (%, %) -> Union(%,"failed") if % has ABELGRP or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELGRP and R has COMRING or R has ABELGRP and R has RING or R has CABMON or R has LINEXP(INT) and R has RING and Integer has ABELGRP support : % -> List(NonNegativeInteger) totalDegree : (%, List(SingletonAsOrderedSet)) -> NonNegativeInteger totalDegree : % -> NonNegativeInteger totalDegreeSorted : (%, List(SingletonAsOrderedSet)) -> NonNegativeInteger unit? : % -> Boolean if % has ATVCWC and R has INTDOM or R has ENTIRER unitCanonical : % -> % if % has ATVCWC and R has INTDOM or R has ENTIRER unitNormal : % -> Record(unit: %,canonical: %,associate: %) if % has ATVCWC and R has INTDOM or R has ENTIRER univariate : % -> SparseUnivariatePolynomial(R) univariate : (%, SingletonAsOrderedSet) -> SparseUnivariatePolynomial(%) unmakeSUP : SparseUnivariatePolynomial(R) -> % variables : % -> List(SingletonAsOrderedSet) vectorise : (%, NonNegativeInteger) -> Vector(R) zero? : % -> Boolean if % has ABELMON or % has ATVCWC and R has COMRING or % has ATVCWC and R has INTDOM or R has ABELMON or R has LINEXP(INT) and R has RING and Integer has ABELMON
A := SparseUnivariatePolynomial( Integer)

\label{eq1}\hbox{\axiomType{SparseUnivariatePolynomial}\ } \left({\hbox{\axiomType{Integer}\ }}\right)(1)
Type: Type
fricas
1::A

\label{eq2}1(2)
Type: SparseUnivariatePolynomial?(Integer)