Skip to main content

Luisleee's Utilities.

Project description

# LUISLEEE’S UTILITIES

## sort(lis,l,r)

sort an array in range [l,r]

## print_arr(lis,indent=True,level=0,fh=sys.stdout)

print an nested array

## fill_arr(lis,n,m,val=0)

fill an n*m array with value

## mmul(matrixa,matrixb)

multiply two Matrix

## mpower(matrix,n)

fast power of an Matrix

## fib(n)

n^th^ fibonacci number

## class Matrix

### __init__(n,m)

make a n*m matrix

### build()

make a unit matrix

### fib()

make a fibonacci base matrix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for luisleee-util, version 0.0.4
Filename, size File type Python version Upload date Hashes
Filename, size luisleee_util-0.0.4-py3-none-any.whl (3.5 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size luisleee_util-0.0.4.tar.gz (2.2 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page