<kbd id="afajh"><form id="afajh"></form></kbd>
<strong id="afajh"><dl id="afajh"></dl></strong>
    <del id="afajh"><form id="afajh"></form></del>
        1. <th id="afajh"><progress id="afajh"></progress></th>
          <b id="afajh"><abbr id="afajh"></abbr></b>
          <th id="afajh"><progress id="afajh"></progress></th>

          Numpile基于 LLVM 的科學(xué)計(jì)算 Python 包

          聯(lián)合創(chuàng)作 · 2023-09-30 16:32

          Numpile 是極小的,由千行 Python 代碼構(gòu)成的,基于 LLVM 的數(shù)值科學(xué)計(jì)算工具。

          from numpile import autojit
          
          @autojit
          
          def dot(a, b):
              c = 0
              n = a.shape[0]
              for i in range(n):
                 c += a[i]*b[i]
              return c
          
          a = np.array(range(1000,2000), dtype='int32')
          b = np.array(range(3000,4000), dtype='int32')
          print dot(a,b)

          更多介紹請(qǐng)看這里

          瀏覽 24
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          評(píng)論
          圖片
          表情
          推薦
          點(diǎn)贊
          評(píng)論
          收藏
          分享

          手機(jī)掃一掃分享

          編輯 分享
          舉報(bào)
          <kbd id="afajh"><form id="afajh"></form></kbd>
          <strong id="afajh"><dl id="afajh"></dl></strong>
            <del id="afajh"><form id="afajh"></form></del>
                1. <th id="afajh"><progress id="afajh"></progress></th>
                  <b id="afajh"><abbr id="afajh"></abbr></b>
                  <th id="afajh"><progress id="afajh"></progress></th>
                  一区二区综合 | 欧美极品网站 | 三级片中文字幕在线观看 | 欧美精品99| 天天日天天榭天天插 |