Gravity and magnetic fast inversion method with cross-gradient based on function fitting. Issue 2 (3rd October 2022)