    ! EAN VRR functions.
    vrrfuncs(1) = vrrfunc(eanvrr_0_0) ! (0,0)
    vrrfuncs(2) = vrrfunc(eanvrr_1_0) ! (1,0)
    vrrfuncs(3) = vrrfunc(eanvrr_1_1) ! (1,1)
    vrrfuncs(4) = vrrfunc(eanvrr_2_0) ! (2,0)
    vrrfuncs(5) = vrrfunc(eanvrr_2_1) ! (2,1)
    vrrfuncs(6) = vrrfunc(eanvrr_2_2) ! (2,2)
    vrrfuncs(7) = vrrfunc(eanvrr_3_0) ! (3,0)
    vrrfuncs(8) = vrrfunc(eanvrr_3_1) ! (3,1)
    vrrfuncs(9) = vrrfunc(eanvrr_3_2) ! (3,2)
    vrrfuncs(10) = vrrfunc(eanvrr_3_3) ! (3,3)
    vrrfuncs(11) = vrrfunc(eanvrr_4_0) ! (4,0)
    vrrfuncs(12) = vrrfunc(eanvrr_4_1) ! (4,1)
    vrrfuncs(13) = vrrfunc(eanvrr_4_2) ! (4,2)
    vrrfuncs(14) = vrrfunc(eanvrr_4_3) ! (4,3)
    vrrfuncs(15) = vrrfunc(eanvrr_4_4) ! (4,4)
    vrrfuncs(16) = vrrfunc(eanvrr_5_0) ! (5,0)
    vrrfuncs(17) = vrrfunc(eanvrr_5_1) ! (5,1)
    vrrfuncs(18) = vrrfunc(eanvrr_5_2) ! (5,2)
    vrrfuncs(19) = vrrfunc(eanvrr_5_3) ! (5,3)
    vrrfuncs(20) = vrrfunc(eanvrr_5_4) ! (5,4)
    vrrfuncs(21) = vrrfunc(eanvrr_5_5) ! (5,5)
    ! HRR functions.
    hrrfuncs(1) = hrrfunc(hrr_0_0) ! (0,0)
    hrrfuncs(2) = hrrfunc(hrr_1_0) ! (1,0)
    hrrfuncs(3) = hrrfunc(hrr_1_1) ! (1,1)
    hrrfuncs(4) = hrrfunc(hrr_2_0) ! (2,0)
    hrrfuncs(5) = hrrfunc(hrr_2_1) ! (2,1)
    hrrfuncs(6) = hrrfunc(hrr_2_2) ! (2,2)
    hrrfuncs(7) = hrrfunc(hrr_3_0) ! (3,0)
    hrrfuncs(8) = hrrfunc(hrr_3_1) ! (3,1)
    hrrfuncs(9) = hrrfunc(hrr_3_2) ! (3,2)
    hrrfuncs(10) = hrrfunc(hrr_3_3) ! (3,3)
    hrrfuncs(11) = hrrfunc(hrr_4_0) ! (4,0)
    hrrfuncs(12) = hrrfunc(hrr_4_1) ! (4,1)
    hrrfuncs(13) = hrrfunc(hrr_4_2) ! (4,2)
    hrrfuncs(14) = hrrfunc(hrr_4_3) ! (4,3)
    hrrfuncs(15) = hrrfunc(hrr_4_4) ! (4,4)
    hrrfuncs(16) = hrrfunc(hrr_5_0) ! (5,0)
    hrrfuncs(17) = hrrfunc(hrr_5_1) ! (5,1)
    hrrfuncs(18) = hrrfunc(hrr_5_2) ! (5,2)
    hrrfuncs(19) = hrrfunc(hrr_5_3) ! (5,3)
    hrrfuncs(20) = hrrfunc(hrr_5_4) ! (5,4)
    hrrfuncs(21) = hrrfunc(hrr_5_5) ! (5,5)
    ! Block HRR functions.
    blockhrrfuncs(1) = blockhrrfunc(blockhrr_0_0) ! (0,0)
    blockhrrfuncs(2) = blockhrrfunc(blockhrr_1_0) ! (1,0)
    blockhrrfuncs(3) = blockhrrfunc(blockhrr_1_1) ! (1,1)
    blockhrrfuncs(4) = blockhrrfunc(blockhrr_2_0) ! (2,0)
    blockhrrfuncs(5) = blockhrrfunc(blockhrr_2_1) ! (2,1)
    blockhrrfuncs(6) = blockhrrfunc(blockhrr_2_2) ! (2,2)
    blockhrrfuncs(7) = blockhrrfunc(blockhrr_3_0) ! (3,0)
    blockhrrfuncs(8) = blockhrrfunc(blockhrr_3_1) ! (3,1)
    blockhrrfuncs(9) = blockhrrfunc(blockhrr_3_2) ! (3,2)
    blockhrrfuncs(10) = blockhrrfunc(blockhrr_3_3) ! (3,3)
    blockhrrfuncs(11) = blockhrrfunc(blockhrr_4_0) ! (4,0)
    blockhrrfuncs(12) = blockhrrfunc(blockhrr_4_1) ! (4,1)
    blockhrrfuncs(13) = blockhrrfunc(blockhrr_4_2) ! (4,2)
    blockhrrfuncs(14) = blockhrrfunc(blockhrr_4_3) ! (4,3)
    blockhrrfuncs(15) = blockhrrfunc(blockhrr_4_4) ! (4,4)
    blockhrrfuncs(16) = blockhrrfunc(blockhrr_5_0) ! (5,0)
    blockhrrfuncs(17) = blockhrrfunc(blockhrr_5_1) ! (5,1)
    blockhrrfuncs(18) = blockhrrfunc(blockhrr_5_2) ! (5,2)
    blockhrrfuncs(19) = blockhrrfunc(blockhrr_5_3) ! (5,3)
    blockhrrfuncs(20) = blockhrrfunc(blockhrr_5_4) ! (5,4)
    blockhrrfuncs(21) = blockhrrfunc(blockhrr_5_5) ! (5,5)
