Estimate q vector from input B matrix B
We assume the input B is symmetric positive definite.
Because the solution is a square root, the sign of the returned vector is arbitrary. We set the vector to have a positive x component by convention.
Parameters: | B : (3,3) array-like
tol : None or float
|
---|---|
Returns: | q : (3,) vector
|