Feature: Polynomials and rational functions #469
@ -10,7 +10,6 @@ package space.kscience.kmath.functions
|
|||||||
import space.kscience.kmath.operations.Ring
|
import space.kscience.kmath.operations.Ring
|
||||||
import space.kscience.kmath.operations.ScaleOperations
|
import space.kscience.kmath.operations.ScaleOperations
|
||||||
import space.kscience.kmath.operations.invoke
|
import space.kscience.kmath.operations.invoke
|
||||||
import kotlin.jvm.JvmInline
|
|
||||||
import kotlin.math.max
|
import kotlin.math.max
|
||||||
import kotlin.math.min
|
import kotlin.math.min
|
||||||
|
|
||||||
@ -20,8 +19,7 @@ import kotlin.math.min
|
|||||||
*
|
*
|
||||||
* @param C the type of constants.
|
* @param C the type of constants.
|
||||||
*/
|
*/
|
||||||
@JvmInline
|
public data class Polynomial<out C>(
|
||||||
public value class Polynomial<C>(
|
|
||||||
/**
|
/**
|
||||||
* List that contains coefficients of the polynomial.
|
* List that contains coefficients of the polynomial.
|
||||||
*
|
*
|
||||||
|
Loading…
Reference in New Issue
Block a user