PolynomialSpace

class PolynomialSpace<T : Any, C : Ring<T>, ScaleOperations<T>>(ring: C) : Group<Polynomial<T>> , ScaleOperations<Polynomial<T>>

An algebra for polynomials

Constructors

PolynomialSpace
Link copied to clipboard
common
fun <C : Ring<T>, ScaleOperations<T>> PolynomialSpace(ring: C)

Functions

add
Link copied to clipboard
common
open override fun add(a: Polynomial<T>, b: Polynomial<T>): Polynomial<T>
binaryOperation
Link copied to clipboard
common
open fun binaryOperation(operation: String, left: Polynomial<T>, right: Polynomial<T>): Polynomial<T>
binaryOperationFunction
Link copied to clipboard
common
open override fun binaryOperationFunction(operation: String): (left: Polynomial<T>, right: Polynomial<T>) -> Polynomial<T>
bindSymbol
Link copied to clipboard
common
open fun bindSymbol(value: String): Polynomial<T>
div
Link copied to clipboard
common
open operator fun Polynomial<T>.div(k: Number): Polynomial<T>
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
invoke
Link copied to clipboard
common
operator fun Polynomial<T>.invoke(arg: T): T
minus
Link copied to clipboard
common
open operator fun Polynomial<T>.minus(b: Polynomial<T>): Polynomial<T>
plus
Link copied to clipboard
common
open operator fun Polynomial<T>.plus(b: Polynomial<T>): Polynomial<T>
scale
Link copied to clipboard
common
open override fun scale(a: Polynomial<T>, value: Double): Polynomial<T>
times
Link copied to clipboard
common
open operator fun Number.times(b: Polynomial<T>): Polynomial<T>
open operator fun Polynomial<T>.times(k: Number): Polynomial<T>
toString
Link copied to clipboard
common
open fun toString(): String
unaryMinus
Link copied to clipboard
common
open operator override fun Polynomial<T>.unaryMinus(): Polynomial<T>
unaryOperation
Link copied to clipboard
common
open fun unaryOperation(operation: String, arg: Polynomial<T>): Polynomial<T>
unaryOperationFunction
Link copied to clipboard
common
open override fun unaryOperationFunction(operation: String): (arg: Polynomial<T>) -> Polynomial<T>
unaryPlus
Link copied to clipboard
common
open operator fun Polynomial<T>.unaryPlus(): Polynomial<T>

Properties

zero
Link copied to clipboard
common
open override val zero: Polynomial<T>