Skip to content

imjasonmiller/ndarray-pad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ndarray-pad

Coverage

This crate provides padding for ndarray's ArrayBase type. It aims to achieve feature parity with Python's numpy.pad.

Current padding modes include:

  • Constant
  • Edge, also known as extend or clamp

Usage with Cargo

[dependencies]
ndarray = "0.13"
ndarray-pad = "0.1"

Contributing

Please feel free to create issues and submit pull requests.

License

Licensed under the Apache License, Version 2.0, or the MIT license, at your option. You may not use this project except in compliance with those terms.

Releases

No releases published

Packages

No packages published

Languages