You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The documentation for SolveH says "Note that only the upper triangular portion of the matrix is used.". However it actually uses the lower triangular portion. For example:
let a = array![[1.0,3.0],[5.0,2.0]];let b = array![29.0,30.0];let x = a.solveh(&b).unwrap();println!("solution = {x:.1}");
prints solution = [4.0, 5.0], which is using the 5.0 off-diagonal element rather than 3.0.
The text was updated successfully, but these errors were encountered:
The documentation for SolveH says "Note that only the upper triangular portion of the matrix is used.". However it actually uses the lower triangular portion. For example:
prints
solution = [4.0, 5.0]
, which is using the5.0
off-diagonal element rather than3.0
.The text was updated successfully, but these errors were encountered: