Feature: Polynomials and rational functions #469
@ -388,25 +388,21 @@ public interface AbstractPolynomialSpaceOverRing<C, P: AbstractPolynomial<C>, A:
|
|||||||
* Returns negation of the constant.
|
* Returns negation of the constant.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantUnaryMinus")
|
@JvmName("constantUnaryMinus")
|
||||||
@JsName("constantUnaryMinus")
|
|
||||||
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
|
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
|
||||||
/**
|
/**
|
||||||
* Returns sum of the constants.
|
* Returns sum of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantPlus")
|
@JvmName("constantPlus")
|
||||||
@JsName("constantPlus")
|
|
||||||
public override operator fun C.plus(other: C): C = ring { this@plus + other }
|
public override operator fun C.plus(other: C): C = ring { this@plus + other }
|
||||||
/**
|
/**
|
||||||
* Returns difference of the constants.
|
* Returns difference of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantMinus")
|
@JvmName("constantMinus")
|
||||||
@JsName("constantMinus")
|
|
||||||
public override operator fun C.minus(other: C): C = ring { this@minus - other }
|
public override operator fun C.minus(other: C): C = ring { this@minus - other }
|
||||||
/**
|
/**
|
||||||
* Returns product of the constants.
|
* Returns product of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantTimes")
|
@JvmName("constantTimes")
|
||||||
@JsName("constantTimes")
|
|
||||||
public override operator fun C.times(other: C): C = ring { this@times * other }
|
public override operator fun C.times(other: C): C = ring { this@times * other }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -578,31 +578,26 @@ public interface AbstractRationalFunctionalSpaceOverRing<C, P: AbstractPolynomia
|
|||||||
* Returns the same constant.
|
* Returns the same constant.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantUnaryPlus")
|
@JvmName("constantUnaryPlus")
|
||||||
@JsName("constantUnaryPlus")
|
|
||||||
public override operator fun C.unaryPlus(): C = ring { +this@unaryPlus }
|
public override operator fun C.unaryPlus(): C = ring { +this@unaryPlus }
|
||||||
/**
|
/**
|
||||||
* Returns negation of the constant.
|
* Returns negation of the constant.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantUnaryMinus")
|
@JvmName("constantUnaryMinus")
|
||||||
@JsName("constantUnaryMinus")
|
|
||||||
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
|
public override operator fun C.unaryMinus(): C = ring { -this@unaryMinus }
|
||||||
/**
|
/**
|
||||||
* Returns sum of the constants.
|
* Returns sum of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantPlus")
|
@JvmName("constantPlus")
|
||||||
@JsName("constantPlus")
|
|
||||||
public override operator fun C.plus(other: C): C = ring { this@plus + other }
|
public override operator fun C.plus(other: C): C = ring { this@plus + other }
|
||||||
/**
|
/**
|
||||||
* Returns difference of the constants.
|
* Returns difference of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantMinus")
|
@JvmName("constantMinus")
|
||||||
@JsName("constantMinus")
|
|
||||||
public override operator fun C.minus(other: C): C = ring { this@minus - other }
|
public override operator fun C.minus(other: C): C = ring { this@minus - other }
|
||||||
/**
|
/**
|
||||||
* Returns product of the constants.
|
* Returns product of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantTimes")
|
@JvmName("constantTimes")
|
||||||
@JsName("constantTimes")
|
|
||||||
public override operator fun C.times(other: C): C = ring { this@times * other }
|
public override operator fun C.times(other: C): C = ring { this@times * other }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -716,31 +711,26 @@ public interface AbstractRationalFunctionalSpaceOverPolynomialSpace<C, P: Abstra
|
|||||||
* Returns the same constant.
|
* Returns the same constant.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantUnaryPlus")
|
@JvmName("constantUnaryPlus")
|
||||||
@JsName("constantUnaryPlus")
|
|
||||||
public override operator fun C.unaryPlus(): C = polynomialRing { +this@unaryPlus }
|
public override operator fun C.unaryPlus(): C = polynomialRing { +this@unaryPlus }
|
||||||
/**
|
/**
|
||||||
* Returns negation of the constant.
|
* Returns negation of the constant.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantUnaryMinus")
|
@JvmName("constantUnaryMinus")
|
||||||
@JsName("constantUnaryMinus")
|
|
||||||
public override operator fun C.unaryMinus(): C = polynomialRing { -this@unaryMinus }
|
public override operator fun C.unaryMinus(): C = polynomialRing { -this@unaryMinus }
|
||||||
/**
|
/**
|
||||||
* Returns sum of the constants.
|
* Returns sum of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantPlus")
|
@JvmName("constantPlus")
|
||||||
@JsName("constantPlus")
|
|
||||||
public override operator fun C.plus(other: C): C = polynomialRing { this@plus + other }
|
public override operator fun C.plus(other: C): C = polynomialRing { this@plus + other }
|
||||||
/**
|
/**
|
||||||
* Returns difference of the constants.
|
* Returns difference of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantMinus")
|
@JvmName("constantMinus")
|
||||||
@JsName("constantMinus")
|
|
||||||
public override operator fun C.minus(other: C): C = polynomialRing { this@minus - other }
|
public override operator fun C.minus(other: C): C = polynomialRing { this@minus - other }
|
||||||
/**
|
/**
|
||||||
* Returns product of the constants.
|
* Returns product of the constants.
|
||||||
*/
|
*/
|
||||||
@JvmName("constantTimes")
|
@JvmName("constantTimes")
|
||||||
@JsName("constantTimes")
|
|
||||||
public override operator fun C.times(other: C): C = polynomialRing { this@times * other }
|
public override operator fun C.times(other: C): C = polynomialRing { this@times * other }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user