Skip to content

Learning about pipy, distributing a simple matrix multiply example

License

Notifications You must be signed in to change notification settings

ptorru/ptorru-matmul

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ptorru-matmul

Learning about pipy, distributing a simple matrix multiply example

To consult how to distribute a package in PyPI take a look at the publish_notes.md

Installing this package

Using PyPI

pip install ptorru-matmul

Alternatively use poetry

poetry add ptorru-matmul

Using this package

import numpy as np
from ptorru_matmul import matmul
sides = 3
a = np.arange(sides*sides).reshape(sides,sides)
b = np.arange(sides*sides).reshape(sides,sides)
c = matmul(a,b)
assert np.array_equal(c, np.matmul(a,b))
print(a,b)
print(c)

About

Learning about pipy, distributing a simple matrix multiply example

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages