Learn R Programming

polyMatrix (version 0.3.1)

polyMul: Multiplication of two polynomial by matrix multiplication

Description

...

Usage

polyMul(p,q)

Arguments

p

... polyMgen

q

... polyMgen

Value

Describe the value returned!! If it is a LIST, use

comp1

Description of 'comp1'

Details

more details than the description above

References

references to the literature

See Also

objects to See Also as polyMatrix-package

Examples

Run this code
# NOT RUN {
set.seed(12345)
p <- polynom::polynomial(rpois(rgeom(1,.2)+1,2))
q <- polynom::polynomial(rpois(rgeom(1,.2)+1,2))
p
q
p * q
as.numeric(p * q) # 9 30 30 18 19 14  7  3
polyMul(p, q)
polyMul(q, p)

# clean up
# rm(p, q)

# }

Run the code above in your browser using DataLab