https://github.com/powsybl/powsybl-math-native
https://github.com/powsybl/powsybl-math-native
klu
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/powsybl/powsybl-math-native
- Owner: powsybl
- License: mpl-2.0
- Created: 2019-06-17T20:21:47.000Z (almost 7 years ago)
- Default Branch: main
- Last Pushed: 2024-09-03T22:48:58.000Z (almost 2 years ago)
- Last Synced: 2025-10-08T22:40:38.199Z (8 months ago)
- Topics: klu
- Language: C++
- Size: 68.4 KB
- Stars: 1
- Watchers: 14
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# powsybl-math-native
This project is the C++ implementation of [powsybl-math](https://github.com/powsybl/powsybl-core) `SparseMatrix` class, relying on SuiteSparse project.
## Requirements
To build `powsybl-math-native`, you need the following dependencies:
- [CMake](https://cmake.org/download)
- C++ compiler (gcc, clang or [Visual Studio](https://visualstudio.microsoft.com/fr/vs/features/cplusplus/))
- Java (11 or later)
## Compilation
### Linux or MacOS
To build `powsybl-math-native`, run the following commands:
```
$> git clone https://github.com/powsybl/powsybl-math-native.git
$> cd powsybl-math-native
$> mkdir build
$> cd build
$> cmake ..
$> make
$> cd ..
$> mvn install
````
### Windows
To build `powsybl-math-native`, run the following commands:
```
$> git clone https://github.com/powsybl/powsybl-math-native.git
$> cd powsybl-math-native
$> mkdir build
$> cd build
$> cmake .. -G "NMake Makefiles"
$> nmake
$> cd ..
$> mvn install
````