-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Reorganize features in order to use crate without openblas (#34)
* Reorganize features in order to use crate without openblas * fix doctests * add eigenvalue calculation and fix norm * add tests for norm * move ScalarOperand impl to ndarray feature * remove too strict singularity criterion * Separate python wheel (#35) * Adds build_wheel directory that is used to build the python wheel * Change workflows to use new crate for wheels * change email adress in Cargo.toml and fix path for workflows * update version and add changelog * update README Co-authored-by: Gernot Bauer <Bauer@itt.uni-stuttgart.de>
- Loading branch information
Showing
14 changed files
with
464 additions
and
226 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [0.4.0] - 2021-12-16 | ||
### Added | ||
- Implementations for LU decomposition and eigendecomposition of symmetric matrices that do not depend on external libraries (BLAS, LAPACK). [#34](https://github.com/itt-ustutt/num-dual/pull/34) | ||
|
||
### Packaging | ||
- Updated `pyo3` dependency to 0.15. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
[package] | ||
name = "num_dual" | ||
version = "0.4.0" | ||
authors = ["Gernot Bauer <bauer@itt.uni-stuttgart.de>", | ||
"Philipp Rehner <prehner@ethz.ch>"] | ||
edition = "2018" | ||
readme = "../README.md" | ||
license = "MIT OR Apache-2.0" | ||
description = "Generalized (hyper) dual numbers for the calculation of exact (partial) derivatives" | ||
homepage = "https://github.com/itt-ustutt/num-dual" | ||
repository = "https://github.com/itt-ustutt/num-dual" | ||
keywords = ["mathematics", "numerics", "differentiation"] | ||
categories = ["data-structures", "science", "mathematics"] | ||
exclude = ["/.github/*", "*.ipynb", "./docs/*"] | ||
|
||
[lib] | ||
name = "num_dual" | ||
crate-type = ["cdylib"] | ||
|
||
[dependencies] | ||
num-dual = { path = "..", features = ["python"]} | ||
pyo3 = { version = "0.15", features = ["extension-module", "abi3", "abi3-py36", "multiple-pymethods"] } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use num_dual as num_dual_rs; | ||
use pyo3::prelude::*; | ||
|
||
/// Implementation of SI numbers. | ||
#[pymodule] | ||
pub fn num_dual(_py: Python<'_>, m: &PyModule) -> PyResult<()> { | ||
num_dual_rs::python::num_dual(_py, m) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.