Skip to content

Commit

Permalink
Merge pull request #4 from dancixx/feat/rework-api-and-performance
Browse files Browse the repository at this point in the history
feat: rework api and improve performance
  • Loading branch information
dancixx authored Sep 11, 2024
2 parents 8f3ea9c + e84b421 commit aebd194
Show file tree
Hide file tree
Showing 102 changed files with 2,828 additions and 2,736 deletions.
1 change: 1 addition & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

15 changes: 15 additions & 0 deletions .zed/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
// Folder-specific settings
//
// For a full list of overridable settings, and general information on folder-specific settings,
// see the documentation: https://zed.dev/docs/configuring-zed#folder-specific-settings
{
"lsp": {
"rust-analyzer": {
"initialization_options": {
"cargo": {
"features": ["f32"]
}
}
}
}
}
49 changes: 3 additions & 46 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,46 +1,3 @@
[package]
name = "stochastic-rs"
version = "0.7.1"
edition = "2021"
license = "MIT"
description = "A Rust library for stochastic processes"
homepage = "https://github.com/dancixx/stochastic-rs"
documentation = "https://docs.rs/stochastic-rs/latest/stochastic_rs/"
repository = "https://github.com/dancixx/stochastic-rs"
readme = "README.md"
keywords = ["stochastic", "process", "random", "simulation", "monte-carlo"]

[dependencies]
linreg = "0.2.0"
ndarray = { version = "0.16.1", features = [
"rayon",
"matrixmultiply-threading",
] }
num-complex = { version = "0.4.6", features = ["rand"] }
rand = "0.8.5"
rand_distr = "0.4.3"
rayon = "1.10.0"
plotly = "0.9.0"
ndarray-rand = "0.15.0"
ndrustfft = "0.5.0"
derive_builder = "0.20.1"
tikv-jemallocator = { version = "0.6.0", optional = true }
mimalloc = { version = "0.1.43", optional = true }

[dev-dependencies]

[features]
mimalloc = ["dep:mimalloc"]
jemalloc = ["dep:tikv-jemallocator"]
default = ["jemalloc"]

[lib]
name = "stochastic_rs"
crate-type = ["cdylib", "lib"]
path = "src/lib.rs"
doctest = false

[profile.release]
debug = false
codegen-units = 1
lto = true
[workspace]
members = ["stochastic-rs-core", "stochastic-rs-quant", "stochastic-rs-stats"]
resolver = "2"
2 changes: 1 addition & 1 deletion rustfmt.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
tab_spaces = 2
tab_spaces = 2
73 changes: 0 additions & 73 deletions src/diffusions/cir.rs

This file was deleted.

82 changes: 0 additions & 82 deletions src/diffusions/fcir.rs

This file was deleted.

70 changes: 0 additions & 70 deletions src/diffusions/fgbm.rs

This file was deleted.

87 changes: 0 additions & 87 deletions src/diffusions/fjacobi.rs

This file was deleted.

Loading

0 comments on commit aebd194

Please sign in to comment.