Previous Next


XtoY Method (RDKDistribution Object)

Description

Returns the density function value (y-value) corresponding to a given x-value for a distribution defined as an object.

Syntax

object.XToY(x as Double)

Arguments

x (Required Double) – the x-value for which you want to retrieve the corresponding y-value.

Return Value

(Double) – the density y-value

Example

'Determine the density at x =100
y = dist.XtoY(100)