Line data Source code
1 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 2 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 3 : !!!! !!!! 4 : !!!! ParaMonte: Parallel Monte Carlo and Machine Learning Library. !!!! 5 : !!!! !!!! 6 : !!!! Copyright (C) 2012-present, The Computational Data Science Lab !!!! 7 : !!!! !!!! 8 : !!!! This file is part of the ParaMonte library. !!!! 9 : !!!! !!!! 10 : !!!! LICENSE !!!! 11 : !!!! !!!! 12 : !!!! https://github.com/cdslaborg/paramonte/blob/main/LICENSE.md !!!! 13 : !!!! !!!! 14 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 15 : !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 16 : 17 : !> \brief 18 : !> This include file contains implementations of the procedures in module [pm_mathSubAdd](@ref pm_mathSubAdd). 19 : !> 20 : !> \finmain 21 : !> 22 : !> \author 23 : !> \AmirShahmoradi, April 23, 2017, 1:36 AM, Institute for Computational Engineering and Sciences (ICES), University of Texas at Austin 24 : 25 : !%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% 26 : 27 : #if getSubAddUnary_ENABLED 28 8 : binval(1) = -val 29 8 : binval(2) = +val 30 : #elif getSubAddBinary_ENABLED 31 16007 : binval(1) = ref - val 32 16007 : binval(2) = ref + val 33 : #else 34 : !%%%%%%%%%%%%%%%%%%%%%%%% 35 : #error "Unrecognized interface." 36 : !%%%%%%%%%%%%%%%%%%%%%%%% 37 : #endif