monomial {exams.forge} | R Documentation |
Monomial
Description
Creates a polynomial of the form c*x^d
.
Usage
monomial(degree = 1, coefficient = 1)
monom(degree = 1, coefficient = 1)
Arguments
degree |
integer: degree of the polynomial (default: |
coefficient |
numeric: coefficient of the polynomial (default: |
Value
A polynomial
Examples
monomial() # equivalent to polynomial()
monomial(3) # x^3
monomial(3, 2) # 2*x^3
[Package exams.forge version 1.0.10 Index]