About 50 results
Open links in new tab
  1. How do I calculate square root in Python? - Stack Overflow

    Jan 20, 2022 · How to find integer nth roots? Is there a short-hand for nth root of x in Python? Difference between ** (1/2), math.sqrt and cmath.sqrt? Why is math.sqrt () incorrect for large numbers? Python …

  2. math - Integer square root in python - Stack Overflow

    Mar 13, 2013 · In case anyone visits this page in the future, the python module gmpy2 is designed to work with very large inputs, and includes among other things an integer square root function.

  3. How to perform square root without using math module?

    Jun 15, 2010 · 17 I want to find the square root of a number without using the math module,as i need to call the function some 20k times and dont want to slow down the execution by linking to the math …

  4. performance - Which is faster in Python: x**.5 or math.sqrt (x ...

    In python 2.6 the (float).__pow__() function uses the C pow() function and the math.sqrt() functions uses the C sqrt() function. In glibc compiler the implementation of pow(x,y) is quite complex and it is well …

  5. Is there a library function for Root mean square error (RMSE) in python?

    Jun 20, 2013 · What is RMSE? Also known as MSE, RMD, or RMS. What problem does it solve? If you understand RMSE: (Root mean squared error), MSE: (Mean Squared Error) RMD (Root mean …

  6. How to find out if a number is a perfect square without using sqrt ...

    Aug 1, 2019 · How to find out if a number is a perfect square without using sqrt function or ** in Python? [duplicate] Asked 6 years, 8 months ago Modified 4 years, 2 months ago Viewed 6k times

  7. Math module sqrt function python - Stack Overflow

    May 15, 2020 · 0 I was exploring through the maths function in python 3.0. I have written the following code for the following question. I am not sure if the answer is right. Write a code segment that only …

  8. Python: looking for a faster, less accurate sqrt() function

    Dec 10, 2018 · I'm looking for a cheaper, less accurate square root function for a high volume of pythagorus calculations that do not need highly accurate results. Inputs are positive integers, and I …

  9. python - Applying sqrt function on a column - Stack Overflow

    May 16, 2016 · Applying sqrt function on a column Asked 9 years, 11 months ago Modified 4 years, 11 months ago Viewed 114k times

  10. python - Problem Data Fitting with Square Root function - Stack …

    May 14, 2020 · I try to fit this experimental data with a square root function, using python and the module scipy.optimize. The code for plotting and fitting looks like this. def curve(x, a, b): return np....