T distribution quantile

‘ROOT::Math::tdistribution_quantile’ and ‘ROOT::Math::tdistribution_quantile_c’ are not working in the interactive section.
Showing error given below. Kindly help.


root [0] ROOT::Math::tdistribution_quantile_c(0.11,1880)
IncrementalExecutor::executeFunction: symbol ‘_ZN4ROOT4Math24tdistribution_quantile_cEdd’ unresolved while linking [cling interface function]! You are probably missing the definition of ROOT::Math::tdistribution_quantile_c(double, double) Maybe you need to load the corresponding shared library?
root [1]

root [0] ROOT::Math::tdistribution_quantile_c(0.11,1880)
(double) 1.2269367

You probably need to say which operating system, which compiler, and which “root-config --features” you have.

compiler:
g++ (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0
OS:
Ubuntu 18.04

Root Version:
ROOT 6.14/06

ROOT ./configure options: CFITSIO_INCLUDE_DIR=/usr/include CFITSIO_LIBRARY=/usr/lib/x86_64-linux-gnu/libcfitsio.so FFTW_INCLUDE_DIR=/usr/include FFTW_LIBRARY=/usr/lib/x86_64-linux-gnu/libfftw3.so FREETYPE_INCLUDE_DIR_freetype2=/usr/include/freetype2 FREETYPE_INCLUDE_DIR_ft2build=/usr/include/freetype2 FREETYPE_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libfreetype.so LIBXML2_INCLUDE_DIR=/usr/include/libxml2 LIBXML2_LIBRARY=/usr/lib/x86_64-linux-gnu/libxml2.so LZ4_INCLUDE_DIR=/home/sridhar/programs/root-6.14.06/builtins/lz4 LZ4_INCLUDE_DIRS=/home/sridhar/programs/root-6.14.06/builtins/lz4 LZ4_LIBRARIES=LZ4::LZ4 LZ4_LIBRARY=$<TARGET_FILE:lz4> LZMA_INCLUDE_DIR=/home/sridhar/programs/builddir/include MYSQL_INCLUDE_DIR=/usr/include/mysql OPENGL_GLX_INCLUDE_DIR=/usr/include OPENGL_INCLUDE_DIR=/usr/include OPENGL_egl_LIBRARY=/usr/lib/x86_64-linux-gnu/libEGL.so OPENGL_gl_LIBRARY=/usr/lib/x86_64-linux-gnu/libGL.so OPENGL_glu_LIBRARY=/usr/lib/x86_64-linux-gnu/libGLU.so OPENGL_glx_LIBRARY=/usr/lib/x86_64-linux-gnu/libGLX.so OPENGL_opengl_LIBRARY=/usr/lib/x86_64-linux-gnu/libOpenGL.so OPENSSL_CRYPTO_LIBRARY=/usr/lib/x86_64-linux-gnu/libcrypto.so OPENSSL_INCLUDE_DIR=/usr/include OPENSSL_SSL_LIBRARY=/usr/lib/x86_64-linux-gnu/libssl.so PCRE_INCLUDE_DIR=/usr/include PCRE_PCREPOSIX_LIBRARY=/usr/lib/x86_64-linux-gnu/libpcreposix.so PCRE_PCRE_LIBRARY=/usr/lib/x86_64-linux-gnu/libpcre.so PC_LIBXML_INCLUDEDIR=/usr/include PC_LIBXML_INCLUDE_DIRS=/usr/include/libxml2 PC_LIBXML_LIBRARIES=xml2 PC_LIBXML_STATIC_INCLUDE_DIRS=/usr/include/libxml2 PNG_LIBRARY=/usr/lib/x86_64-linux-gnu/libpng.so PNG_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libpng.so PNG_PNG_INCLUDE_DIR=/usr/include PYTHON_INCLUDE_DIR=/usr/include/python2.7 PYTHON_LIBRARY=/usr/lib/x86_64-linux-gnu/libpython2.7.so PYTHON_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libpython2.7.so TBB_INCLUDE_DIR=/usr/include TBB_LIBRARY=/usr/lib/x86_64-linux-gnu/libtbb.so TBB_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libtbb.so VDT_INCLUDE_DIRS=/home/sridhar/programs/builddir/include VDT_LIBRARIES=/home/sridhar/programs/builddir/lib/libvdt.so X11_X11_INCLUDE_PATH=/usr/include X11_XShm_INCLUDE_PATH=/usr/include X11_XSync_INCLUDE_PATH=/usr/include X11_Xaccessstr_INCLUDE_PATH=/usr/include X11_Xau_INCLUDE_PATH=/usr/include X11_Xdamage_INCLUDE_PATH=/usr/include X11_Xdmcp_INCLUDE_PATH=/usr/include X11_Xfixes_INCLUDE_PATH=/usr/include X11_Xft_INCLUDE_PATH=/usr/include X11_Xkb_INCLUDE_PATH=/usr/include X11_Xkblib_INCLUDE_PATH=/usr/include X11_Xlib_INCLUDE_PATH=/usr/include X11_Xpm_INCLUDE_PATH=/usr/include X11_Xrender_INCLUDE_PATH=/usr/include X11_Xshape_INCLUDE_PATH=/usr/include X11_Xutil_INCLUDE_PATH=/usr/include X11_dpms_INCLUDE_PATH=/usr/include X11_xf86vmode_INCLUDE_PATH=/usr/include ZLIB_INCLUDE_DIR=/usr/include ZLIB_LIBRARY_RELEASE=/usr/lib/x86_64-linux-gnu/libz.so xxHash_INCLUDE_DIR=/home/sridhar/programs/root-6.14.06/builtins/xxhash xxHash_INCLUDE_DIRS=/home/sridhar/programs/root-6.14.06/builtins/xxhash xxHash_LIBRARIES=xxHash::xxHash xxHash_LIBRARY=$<TARGET_FILE:xxhash>

With your ROOT version, you need:

root [0] gSystem->Load("libMathMore");
root [1] ROOT::Math::tdistribution_quantile_c(0.11,1880)
(double) 1.2269367

BTW. Your ROOT version is known to be seriously buggy, so you should upgrade your ROOT version to the latest release.

thank you!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.