Arc-tangent function data structure and establishment method, and function value acquisition method and device
A technology of arc tangent function and data structure, which can be used in electrical digital data processing, digital data processing components, instruments, etc., and can solve problems such as large system resource consumption.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0060] figure 1 A method flow chart is established for the arctangent function data structure of the present invention. Such as figure 1 As shown, the arctangent function data structure establishment method may include the following steps:
[0061] S11, dividing the independent variable into N+1 intervals according to the value range of the independent variable x of the arctangent function; N is a positive integer;
[0062] According to the value range of the independent variable x of the arctangent function, the independent variable is divided into N+1 intervals, where N is a positive integer. The N+1 intervals may be intervals of equal length or intervals of unequal length. Taking equal-length division as an example, assuming that the value range of the independent variable is [a,b], the independent variable x can be divided into the following N+1 intervals: Among them, a and b are constants.
[0063] Further, the independent variable can also be divided into N+1 inter...
Embodiment 2
[0082] figure 2 It is a schematic diagram of the arctangent function data structure of the present invention, such as figure 2 As shown, the arctangent function data structure includes:
[0083] N fitting straight lines 21; and
[0084] Arctangent function value lookup table 22;
[0085] Wherein, the N fitting straight lines are respectively used to perform straight line fitting on the arctangent functions corresponding to the first N intervals, and the arctangent function value lookup table is used to store the function of the arctangent function of the N+1th interval value.
[0086] The arctangent function data structure in this embodiment can be established based on the arctangent function data structure establishment method in the first embodiment, and the arctangent function data structure establishment method of the arctangent function data structure is the same as the arctangent function data in the first embodiment The embodiments of the structure establishment m...
Embodiment 3
[0098] Such as image 3 As shown, the present invention also provides a method for obtaining an arctangent function value, which may include the following steps:
[0099] S21, obtaining the absolute value of the argument of the arctangent function;
[0100] S22. If the interval of the absolute value is one of the first N intervals, calculate the function of the arctangent function according to the sign of the independent variable and the fitting line corresponding to the interval of the absolute value value;
[0101] S23, if the interval to which the absolute value belongs is the N+1th interval, look up the corresponding table value in the arctangent function value lookup table, and calculate according to the sign of the independent variable and the table value The function value of the arctangent function.
[0102] The method for obtaining the arctangent function value of this embodiment can be used to obtain the arctangent function value of the arctangent function data st...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com