@triton.jit
def tenth_order_fwd(coord_ptr: tl.tensor, output_ptr: tl.tensor, block_size:
    tl.constexpr, coord_numel: tl.constexpr, output_numel: tl.constexpr,
    col_offset: tl.constexpr, output_stride: tl.constexpr):
    coord_stride = 3
    block_id = tl.program_id(0)
    coord_striding = tl.arange(0, block_size) * coord_stride
    coord_row_offset = coord_striding + block_size * coord_stride * block_id
    x = tl.load(coord_ptr + coord_row_offset, mask=coord_row_offset <
        coord_numel)
    y = tl.load(coord_ptr + coord_row_offset + 1, mask=coord_row_offset + 1 <
        coord_numel)
    z = tl.load(coord_ptr + coord_row_offset + 2, mask=coord_row_offset + 2 <
        coord_numel)
    CONST001 = 1.75869118663323
    CONST002 = -1021.9231747532
    CONST004 = 4.58257569495584
    CONST005 = 6.632439808434
    CONST006 = 4.82870805793735
    CONST007 = 4.9743298563255
    CONST008 = 1545.18657853995
    CONST009 = 10.5521471197994
    CONST010 = 12.1657520803952
    CONST011 = 13.264879616868
    CONST013 = 15.7883647328499
    CONST014 = 15.7302121789667
    CONST015 = 16.4144510752435
    CONST016 = 12.8765548211663
    CONST017 = 19.3148322317494
    CONST018 = 16.7271353825295
    CONST019 = 22.862985426232
    CONST020 = 535.268332240943
    CONST021 = 23.213539329519
    CONST022 = 24.6216766128653
    CONST023 = 27.2034486491732
    CONST024 = 541.428124558099
    CONST025 = -994.666978169547
    CONST026 = 33.9852909359329
    CONST027 = 33.9852909359329
    CONST028 = 35.5238206489124
    CONST029 = -984.86706451461
    CONST030 = -4.82870805793735
    CONST031 = 1070.53666448189
    CONST032 = -463.555973561985
    CONST034 = 53.2857309733686
    CONST035 = 53.2857309733686
    CONST036 = 56.3871618715269
    CONST037 = 56.3871618715269
    CONST039 = -1989.33395633909
    CONST041 = -450.224943778107
    CONST042 = 66.9085415301178
    CONST043 = 69.640617988557
    CONST044 = 69.640617988557
    CONST045 = -437.967074894228
    CONST046 = 77.2593289269976
    CONST047 = 78.6510608948335
    CONST049 = -1969.73412902922
    CONST050 = 77.3468749368712
    CONST051 = 1624.2843736743
    CONST054 = 94.7301883970997
    CONST056 = 100.362812295177
    CONST057 = -412.04975427732
    CONST058 = 101.517773354644
    CONST059 = -5.63871618715269
    CONST060 = -406.071093418574
    CONST061 = 109.491768723557
    CONST062 = -393.946825805844
    CONST063 = -902.194589944431
    CONST065 = -386.296644634988
    CONST066 = -386.296644634988
    CONST070 = 4.9743298563255
    CONST071 = 150.074981259369
    CONST074 = 685.526905959165
    CONST075 = -337.668707833581
    CONST076 = -337.668707833581
    CONST077 = 176.178376404427
    CONST078 = 176.592751833137
    CONST079 = 185.708314636152
    CONST080 = -326.441383790078
    CONST081 = -1.60956935264578
    CONST082 = -1.97354559160624
    CONST083 = 196.973412902922
    CONST085 = -824.099508554641
    CONST087 = -1.97354559160624
    CONST088 = -305.867618423396
    CONST089 = -305.867618423396
    CONST090 = 721.755671955545
    CONST091 = -305.867618423396
    CONST092 = -300.731529981477
    CONST093 = -300.731529981477
    CONST094 = -1.75869118663323
    CONST095 = -290.050781013267
    CONST097 = 225.548647486108
    CONST098 = 225.548647486108
    CONST099 = -284.190565191299
    CONST101 = -278.562471954228
    CONST102 = -278.562471954228
    CONST103 = -787.893651611688
    CONST104 = -787.893651611688
    CONST105 = 772.593289269975
    CONST106 = 787.893651611688
    CONST107 = 787.893651611688
    CONST108 = 278.562471954228
    CONST109 = -742.833258544608
    CONST110 = -1.6581099521085
    CONST112 = -1761.78376404427
    CONST113 = -223.028471767059
    CONST114 = -734.07656835178
    CONST116 = -220.222970505534
    CONST117 = 1321.3378230332
    CONST118 = 1321.3378230332
    CONST119 = -203.035546709287
    CONST120 = -1.6581099521085
    CONST121 = -196.973412902922
    CONST122 = -196.973412902922
    CONST123 = -696.40617988557
    CONST125 = 338.322971229162
    CONST126 = -1181.84047741753
    CONST127 = -669.085415301178
    CONST128 = -669.085415301178
    CONST129 = -154.518657853995
    CONST130 = -154.518657853995
    CONST131 = 360.877835977772
    CONST132 = -150.074981259369
    CONST133 = -2707.14062279049
    CONST134 = -146.815313670356
    CONST135 = 880.891882022136
    CONST136 = 1392.81235977114
    CONST137 = 1392.81235977114
    CONST138 = -131.315608601948
    CONST139 = -131.315608601948
    CONST141 = -125.841697431734
    CONST142 = -125.841697431734
    CONST143 = -122.415518921279
    CONST145 = 406.071093418574
    CONST146 = -103.107953136506
    CONST147 = -103.107953136506
    CONST148 = -101.517773354644
    CONST149 = -98.486706451461
    CONST150 = 412.04975427732
    CONST151 = -94.7301883970997
    CONST152 = -1114.24988781691
    CONST153 = -88.2963759165686
    CONST154 = -1624.2843736743
    CONST155 = -82.8889148474622
    CONST156 = -82.8889148474622
    CONST158 = -590.920238708766
    CONST159 = -77.3468749368713
    CONST160 = -77.2593289269975
    CONST161 = 2486.66744542387
    CONST162 = -2626.31217203896
    CONST165 = -571.272421632637
    CONST166 = -56.2781179722634
    CONST167 = -49.2433532257305
    CONST168 = -49.2433532257305
    CONST169 = 984.86706451461
    CONST170 = -541.428124558099
    CONST171 = -24.6216766128653
    CONST172 = -22.862985426232
    CONST173 = -16.4144510752435
    CONST174 = -15.7883647328499
    CONST175 = -14.0695294930659
    CONST176 = -13.264879616868
    CONST177 = -11.2774323743054
    CONST178 = -14.5025390506634
    CONST179 = -6.632439808434
    CONST180 = -5.63871618715269
    CONST181 = 1532.8847621298
    CONST182 = -3.21913870529156
    CONST183 = -2.72034486491732
    CONST184 = -1.12774323743054
    VAR05 = x * x * x * x * x
    VAR06 = x * x * x * x
    VAR07 = x * x * x
    VAR08 = x * x
    VAR00 = VAR05 * VAR05
    VAR01 = VAR05 * VAR06
    VAR02 = VAR06 * VAR06
    VAR03 = VAR06 * VAR07
    VAR04 = VAR07 * VAR07
    VAR14 = y * y * y * y * y
    VAR15 = y * y * y * y
    VAR16 = y * y * y
    VAR17 = y * y
    VAR09 = VAR14 * VAR14
    VAR10 = VAR14 * VAR15
    VAR11 = VAR15 * VAR15
    VAR12 = VAR15 * VAR16
    VAR13 = VAR16 * VAR16
    VAR23 = z * z * z * z * z
    VAR24 = z * z * z * z
    VAR25 = z * z * z
    VAR26 = z * z
    VAR18 = VAR23 * VAR23
    VAR19 = VAR23 * VAR24
    VAR20 = VAR24 * VAR24
    VAR21 = VAR24 * VAR25
    VAR22 = VAR25 * VAR25
    Y00 = (CONST023 * VAR01 * z + CONST023 * VAR19 * x + CONST074 * VAR05 *
        VAR23 + CONST080 * VAR03 * VAR25 + CONST080 * VAR07 * VAR21)
    Y01 = y * (CONST002 * VAR07 * VAR22 + CONST010 * VAR01 + CONST045 *
        VAR03 * VAR26 + CONST061 * VAR20 * x + CONST181 * VAR05 * VAR24)
    Y02 = (CONST013 * VAR01 * z + CONST054 * VAR07 * VAR21 + CONST151 *
        VAR03 * VAR25 + CONST174 * VAR19 * x + VAR17 * (-CONST039 * VAR05 *
        VAR25 + CONST039 * VAR07 * VAR23 + CONST099 * VAR03 * z - CONST099 *
        VAR21 * x))
    Y03 = VAR16 * (CONST024 * VAR22 * x + CONST051 * VAR05 * VAR26 + 
        CONST133 * VAR07 * VAR24 + CONST159 * VAR03) + y * (CONST095 *
        VAR03 * VAR26 - CONST119 * VAR05 * VAR24 + CONST145 * VAR07 * VAR22 +
        CONST148 * VAR20 * x - CONST178 * VAR01)
    Y04 = CONST009 * VAR01 * z + VAR03 * (CONST076 * VAR17 * z + CONST175 *
        VAR25) + VAR05 * (CONST106 * VAR15 * z + CONST107 * VAR17 * VAR25 +
        CONST167 * VAR23) + VAR07 * (CONST106 * VAR17 * VAR23 + CONST162 *
        VAR15 * VAR25 + CONST175 * VAR21) + x * (CONST009 * VAR19 + 
        CONST075 * VAR17 * VAR21 + CONST106 * VAR15 * VAR23)
    Y05 = VAR14 * (CONST077 * VAR05 + CONST112 * VAR07 * VAR26 + CONST135 *
        VAR24 * x) + VAR16 * (-CONST114 * VAR07 * VAR24 + CONST114 * VAR22 *
        x + CONST117 * VAR05 * VAR26 + CONST134 * VAR03) + y * (CONST014 *
        VAR01 + CONST047 * VAR20 * x + CONST116 * VAR05 * VAR24 + CONST141 *
        VAR03 * VAR26)
    Y06 = CONST005 * VAR01 * z + VAR03 * (CONST011 * VAR25 + CONST102 *
        VAR17 * z) + VAR05 * (CONST101 * VAR17 * VAR25 - CONST152 * VAR15 * z
        ) + VAR07 * (CONST108 * VAR17 * VAR23 + CONST109 * VAR13 * z + 
        CONST176 * VAR21) + x * (CONST108 * VAR17 * VAR21 - CONST109 *
        VAR13 * VAR25 + CONST152 * VAR15 * VAR23 + CONST179 * VAR19)
    Y07 = VAR12 * (-CONST041 * VAR26 * x + CONST132 * VAR07) + VAR14 * (-
        CONST062 * VAR05 + CONST103 * VAR07 * VAR26 + CONST126 * VAR24 * x
        ) + VAR16 * (CONST083 * VAR05 * VAR26 + CONST121 * VAR03 - CONST158 *
        VAR22 * x + CONST169 * VAR07 * VAR24) + y * (CONST015 * VAR01 + 
        CONST138 * VAR07 * VAR22 + CONST149 * VAR05 * VAR24 + CONST168 *
        VAR20 * x)
    Y08 = -CONST182 * VAR01 * z + VAR03 * (CONST016 * VAR25 + CONST129 *
        VAR17 * z) + VAR05 * (CONST017 * VAR23 + CONST032 * VAR17 * VAR25 +
        CONST105 * VAR15 * z) + VAR07 * (CONST008 * VAR15 * VAR25 + 
        CONST016 * VAR21 + CONST032 * VAR17 * VAR23 + CONST085 * VAR13 * z
        ) + x * (CONST078 * VAR11 * z + CONST085 * VAR13 * VAR25 + CONST105 *
        VAR15 * VAR23 + CONST129 * VAR17 * VAR21 - CONST182 * VAR19)
    Y09 = CONST018 * VAR01 * y + VAR03 * (CONST042 * VAR26 * y + CONST113 *
        VAR16) + VAR05 * (CONST020 * VAR14 + CONST056 * VAR24 * y + 
        CONST128 * VAR16 * VAR26) + VAR07 * (CONST031 * VAR14 * VAR26 + 
        CONST042 * VAR22 * y + CONST088 * VAR12 + CONST127 * VAR16 * VAR24
        ) + x * (CONST018 * VAR20 * y + CONST020 * VAR14 * VAR24 + CONST026 *
        VAR10 + CONST088 * VAR12 * VAR26 + CONST113 * VAR16 * VAR22)
    Y10 = (CONST004 * VAR09 + CONST037 * VAR17 * VAR20 + CONST093 * VAR15 *
        VAR22 + CONST131 * VAR13 * VAR24 + CONST147 * VAR11 * VAR26 + 
        CONST184 * VAR00 + CONST184 * VAR18 + VAR02 * (CONST036 * VAR17 + 
        CONST059 * VAR26) + VAR04 * (CONST092 * VAR15 + CONST098 * VAR17 *
        VAR26 + CONST177 * VAR24) + VAR06 * (CONST063 * VAR15 * VAR26 + 
        CONST125 * VAR17 * VAR24 + CONST131 * VAR13 + CONST177 * VAR22) + 
        VAR08 * (CONST063 * VAR15 * VAR24 + CONST090 * VAR13 * VAR26 + 
        CONST097 * VAR17 * VAR22 + CONST146 * VAR11 + CONST180 * VAR20))
    Y11 = CONST018 * VAR19 * y + VAR21 * (CONST042 * VAR08 * y + CONST113 *
        VAR16) + VAR23 * (CONST020 * VAR14 + CONST056 * VAR06 * y + 
        CONST128 * VAR08 * VAR16) + VAR25 * (CONST031 * VAR08 * VAR14 + 
        CONST042 * VAR04 * y + CONST091 * VAR12 + CONST127 * VAR06 * VAR16
        ) + z * (CONST018 * VAR02 * y + CONST020 * VAR06 * VAR14 + CONST027 *
        VAR10 + CONST089 * VAR08 * VAR12 + CONST113 * VAR04 * VAR16)
    Y12 = (CONST057 * VAR13 * VAR24 - CONST066 * VAR15 * VAR22 + CONST081 *
        VAR00 - CONST081 * VAR18 - CONST153 * VAR11 * VAR26 + CONST160 *
        VAR17 * VAR20 + VAR02 * (CONST030 * VAR26 + CONST046 * VAR17) + 
        VAR04 * (CONST066 * VAR15 - CONST129 * VAR17 * VAR26 + CONST182 *
        VAR24) + VAR06 * (CONST065 * VAR15 * VAR26 + CONST150 * VAR13 - 
        CONST182 * VAR22) + VAR08 * (CONST006 * VAR20 - CONST066 * VAR15 *
        VAR24 + CONST130 * VAR17 * VAR22 + CONST153 * VAR11))
    Y13 = VAR12 * (CONST041 * VAR08 * z + CONST071 * VAR25) + VAR14 * (
        CONST062 * VAR23 + CONST107 * VAR08 * VAR25 - CONST126 * VAR06 * z
        ) + VAR16 * (CONST029 * VAR06 * VAR25 - CONST121 * VAR21 + CONST122 *
        VAR08 * VAR23 + CONST158 * VAR04 * z) + y * (-CONST138 * VAR04 *
        VAR25 - CONST149 * VAR06 * VAR23 - CONST168 * VAR02 * z + CONST173 *
        VAR19)
    Y14 = (CONST044 * VAR17 * VAR20 + CONST079 * VAR13 * VAR24 + CONST101 *
        VAR15 * VAR22 + CONST110 * VAR00 + CONST120 * VAR18 + VAR02 * (
        CONST043 * VAR17 + CONST070 * VAR26) + VAR04 * (CONST021 * VAR24 + 
        CONST101 * VAR15 + CONST101 * VAR17 * VAR26) + VAR06 * (CONST021 *
        VAR22 + CONST079 * VAR13 + CONST123 * VAR17 * VAR24 + CONST137 *
        VAR15 * VAR26) + VAR08 * (CONST007 * VAR20 + CONST101 * VAR17 *
        VAR22 + CONST136 * VAR15 * VAR24 + CONST152 * VAR13 * VAR26))
    Y15 = VAR14 * (CONST077 * VAR23 + CONST112 * VAR08 * VAR25 + CONST135 *
        VAR06 * z) + VAR16 * (CONST114 * VAR04 * z - CONST114 * VAR06 *
        VAR25 + CONST118 * VAR08 * VAR23 + CONST134 * VAR21) + y * (
        CONST014 * VAR19 + CONST047 * VAR02 * z + CONST116 * VAR06 * VAR23 +
        CONST142 * VAR08 * VAR21)
    Y16 = (CONST001 * VAR18 + CONST094 * VAR00 - CONST139 * VAR15 * VAR22 +
        CONST166 * VAR17 * VAR20 + VAR02 * (CONST019 * VAR26 - CONST166 *
        VAR17) + VAR04 * (CONST022 * VAR24 + CONST104 * VAR17 * VAR26 + 
        CONST139 * VAR15) + VAR06 * (-CONST049 * VAR15 * VAR26 + CONST171 *
        VAR22) + VAR08 * (CONST049 * VAR15 * VAR24 + CONST106 * VAR17 *
        VAR22 + CONST172 * VAR20))
    Y17 = VAR16 * (CONST050 * VAR21 - CONST133 * VAR06 * VAR25 + CONST154 *
        VAR08 * VAR23 + CONST170 * VAR04 * z) + y * (CONST058 * VAR02 * z +
        CONST060 * VAR04 * VAR25 - CONST095 * VAR08 * VAR21 + CONST119 *
        VAR06 * VAR23 + CONST178 * VAR19)
    Y18 = (CONST034 * VAR02 * VAR26 + CONST035 * VAR08 * VAR20 + CONST082 *
        VAR00 + CONST087 * VAR18 + CONST155 * VAR04 * VAR24 + CONST156 *
        VAR06 * VAR22 + VAR17 * (CONST025 * VAR04 * VAR26 + CONST025 *
        VAR08 * VAR22 + CONST028 * VAR02 + CONST028 * VAR20 + CONST161 *
        VAR06 * VAR24))
    Y19 = y * (CONST002 * VAR04 * VAR25 + CONST010 * VAR19 + CONST045 *
        VAR08 * VAR21 + CONST061 * VAR02 * z + CONST181 * VAR06 * VAR23)
    Y20 = (-CONST143 * VAR02 * VAR26 + CONST143 * VAR08 * VAR20 + CONST165 *
        VAR04 * VAR24 - CONST165 * VAR06 * VAR22 + CONST183 * VAR00 - 
        CONST183 * VAR18)
    output_striding = tl.arange(0, block_size) * output_stride
    output_row_offset = (output_striding + block_size * output_stride *
        block_id + col_offset)
    tl.store(output_ptr + output_row_offset, Y00, mask=output_row_offset <
        output_numel)
    tl.store(output_ptr + output_row_offset + 1, Y01, mask=
        output_row_offset + 1 < output_numel)
    tl.store(output_ptr + output_row_offset + 2, Y02, mask=
        output_row_offset + 2 < output_numel)
    tl.store(output_ptr + output_row_offset + 3, Y03, mask=
        output_row_offset + 3 < output_numel)
    tl.store(output_ptr + output_row_offset + 4, Y04, mask=
        output_row_offset + 4 < output_numel)
    tl.store(output_ptr + output_row_offset + 5, Y05, mask=
        output_row_offset + 5 < output_numel)
    tl.store(output_ptr + output_row_offset + 6, Y06, mask=
        output_row_offset + 6 < output_numel)
    tl.store(output_ptr + output_row_offset + 7, Y07, mask=
        output_row_offset + 7 < output_numel)
    tl.store(output_ptr + output_row_offset + 8, Y08, mask=
        output_row_offset + 8 < output_numel)
    tl.store(output_ptr + output_row_offset + 9, Y09, mask=
        output_row_offset + 9 < output_numel)
    tl.store(output_ptr + output_row_offset + 10, Y10, mask=
        output_row_offset + 10 < output_numel)
    tl.store(output_ptr + output_row_offset + 11, Y11, mask=
        output_row_offset + 11 < output_numel)
    tl.store(output_ptr + output_row_offset + 12, Y12, mask=
        output_row_offset + 12 < output_numel)
    tl.store(output_ptr + output_row_offset + 13, Y13, mask=
        output_row_offset + 13 < output_numel)
    tl.store(output_ptr + output_row_offset + 14, Y14, mask=
        output_row_offset + 14 < output_numel)
    tl.store(output_ptr + output_row_offset + 15, Y15, mask=
        output_row_offset + 15 < output_numel)
    tl.store(output_ptr + output_row_offset + 16, Y16, mask=
        output_row_offset + 16 < output_numel)
    tl.store(output_ptr + output_row_offset + 17, Y17, mask=
        output_row_offset + 17 < output_numel)
    tl.store(output_ptr + output_row_offset + 18, Y18, mask=
        output_row_offset + 18 < output_numel)
    tl.store(output_ptr + output_row_offset + 19, Y19, mask=
        output_row_offset + 19 < output_numel)
    tl.store(output_ptr + output_row_offset + 20, Y20, mask=
        output_row_offset + 20 < output_numel)
