This chapter introduces the computational tools used throughout the book to perform numerical calculations. We begin with an overview of natural units commonly used in particle physics and demonstrate how to convert between different unit systems. A brief introduction to the CERN ROOT library illustrates how to generate random numbers, visualize numerical distributions, and randomly sample an arbitrary function using the rejection sampling algorithm. We also show how to use ROOT’s built-in numerical integration routines with simple one- and two-dimensional functions and how a simple Monte Carlo integration works. The GSL library is introduced for solving ordinary differential equations (ODEs) in both the real and complex domains. Finally, we provide a short overview of ROOT’s built-in physical and mathematical constants, along with references to other well-known publicly available online databases.

错误:搜索内容不能为空,请输入英文关键词
错误:关键词超出字数限制,请精简
高级检索

Computational Toolbox

  • Balint Radics

摘要

This chapter introduces the computational tools used throughout the book to perform numerical calculations. We begin with an overview of natural units commonly used in particle physics and demonstrate how to convert between different unit systems. A brief introduction to the CERN ROOT library illustrates how to generate random numbers, visualize numerical distributions, and randomly sample an arbitrary function using the rejection sampling algorithm. We also show how to use ROOT’s built-in numerical integration routines with simple one- and two-dimensional functions and how a simple Monte Carlo integration works. The GSL library is introduced for solving ordinary differential equations (ODEs) in both the real and complex domains. Finally, we provide a short overview of ROOT’s built-in physical and mathematical constants, along with references to other well-known publicly available online databases.