Package space.kscience.kmath.integration
Types
GaussIntegrator
Link copied to clipboard
class GaussIntegrator<T : Any>(algebra: Field<T>) : Integrator<UnivariateIntegrand<T>>
Content copied to clipboard
GaussIntegratorRuleFactory
Link copied to clipboard
GaussLegendreRuleFactory
Link copied to clipboard
IntegrandAbsoluteAccuracy
Link copied to clipboard
IntegrandCallsPerformed
Link copied to clipboard
IntegrandFeature
Link copied to clipboard
interface IntegrandFeature
Content copied to clipboard
IntegrandMaxCalls
Link copied to clipboard
IntegrandRelativeAccuracy
Link copied to clipboard
IntegrandValue
Link copied to clipboard
IntegrationRange
Link copied to clipboard
@JvmInline()
Content copied to clipboard
Integrator
Link copied to clipboard
MultivariateIntegrand
Link copied to clipboard
UnivariateIntegrand
Link copied to clipboard
UnivariateIntegrandRanges
Link copied to clipboard
class UnivariateIntegrandRanges(ranges: List<Pair<ClosedRange<Double>, Int>>) : IntegrandFeature
Content copied to clipboard
UnivariateIntegrator
Link copied to clipboard
Functions
getFeature
Link copied to clipboard
integrate
Link copied to clipboard
fun <T : Any> Field<T>.integrate(vararg features: IntegrandFeature, function: (Double) -> T): UnivariateIntegrand<T>
Content copied to clipboard
Integrate T-valued univariate function using provided set of IntegrandFeature Following features are evaluated:
GaussIntegratorRuleFactory - A factory for computing the Gauss integration rule. By default uses GaussLegendreRuleFactory
IntegrationRange - the univariate range of integration. By default uses 0..1 interval.
IntegrandMaxCalls - the maximum number of function calls during integration. For non-iterative rules, always uses the maximum number of points. By default uses 10 points.
UnivariateIntegrandRanges - Set of ranges and number of points per range. Defaults to given IntegrationRange and IntegrandMaxCalls
fun UnivariateIntegrator<Double>.integrate(range: ClosedRange<Double>, vararg features: IntegrandFeature, function: (Double) -> Double): Double
Content copied to clipboard
fun UnivariateIntegrator<Double>.integrate(range: ClosedRange<Double>, function: (Double) -> Double, featureBuilder: MutableList<IntegrandFeature>.() -> Unit = {}): Double
Content copied to clipboard
fun <T : Any> Field<T>.integrate(range: ClosedRange<Double>, order: Int = 10, intervals: Int = 10, vararg features: IntegrandFeature, function: (Double) -> T): UnivariateIntegrand<T>
Content copied to clipboard
MultivariateIntegrand
Link copied to clipboard
fun <T : Any> MultivariateIntegrand(vararg features: IntegrandFeature, function: (Point<T>) -> T): MultivariateIntegrand<T>
Content copied to clipboard
UnivariateIntegrand
Link copied to clipboard
fun <T : Any> UnivariateIntegrand(function: (Double) -> T, vararg features: IntegrandFeature): UnivariateIntegrand<T>
Content copied to clipboard