In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail what the Qin Jiushao program is. The editor thinks it is very practical, so I share it for you as a reference. I hope you can get something after reading this article.
"positive and negative prescription", known as "Qin Jiushao procedure", occupied a leading position in the field of mathematics at that time. It was not until more than 500 years later, in 1819, that the British mathematician Horner put forward the "Horner method" which was the same as the principle of this achievement.
"positive and negative prescription" is also known as "Qin Jiushao procedure".
Positive and negative prescription is an ancient Chinese algorithm, which refers to a method of finding the numerical solution of univariate higher order equation in ancient China. This method was obtained by Qin Jiushao, a mathematician in the Southern Song Dynasty, who summarized and improved the "prescription" of "Shu Nine chapters", Liu Yi's "positive and negative prescription" and Jia Xian's "multiplication method".
"positive and negative prescription" is an algorithm to transform the evaluation problem of unary n-degree polynomials into n-degree polynomials. It greatly simplifies the calculation process, even in modern times, when using computers to solve the evaluation problem of polynomials, Qin Jiushao algorithm is still the best algorithm.
It is called Horner algorithm in the West and is named after Horner, a British mathematician.
Calculation method.
Generally speaking, the evaluation of unary polynomial of degree n needs to go through (n times 1) * n times multiplication and n times addition, while Qin Jiushao algorithm only needs n times multiplication and n times addition. In manual calculation, the operation process is greatly simplified at one time.
Conclusion: for a polynomial of degree n, do at most n times multiplication and n times addition.
So much for sharing about what the Qin Jiushao program is. I hope the above content can be helpful to everyone and learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.