This project is an implementation of NumPy functionalities in Java. It aims to provide Java developers with the powerful numerical computing capabilities that NumPy offers in Python.
- Array creation and manipulation
- Mathematical operations on arrays
- Statistical functions
- Linear algebra operations
To include this library in your Java project, add the following dependency to your pom.xml
if you are using Maven:
<dependency>
<groupId>com.example</groupId>
<artifactId>numpy-java</artifactId>
<version>1.0.0</version>
</dependency>
Here is a simple example of how to use the library:
import com.example.numpyjava.NDArray;
public class Main {
public static void main(String[] args) {
NDArray array = new NDArray(new double[]{1, 2, 3, 4});
System.out.println("Array: " + array);
System.out.println("Sum: " + array.sum());
}
}
Contributions are welcome! Please fork the repository and submit a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
For any questions or suggestions, please open an issue or contact the project maintainer at sahil12345work@gmail.com