Comments (2)
There is a typo in svd3.rs:45 where rho0
is swapped with rho2
but it should be rho1
that is swapped with rho2
. I don't think this is the cause of the bug though.
from nalgebra.
Here is an updated test that looks more like the tests in tests/linalg/svd.rs
#[test]
// Exercises bug reported in issue #1215 of nalgebra (https://github.com/dimforge/nalgebra/issues/1215)
fn svd_regression_issue_1215() {
let x = nalgebra::matrix![
1.0f32, 0.0, 0.0;
0.0, 0.99999994, 0.0;
0.0, -0.00000054691924, 1.0000005
];
let x_svd = x.svd(true, true);
assert!(is_sorted_descending(x_svd.singular_values.as_slice()));
}
from nalgebra.
Related Issues (20)
- add symmetric_eigen_unordered
- Macros for RowVector and RowDVector
- Alga traits not implemented by statically-sized matrices/vectors? HOT 5
- Incorrect results from pseudo_inverse HOT 4
- Matrix multiplication does not work over all generics, with misleading compiler error HOT 1
- Similarity scaling private
- `VectorView?` type alias too restrictive? HOT 1
- nalgebra_glm's Functions Don't Account for Unsigned Integer Types.
- Changed serialization breaks things HOT 3
- Instable Matrix determinants (compared to numpy, online calculator) HOT 18
- assertion at VectorView3::<T>::from(&view3_from_owned3).clone_owned()
- Add a way to get a column slice HOT 2
- Missed minor version bump? HOT 2
- Wrong result of min() and max() in nalgebra::base::min_max::Matrix when f64::NAN is included HOT 4
- CUDA target is unmaintained HOT 1
- lapack qr factorization HOT 1
- When using nalgebra_glm, how to call transform_point?
- Planes and Culling Frustums HOT 1
- Unable to multiply complex matrix with complex scalar from the left HOT 2
- Allow bitshifting matricies if they are integers HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nalgebra.