SwiftNP

A Swift library inspired by NumPy, focused on efficient numerical computation, array operations, and linear algebra for iOS and macOS development.

MIT License

Stars
39
SwiftNP - v0.0.7 Latest Release

Published by k-arindam 6 days ago

What's Changed

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.6...0.0.7

SwiftNP - v0.0.6

Published by k-arindam 6 days ago

What's Changed

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.5...0.0.6

SwiftNP - v0.0.5

Published by k-arindam 7 days ago

What's Changed

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.4...0.0.5

SwiftNP - v0.0.4

Published by k-arindam 9 days ago

What's Changed

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.3...0.0.4

SwiftNP - v0.0.3

Published by k-arindam 10 days ago

What's Changed

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.2...0.0.3

SwiftNP - v0.0.2

Published by k-arindam 11 days ago

We are thrilled to introduce the first stable release of SwiftNP, a Swift-based numerical computing library designed for developers who want to leverage Swift for multi-dimensional array operations, inspired by libraries like NumPy.

Key Features

•	NDArray (N-Dimensional Array): Provides an efficient data structure for handling multi-dimensional arrays with custom shapes and data types.
•	Comprehensive DType Support: Includes common data types such as Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float16, Float32, Float64, and Double.
•	Flexible Initializers: Supports creating arrays with custom shapes, filled with default values, and more.
•	Dynamic Type Casting: Automatically casts input values to match the specified data type (DType).
•	Shape Validation: Ensures all arrays have valid shapes and throws errors for invalid configurations.

Contribution

Full Changelog: https://github.com/k-arindam/SwiftNP/compare/0.0.1...0.0.2

Improvements Coming in Future Releases

•	Performance Enhancements: Optimizing memory management and computation speed.
•	Error Handling: Improving robustness around invalid data and type casting.
•	Additional Operations: Adding more mathematical and array manipulation functions.
•	Support for Additional Data Types: Expanding the list of supported numerical data types.

Known Issues

•	The current version focuses on core functionality, and performance may not yet be optimal.
•	Some features and operations are still under development and may not be fully tested in complex scenarios.

Feedback and Contributions

This is an early release, and we are actively looking for feedback and contributions from the community. Feel free to submit issues or pull requests on GitHub.

SwiftNP - SwiftNP v0.0.1 - Alpha Release

Published by k-arindam 15 days ago

We are thrilled to introduce the alpha release of SwiftNP, a Swift-based numerical computing library designed for developers who want to leverage Swift for multi-dimensional array operations, inspired by libraries like NumPy.

Key Features

•	NDArray (N-Dimensional Array): Provides an efficient data structure for handling multi-dimensional arrays with custom shapes and data types.
•	Comprehensive DType Support: Includes common data types such as Int8, Int16, Int32, Int64, UInt8, UInt16, UInt32, UInt64, Float16, Float32, Float64, and Double.
•	Flexible Initializers: Supports creating arrays with custom shapes, filled with default values, and more.
•	Dynamic Type Casting: Automatically casts input values to match the specified data type (DType).
•	Shape Validation: Ensures all arrays have valid shapes and throws errors for invalid configurations.

Improvements Coming in Future Releases

•	Performance Enhancements: Optimizing memory management and computation speed.
•	Error Handling: Improving robustness around invalid data and type casting.
•	Additional Operations: Adding more mathematical and array manipulation functions.
•	Support for Additional Data Types: Expanding the list of supported numerical data types.

Known Issues

•	The current version focuses on core functionality, and performance may not yet be optimal.
•	Some features and operations are still under development and may not be fully tested in complex scenarios.

Feedback and Contributions

This is an alpha release, and we are actively looking for feedback and contributions from the community. Feel free to submit issues or pull requests on GitHub.