public class PolynomialFunctionMatrix extends Object
PolynomialFunction
.Modifier and Type | Method and Description |
---|---|
PolynomialFunctionMatrix |
add(PolynomialFunctionMatrix matrix)
Add the argument matrix with the current matrix.
|
PolynomialFunction |
getElem(int line,
int column)
Get the value of an element.
|
PolynomialFunction[] |
getMatrixLine(int line)
Get a line of the matrix.
|
PolynomialFunctionMatrix |
multiply(PolynomialFunctionMatrix matrix)
Multiply the argument matrix with the current matrix.
|
void |
setElem(int line,
int column,
PolynomialFunction value)
Set an element of the matrix.
|
void |
setMatrix(PolynomialFunction[][] polynomials)
Set values for all elements.
|
void |
setMatrixLine(int line,
PolynomialFunction[] polynomials)
Set the value of a line of the matrix.
|
public void setElem(int line, int column, PolynomialFunction value)
line
- the linecolumn
- the columnvalue
- the valuepublic PolynomialFunction getElem(int line, int column)
line
- the linecolumn
- the columnpublic PolynomialFunctionMatrix multiply(PolynomialFunctionMatrix matrix)
matrix
- the argument matrixpublic void setMatrix(PolynomialFunction[][] polynomials)
polynomials
- the values that will be used for the matrixpublic void setMatrixLine(int line, PolynomialFunction[] polynomials)
line
- the line numberpolynomials
- the values to setpublic PolynomialFunction[] getMatrixLine(int line)
line
- the line numberpublic PolynomialFunctionMatrix add(PolynomialFunctionMatrix matrix)
matrix
- the argument matrixCopyright © 2002-2020 CS Group. All rights reserved.