forked from kscience/kmath
Removed extra suppresses.
This commit is contained in:
parent
ed634013f6
commit
0ef2258665
@ -385,56 +385,46 @@ public class NumberedPolynomialSpace<C, A : Ring<C>>(
|
|||||||
/**
|
/**
|
||||||
* Substitutes provided arguments [arguments] into [this] polynomial.
|
* Substitutes provided arguments [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.substitute(arguments: Map<Int, C>): NumberedPolynomial<C> = substitute(ring, arguments)
|
public inline fun NumberedPolynomial<C>.substitute(arguments: Map<Int, C>): NumberedPolynomial<C> = substitute(ring, arguments)
|
||||||
/**
|
/**
|
||||||
* Substitutes provided arguments [arguments] into [this] polynomial.
|
* Substitutes provided arguments [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
@JvmName("substitutePolynomial")
|
@JvmName("substitutePolynomial")
|
||||||
public inline fun NumberedPolynomial<C>.substitute(arguments: Map<Int, NumberedPolynomial<C>>) : NumberedPolynomial<C> = substitute(ring, arguments)
|
public inline fun NumberedPolynomial<C>.substitute(arguments: Map<Int, NumberedPolynomial<C>>) : NumberedPolynomial<C> = substitute(ring, arguments)
|
||||||
/**
|
/**
|
||||||
* Substitutes provided arguments [arguments] into [this] polynomial.
|
* Substitutes provided arguments [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.substitute(arguments: Buffer<C>): NumberedPolynomial<C> = substitute(ring, arguments)
|
public inline fun NumberedPolynomial<C>.substitute(arguments: Buffer<C>): NumberedPolynomial<C> = substitute(ring, arguments)
|
||||||
/**
|
/**
|
||||||
* Substitutes provided arguments [arguments] into [this] polynomial.
|
* Substitutes provided arguments [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
@JvmName("substitutePolynomial")
|
@JvmName("substitutePolynomial")
|
||||||
public inline fun NumberedPolynomial<C>.substitute(arguments: Buffer<NumberedPolynomial<C>>) : NumberedPolynomial<C> = substitute(ring, arguments)
|
public inline fun NumberedPolynomial<C>.substitute(arguments: Buffer<NumberedPolynomial<C>>) : NumberedPolynomial<C> = substitute(ring, arguments)
|
||||||
/**
|
/**
|
||||||
* Substitutes provided arguments [arguments] into [this] polynomial.
|
* Substitutes provided arguments [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.substituteFully(arguments: Buffer<C>): C = this.substituteFully(ring, arguments)
|
public inline fun NumberedPolynomial<C>.substituteFully(arguments: Buffer<C>): C = this.substituteFully(ring, arguments)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Represent [this] polynomial as a regular context-less function.
|
* Represent [this] polynomial as a regular context-less function.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.asFunction(): (Buffer<C>) -> C = asFunctionOver(ring)
|
public inline fun NumberedPolynomial<C>.asFunction(): (Buffer<C>) -> C = asFunctionOver(ring)
|
||||||
/**
|
/**
|
||||||
* Represent [this] polynomial as a regular context-less function.
|
* Represent [this] polynomial as a regular context-less function.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.asFunctionOfConstant(): (Buffer<C>) -> C = asFunctionOfConstantOver(ring)
|
public inline fun NumberedPolynomial<C>.asFunctionOfConstant(): (Buffer<C>) -> C = asFunctionOfConstantOver(ring)
|
||||||
/**
|
/**
|
||||||
* Represent [this] polynomial as a regular context-less function.
|
* Represent [this] polynomial as a regular context-less function.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline fun NumberedPolynomial<C>.asFunctionOfPolynomial(): (Buffer<NumberedPolynomial<C>>) -> NumberedPolynomial<C> = asFunctionOfPolynomialOver(ring)
|
public inline fun NumberedPolynomial<C>.asFunctionOfPolynomial(): (Buffer<NumberedPolynomial<C>>) -> NumberedPolynomial<C> = asFunctionOfPolynomialOver(ring)
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Evaluates value of [this] polynomial on provided [arguments].
|
* Evaluates value of [this] polynomial on provided [arguments].
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
public inline operator fun NumberedPolynomial<C>.invoke(arguments: Buffer<C>): C = substituteFully(ring, arguments)
|
public inline operator fun NumberedPolynomial<C>.invoke(arguments: Buffer<C>): C = substituteFully(ring, arguments)
|
||||||
/**
|
/**
|
||||||
* Substitutes provided [arguments] into [this] polynomial.
|
* Substitutes provided [arguments] into [this] polynomial.
|
||||||
*/
|
*/
|
||||||
@Suppress("NOTHING_TO_INLINE")
|
|
||||||
@JvmName("invokePolynomial")
|
@JvmName("invokePolynomial")
|
||||||
public inline operator fun NumberedPolynomial<C>.invoke(arguments: Buffer<NumberedPolynomial<C>>): NumberedPolynomial<C> = substitute(ring, arguments)
|
public inline operator fun NumberedPolynomial<C>.invoke(arguments: Buffer<NumberedPolynomial<C>>): NumberedPolynomial<C> = substitute(ring, arguments)
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user