derivRatioOfQsprays {ratioOfQsprays}R Documentation

Partial derivative

Description

Partial derivative of a ratioOfQsprays.

Usage

derivRatioOfQsprays(roq, i, derivative = 1)

Arguments

roq

object of class ratioOfQsprays

i

integer, the dimension to differentiate with respect to, e.g. 2 to differentiate with respect to y

derivative

integer, how many times to differentiate

Value

A ratioOfQsprays object.

Examples

library(ratioOfQsprays)
x <- qlone(1)
y <- qlone(2)
roq <- (2*x  + 3*x*y) / (x^2 + y^2)
derivRatioOfQsprays(roq, 2) # derivative w.r.t. y

[Package ratioOfQsprays version 1.1.0 Index]