vandermode
From matlib v0.9.2
by Michael Friendly
Vandermode Matrix
The function returns the Vandermode matrix of a numeric vector, x
, whose columns are the vector
raised to the powers 0:n
.
Usage
vandermode(x, n)
Arguments
- x
a numeric vector
- n
a numeric scalar
Value
a matrix of size length(x)
x n
Examples
# NOT RUN {
vandermode(1:5, 4)
# }
Community examples
Looks like there are no examples yet.