Skip to content

ucb-sejits/pylops

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

In order to call a function on a numpy array, we have to index the array properly.

Given the array `arr = np.ndarray(64).reshape((8, 8))`, we can obtain a submatrix `sub = arr[::2, ::2]`
In order to perform an operation on (x, y) in sub, we have to convert it into an operation on arr.
In general, operations need to be performed on `ndarray.base`.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages