Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 838 Bytes

README.md

File metadata and controls

31 lines (21 loc) · 838 Bytes

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.