ccGetCurveDerivative
ccGetCurveDerivative(g_curve n_t[x_order] ) =>l_xy
Description
(Virtuoso Photonics Option) Returns a derivative of a curve or a polyCurve segment at the specified value of the curve function parameter.
Arguments
|
ID of a ccCurve object or a segment of a ccPolyCurve object in the form: list( |
|
|
A non-negative integer specifying the order of the derivative. The default is |
Value Returned
|
Components of the derivative of a curve or a polyCurve segment. |
Example
c=ccCreateCurve("t" "t^2" 0:1)
> cc@0xe74d47d9
ccGetCurveDerivative(c 0.5)
> (1.0 1.0)
ccGetCurveDerivative(list(c list(1:1 180)) 0.5)
> (-1.0 -1.0)
Related Topics
Curvy Core Mathematical Object Attribute Query Functions
Return to top