Function rs_pbrt::core::transform::solve_linear_system_2x2
source · pub fn solve_linear_system_2x2(
a: [[Float; 2]; 2],
b: [Float; 2],
x0: &mut Float,
x1: &mut Float
) -> bool
Expand description
Finds the closed-form solution of a 2x2 linear system.