Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Mathematical expression configuration method and system

A mathematical expression and configuration method technology, applied in the field of mathematical expression configuration, can solve problems such as the inability to obtain the calculation results of mathematical expressions, and achieve the effect of improving accuracy

Pending Publication Date: 2020-01-31
BEIJING GRIDSUM TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The purpose of the present invention is to provide a configuration method and system for mathematical expressions to solve the problem that accurate calculation results of mathematical expressions cannot be obtained

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Mathematical expression configuration method and system
  • Mathematical expression configuration method and system
  • Mathematical expression configuration method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The specific implementation manners of the embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation manners described here are only used to illustrate and explain the embodiments of the present invention, and are not intended to limit the embodiments of the present invention.

[0023] figure 1 It is a flow chart of the configuration method of the mathematical expression provided by the present invention, such as figure 1 As shown, the method includes: scanning each element in a mathematical expression (step 101), and performing one or more of the following operations in the case that the type of the scanned element is an operand, to calculate the mathematical expression The result of the expression: when the type of the scanned element is an operand and is a dividend or a divisor, the dividend or a divisor is converted into a floating-point type (step 1...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a mathematical expression configuration method and system, and belongs to the technical field of mathematical expression configuration. The configuration method of the mathematical expression comprises the following steps: scanning each element in the mathematical expression; if the type of the scanned element is an operand, executing one or more of the following operationsto calculate a result of the mathematical expression: if the type of the scanned element is an operand and is a dividend or a divisor, converting the dividend or the divisor into a floating point type; and when the type of the scanned element is an operand and an illegal value, setting the illegal value to be zero. According to the method, the dividend or divisor and the illegal value in the mathematical expression are processed when the result of the mathematical expression is calculated according to the reverse Polish notation of the mathematical expression, so that the mathematical expression can obtain a correct calculation result, and the accuracy of analyzing the mathematical expression is greatly improved.

Description

technical field [0001] The invention relates to a configuration technology of mathematical expressions, in particular to a configuration method and system of mathematical expressions. Background technique [0002] There are many basic indicators in the multi-dimensional index analysis system. These basic indicators include, for example, clicks, exposures, visits, orders, costs, etc. When performing multi-dimensional analysis, it is often necessary to make some budgets based on these basic indicators, such as the need to Calculate the mathematical expression (clicks / exposures + 100)*cost. In practical applications, a common method is to convert such mathematical expressions into SQL statements (database query statements) for analysis. [0003] The technology currently used is to directly substitute the basic index into the mathematical expression for calculation. However, if the basic index in the mathematical expression has a null value (NULL in the program), for example, th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F17/10
CPCG06F17/10
Inventor 蒋亚飞
Owner BEIJING GRIDSUM TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products