Skip to content
/ nshare Public

Provides an interface layer to convert between n-dimensional types in different Rust crates

License

Notifications You must be signed in to change notification settings

rust-cv/nshare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nshare

Discord Crates.io MIT/Apache docs.rs LoC ci

Provides traits that allow conversion between n-dimensional types in different Rust crates

NOTE: By default, this crate includes no conversions. You must choose which crates you want to use using the features:

  • ndarray
  • nalgebra
  • image

When crates are included, any available conversions between the enabled crates are turned on.

Right now this crate really only provides conversions to owned and borrowed ndarray types. Some limitations exist with nalgebra, as it only utilizes positive strides, while ndarray supports negative strides as well. The image crate has no concept of strides. Due to this, the ndarray crate is the most flexible, and is ideal for interoperability between these various crates.

Supported Crates

  • image
  • ndarray
  • nalgebra

About

Provides an interface layer to convert between n-dimensional types in different Rust crates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages