Science Score: 44.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
✓CITATION.cff file
Found CITATION.cff file -
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
○DOI references
-
○Academic publication links
-
○Academic email domains
-
○Institutional organization owner
-
○JOSS paper metadata
-
○Scientific vocabulary similarity
Low similarity (6.3%) to scientific vocabulary
Keywords
Repository
A sparse linear system solver using the GMRES iterative method
Basic Info
Statistics
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 0
- Releases: 1
Topics
Metadata Files
README.md
GMRES: Generalized minimum residual method
A sparse linear system solver using the GMRES iterative method.
This crates provides a solver for Ax=b linear problems using the GMRES method.
Sparse matrices are a common representation for many real-world problems commonly
found in engineering and scientific applications. This implementation of the
GMRES method is specifically tailored to sparse matrices, making it an efficient
and effective tool for solving large linear systems arising from real-world
problems.
Example:
Solve a linear system
```rust use gmres; use rsparse::data::Sprs;
fn main() {
// Define an arbitrary matrix A
let a = Sprs::newfromvec(&[
vec![0.888641, 0.477151, 0.764081, 0.244348, 0.662542],
vec![0.695741, 0.991383, 0.800932, 0.089616, 0.250400],
vec![0.149974, 0.584978, 0.937576, 0.870798, 0.990016],
vec![0.429292, 0.459984, 0.056629, 0.567589, 0.048561],
vec![0.454428, 0.253192, 0.173598, 0.321640, 0.632031],
]);
// Define a vector `b`
let b = vec![0.104594, 0.437549, 0.040264, 0.298842, 0.254451];
// Provide an initial guess
let mut x = vec![0.; b.len()];
// Solve for `x`
gmres::gmres(&a, &b, &mut x, 100, 1e-5).unwrap();
// Check if the result is correct
gmres::test_utils::assert_eq_f_vec(
&x,
&vec![0.037919, 0.888551, -0.657575, -0.181680, 0.292447],
1e-5,
);
} ```
Owner
- Name: Ricard Lado
- Login: RLado
- Kind: user
- Location: Barcelona
- Company: Universitat Ramon Llull (IQS School of Engineering)
- Website: lado.one
- Repositories: 24
- Profile: https://github.com/RLado
PhD Candidate. I love Linux and all things open source.
Citation (CITATION.cff)
cff-version: 1.2.0
title: GMRES
message: >-
If you use this software, please cite it using the
metadata from this file.
type: software
authors:
- family-names: Lado-Roigé
given-names: Ricard
orcid: 'https://orcid.org/0000-0002-6421-7351'
repository-code: 'https://github.com/RLado/GMRES'
url: 'https://crates.io/crates/gmres'
abstract: >-
A sparse linear system solver using the GMRES iterative method implemented in Rust
keywords:
- sparse-matrices
- linear-algebra
- math
- rust
- GMRES
license: MIT
version: 1.0.0
date-released: '2024-04-12'
GitHub Events
Total
- Fork event: 1
Last Year
- Fork event: 1
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Total issue authors: 0
- Total pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 0
- Average time to close issues: N/A
- Average time to close pull requests: N/A
- Issue authors: 0
- Pull request authors: 0
- Average comments per issue: 0
- Average comments per pull request: 0
- Merged pull requests: 0
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cargo 4,693 total
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 4
- Total maintainers: 1
crates.io: gmres
A sparse linear system solver using the GMRES iterative method.
- Documentation: https://docs.rs/gmres/
- License: MIT
-
Latest release: 1.0.0
published almost 2 years ago
Rankings
Maintainers (1)
Dependencies
- actions/checkout v3 composite