polyMatrix {polyMatrix}R Documentation

Create polyMatrix object

Description

This function will create a polynomial object from coefficient matrix or signle value

Usage

polyMatrix(data, nrow, ncol, degree)

Arguments

data

A matrix containing matrices of coefficients or a number or a polynomial

nrow

The numer of rows of a polynomial matrix. Must be postive. If data is a matrix, the default value is the number of rows of matrix data. In other cases it is a required parameter.

ncol

A number of columns of a polynomial matrix. Must be positive. If data is a matrix, the default value is the number of columns of matrix data. In other cases it is a required parameter.

degree

Degree of polynomials in the coefficient matrix. Must be zero or positive. If data is polynomial, degree can be evaluated automatcal. In other case, default value is 0.

Details

A coefficient matrix is a matrix which contains matrices of coefficients starting from lower degree to higher ones, side-by-side

Value

new polynomial matrix of polyMatrix class


[Package polyMatrix version 0.9.16 Index]