MCPcopy Create free account
hub / github.com/TheAlgorithms/Rust / power_iteration

Function power_iteration

src/machine_learning/principal_component_analysis.rs:70–118  ·  view source on GitHub ↗

Power iteration method to find the dominant eigenvalue and eigenvector

(matrix: &[f64], n: usize, max_iter: usize, tolerance: f64)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

test_power_iterationFunction · 0.85

Calls 2

maxMethod · 0.80
iterMethod · 0.45

Tested by 1

test_power_iterationFunction · 0.68