UNKNOWN
Project description
Make python support function compostion with matrix_mul operator
>>> @Compose ... def a(x): ... return x>>> @Compose ... def b(x): ... return x + 1>>> @Compose ... def c(x): ... return x + 2>>> (a@b@c)(1) 4
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fn-compose-1.0.tar.gz
(1.3 kB
view hashes)