From 80ba914aa4efc82f2119319ad0775aa08060827a Mon Sep 17 00:00:00 2001 From: Shramee Srivastav Date: Sat, 7 Sep 2024 12:26:23 -0400 Subject: [PATCH] chore: fast root docs equation --- packages/math/src/fast_root.cairo | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/math/src/fast_root.cairo b/packages/math/src/fast_root.cairo index 7d065da0..924c33c8 100644 --- a/packages/math/src/fast_root.cairo +++ b/packages/math/src/fast_root.cairo @@ -1,7 +1,7 @@ //! # Fast root algorithm using the Newton-Raphson method use super::pow; -/// Newton-Raphson optimization to solve the equation x^r = a. +/// Newton-Raphson optimization to solve the equation a^r = x. /// The optimization has a quadratic convergence rate. /// # Arguments /// * ` x ` - The number to calculate the root of