Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
MathPHP
Functions
Polynomial
setVariable
MathPHP\Functions\Polynomial::setVariable PHP Method
Polynomial Class Documentation
Show file
Open project: markrogoyski/math-php
setVariable()
public
method
Setter method for the dependent variable of a polynomial
public
setVariable
(
string
$variable
)
$variable
string
public function setVariable(string $variable) { $this->variable = $variable; }
Polynomial
__construct
__invoke
__toString
add
differentiate
getCoefficients
getDegree
getVariable
integrate
multiply
setVariable