pdf_mean_1d Function

function pdf_mean_1d(self) result(mean)

Arguments

Type IntentOptional Attributes Name
type(pdf_kernel) :: self

Return Value real(kind=8)


Calls

proc~~pdf_mean_1d~2~~CallsGraph proc~pdf_mean_1d~2 pdf_mean_1d simps simps proc~pdf_mean_1d~2->simps

Source Code

function pdf_mean_1d(self) result(mean)
  type(pdf_kernel) :: self
  real(8)          :: mean    
  mean = simps(self%x*self%pdf,self%xmin,self%xmax)
end function pdf_mean_1d