R/reff.sdj.r

#' Reference function Derivative of Spherical Bessel function .
#' 
#' @details The derivative of the Spherical Bessel function \eqn{j_n(x)}.
#' @param x The argument of the function
#' @param n The order of the function
#' @return The derivative \eqn{j_n'(x)}.
#' @include reff.sjn.r
#' @export
reff.sdj<-function(x,n){
   a<-n/(2*n+1)
   b<-(n+1)/(2*n+1)
	return(a*reff.sjn(x,n-1)-b*reff.sjn(x,n+1))
}
wendellopes/rvswf documentation built on May 4, 2019, 4:19 a.m.