quara.math.func_proj module
- proj_to_hyperplane(var_a)[source]
return the function of projection that maps to the hyperplane \(x \cdot a = ||a||^2\).
- Parameters
var_a (np.ndarray) – the point that determines the hyperplane.
- Returns
the function of projection that maps to the hyperplane \(x \cdot a = ||a||^2\).
- Return type
Callable[[np.ndarray], np.ndarray]