Arithmetic processing apparatus, display control method, and program

The arithmetic processing device facilitates variable identification by switching between arithmetic expression and variable list views, using color or gradation distinctions to differentiate inputable and non-inputable variables, enhancing user understanding and efficiency.

JP2024165331APending Publication Date: 2024-11-28CASIO COMPUTER CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
JP2023081446
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-05-17
Publication Date
2024-11-28

AI Technical Summary

Technical Problem

Conventional scientific calculators struggle to distinguish between variables that require numerical input and those that are solution targets in arithmetic expressions, making it difficult for users to identify which variables should be assigned numerical values.

Method used

The arithmetic processing device displays an arithmetic expression on a display unit, allowing users to switch to a variable list view, distinguishing between variables that can accept numerical input and those that cannot, using different colors or gradations to highlight the inputable variables.

Benefits of technology

Enables users to easily identify which variables should be assigned numerical values and which should not, improving user operability and clarity in handling arithmetic expressions with multiple variables.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024165331000001_ABST
    Figure 2024165331000001_ABST
Patent Text Reader

Abstract

To make it possible to discriminate a variable to which a numerical value is to be assigned from other variables, regarding an arithmetic expression including multiple variables.SOLUTION: When a user performs a predetermined operation through an operation key 12, a CPU 10 displays a screen for a list of variables on a display 14 via a display driver 13. The screen for the list of variables displays a list of available variables A, B, C, D, E, F, x, y, z and numerical values assigned to the variables, respectively. The CPU 10 displays, in black, variables and values thereof, the values being included in an arithmetic expression input by the user and accepting numerical values input by the user, and displays, in light gray, variables which do not accept numerical values input by the user (such as arguments or variables to be solved). The CPU 10 moves a highlighted section (cursor position) according to a predetermined operation of the user and assigns input numerical values to the highlighted section (cursor position) to be held.SELECTED DRAWING: Figure 1
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to a processor, a display control method, and a program. [Background technology]

[0002] In conventional scientific calculators, when assigning values ​​to each variable in an arithmetic formula that contains multiple variables (including arguments), a technique has been proposed that allows the user to identify which variables have been assigned values ​​by identifying only those variables to which the user has assigned values ​​from among the variables displayed in a list (see, for example, Patent Document 1). [Prior art documents] [Patent documents]

[0003] [Patent Document 1] JP 2005-149440 A Summary of the Invention [Problem to be solved by the invention]

[0004] However, the variables included in the arithmetic expressions include arguments for which values ​​are set on the scientific calculator side and variables for which a solution is derived by arithmetic processing (called solution-finding targets). Therefore, simply displaying a list of variables used in arithmetic expressions makes it difficult for the user to distinguish which of all the listed variables should be assigned a value and which should not.

[0005] An object of the present invention is to make it possible to distinguish between variables to which numerical values ​​should be assigned and variables to which numerical values ​​should not be assigned in an arithmetic expression containing a plurality of variables. [Means for solving the problem]

[0006] The arithmetic processing device of the present invention is characterized in that it includes a control unit that displays an arithmetic equation including a plurality of variables on a display unit, switches from displaying the arithmetic equation to displaying a list of variables in response to a user operation, and controls the display unit to distinguish between variables included in the arithmetic equation and capable of accepting numerical input by the user and variables that do not accept numerical input by the user among the listed variables.

[0007] The display control method of the present invention is characterized by including the steps of: displaying an arithmetic expression including a plurality of variables on a display unit; switching from displaying the arithmetic expression to displaying a list of variables in response to a user operation; and displaying on the display unit, among the listed variables, variables that are included in the arithmetic expression and that can accept numerical input by the user and variables that cannot accept numerical input by the user in a distinguishable manner.

[0008] The program of the present invention is characterized by realizing a function of causing a computer of an electronic device that performs calculations according to an arithmetic expression to display, on a display unit, an arithmetic expression including a plurality of variables; a function of switching from displaying the arithmetic expression to displaying a list of variables in response to a user's operation; and a function of causing, on the display unit, variables included in the arithmetic expression and capable of accepting numerical input by the user and variables that do not accept numerical input by the user in a distinguishable manner, among the listed variables. Effect of the Invention

[0009] According to the present invention, it is possible to distinguish between variables to which a numerical value should be assigned and variables to which a numerical value should not be assigned in an arithmetic expression containing a plurality of variables. [Brief description of the drawings]

[0010] [Figure 1] 1 is a block diagram showing a configuration of a processor 1 according to the present embodiment. [Diagram 2] 1 is a front view showing the external configuration of a processor 1 according to the present embodiment. [Diagram 3]4 is a flowchart showing the operation (main processing) of the arithmetic processing device 1 according to the present embodiment. [Figure 4] 4 is a flowchart showing the operation (variable list display process) of the arithmetic processing device 1 according to the present embodiment. [Diagram 5] 2 is a schematic diagram showing an example of a screen of a list of variables in the arithmetic processing device 1 according to the present embodiment. FIG. [Figure 6] 4 is a flowchart showing the operation (highlight display control process) of the arithmetic processing device 1 according to the present embodiment. [Figure 7] FIG. 2 is a schematic diagram showing an example of movement of a highlighted display (cursor position) on a variable list screen of the arithmetic processing device 1 according to the present embodiment. [Figure 8] 2 is a schematic diagram showing an operation example (creating a graph or a table (numerical table)) of the arithmetic processing device 1 according to the present embodiment. FIG. [Figure 9] 2 is a schematic diagram showing an operation example (solve (solver)) of the arithmetic processing device 1 according to the present embodiment. FIG. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0011] A. Configuration of the embodiment The best mode for carrying out the present invention will be described below with reference to the drawings. However, the embodiment described below is subject to various technically preferable limitations for carrying out the present invention, but the scope of the invention is not limited to the following embodiment and illustrated examples.

[0012] FIG. 1 is a block diagram showing the configuration of a processing device 1 according to this embodiment. The processing device 1 has a CPU 10, a memory 11, operation keys 12, a display driver 13, and a display 14. The processing device 1 is a scientific calculator capable of processing an arithmetic expression including a plurality of variables. The processing device 1 may be any of various electronic devices having a function of calculating values ​​other than a calculator, or may be a program that emulates a scientific calculator by software. The processing device 1 may have a configuration other than that shown in FIG. 1.

[0013] The CPU 10 is a processor that controls various operations of the arithmetic processing device 1. The CPU 10 may be an ASIC, an FPGA, or the like. The CPU 10 also operates to display an arithmetic expression consisting of a plurality of variables, operators, etc., input in response to operations on the operation keys 12, in a natural display format on the display 14, perform calculations using numerical values ​​substituted for the variables included in the arithmetic expression, and display the calculation results on the display 14.

[0014] The memory 11 includes a ROM and a RAM. The ROM is a non-volatile memory and stores various programs such as calculation programs for executing various functions. The RAM is a volatile memory. The RAM is used as a working memory for temporarily storing various data in the CPU 10, a frame memory for displaying an input arithmetic expression on the display 14 in a natural display format, and the like. The various data include, for example, the arithmetic expression, multiple variables included in the arithmetic expression, arguments passed to the arithmetic expression, numerical values ​​substituted by the user into the variables, and calculation results. The arithmetic expression includes multiple variables, functions, symbols, numerical values, decimal points, operators, and calculation results. Note that the multiple variables included in the arithmetic expression are given information (for example, a flag) indicating whether they are arguments or variables to be solved.

[0015] The operation keys 12 include various keys for the user to operate the arithmetic processing device 1. When an operation using the operation keys 12 is accepted, an input signal corresponding to the operation is supplied to the CPU 10. The display driver 13 drives the display 14 under the control of the CPU 10. The display driver 13 sends various signals required for driving the display 14 to the display 14. The display 14 is an m×n dot display device composed of a liquid crystal display, an organic EL display, or the like. The display 14 displays various items related to the arithmetic processing in four gradations: black, dark gray, light gray, and white. In this embodiment, it is sufficient that the display can be made in at least two gradations, black and light gray, but is not limited thereto. For example, dark gray and white may be used instead of light gray. Also, color display may be used.

[0016] In this embodiment, multiple variables A, B, C, D, E, F, x, y, and z are prepared as variables that can be used in an arithmetic expression. These multiple variables A, B, C, D, E, F, x, y, and z are used as arguments for passing numerical values ​​to an arithmetic expression when inputting the arithmetic expression (e.g., x in f(x), particularly variables x, y, and z), as variables that can accept arbitrary numerical input by the user, and as variables to be solved (e.g., variable y in y=A×x+B) that are found so that the arithmetic expression is valid in the solver (solve) function. The solver (solve) function is a function that finds the value of any variable included in the arithmetic expression so that the arithmetic expression is valid.

[0017] The CPU 10 also displays a variable list screen for the user to assign desired values ​​to variables included in the arithmetic expression or to check assigned values. The variable list screen displays a list of available variables A, B, C, D, E, F, x, y, and z and the values ​​assigned to each of them. When displaying the variable list screen, the CPU 10 displays, among the available variables A, B, C, D, E, F, x, y, and z, variables that are included in the arithmetic expression and that can accept user input of values ​​in black, and displays the solution-finding target variables and variables not used in the arithmetic expression in light gray.

[0018] Normally, arguments do not need to be defined by the user (they cannot be set from the variable list screen), but it is possible to set the start value, end value (predetermined numerical range), and step value of the arguments in advance on a separate screen. The variables to be solved are variables to which the user cannot assign numerical values. In this embodiment, variables displayed in black are variables that can accept numerical input by the user, and variables displayed in light gray (variables that are not used in arguments, variables to be solved, or arithmetic expressions) are variables that do not need to be defined by the user, i.e., variables that do not accept numerical input by the user.

[0019] Furthermore, in this embodiment, when selecting a variable to which a numerical value is to be assigned on the variable list screen, the CPU 10 controls the highlighting indicating the variables to be input in response to a user operation so as to skip variables displayed in light gray and move only variables displayed in black.

[0020] In this way, by differentiating the display of variables that can accept numeric input by the user from the other arguments, variables to be solved, and variables not used in the arithmetic expression on the variable list screen, the user can easily visually identify the variables that can accept numeric input. Also, by controlling the highlighting to move only to the variables that can accept numeric input by the user on the variable list screen, arguments that do not accept numeric input, variables to be solved, and variables not used in the arithmetic expression are skipped, thereby improving operability.

[0021] Fig. 2 is an external front view of the arithmetic processing device 1 according to this embodiment. As shown in Fig. 2, operation keys 12 and a display 14 are provided on the front of the housing of the arithmetic processing device 1. The display 14 has an m x n dot matrix type display area, and is configured to display symbols, icons, characters, arithmetic expressions, arithmetic results, and the like.

[0022] The operation keys 12 have numeric keys 121, arithmetic keys 122, and function, symbol, and function keys 123. The numeric keys 121 are keys for inputting numeric values, and include, for example, a numeric keypad corresponding to each of the numeric values ​​from 0 to 9. The numeric keypad also functions as a key for inputting variables A, B, C, D, E, F, x, y, z, and the like, by using a SHIFT key in combination when inputting an arithmetic expression. The arithmetic keys 122 include operator keys corresponding to each of the operators + (addition), - (subtraction), × (multiplication), and ÷ (division), and an EXE (execute operation) key. The function, symbol, and function keys 123 include function symbol keys such as "log", "ln", "sin", "cos", and "tan" that are operated when inputting an arithmetic expression or a functional expression, function keys for implementing various functions of the arithmetic processing device 1, and cursor keys.

[0023] In particular, the keys used in this embodiment include a home key 20 for returning to the home screen, a back key 21 for returning to the previous operation screen, a function key 22 for inputting an arithmetic expression, a variable list key 23 for displaying a list of multiple variables, cursor keys 24 for moving the cursor up, down, left and right, a decision (OK) key 25, PAGE_UP / PAGE_DOWN keys 26, a tool key 27, and an EXE key 28.

[0024] B. Operation of the embodiment FIG. 3 is a flowchart showing the operation (main processing) of the arithmetic processing device 1 according to this embodiment. First, when the user presses the home key 20, the CPU 10 displays a home screen on the display 14 via the display driver 13. On the home screen, menus (icons) showing various arithmetic functions (basic calculation, statistical calculation, distribution calculation, spreadsheet, graph creation, table (numerical table) creation, function calculation, solve (solver), etc.) are displayed. When the user selects a desired arithmetic function from the menu (icon) on the home screen, for example, function calculation, the CPU 10 detects this (YES in step S10) and proceeds to the function calculation process selected by the user (step S12). If the selection of function calculation is not detected (NO in step S10), the process proceeds to another process (step S24).

[0025] The user selects function calculation, and after pressing function key 22 of operation keys 12, operates numeric keys 121, calculation keys 122, function, symbol, and function keys 123, etc. to input an arithmetic expression including multiple variables. CPU 10 accepts the arithmetic expression input in response to the user's operation of numeric keys 121, calculation keys 122, function, symbol, and function keys 123, etc., and displays it in a natural display format on display 14 via display driver 13 (step S12).

[0026] At this point, if the arithmetic equation has arguments (such as x in f(x)), the user sets the start value, end value, step value, etc. of the arguments in advance on a specified screen. If the user does not set them, they are automatically set on the arithmetic processing device 1 side, or default values ​​are used. Also, if Solve (Solver) is selected from the menu (icon) on the home screen, the user specifies which of the multiple variables included in the arithmetic equation is to be the variable to be solved.

[0027] Next, the CPU 10 judges whether or not the variable list key 23 has been pressed by the user (step S14). If it is judged that the variable list key 23 has not been pressed (NO in step S14), the CPU 10 judges whether or not the decision key 25 for instructing the execution of the calculation has been pressed (step S20). If it is judged that the decision key 25 has not been pressed (NO in step S20), the CPU 10 returns to step S12 and waits with the inputted calculation formula displayed on the display 14. In this state, the user can edit the calculation formula. Meanwhile, the user presses the variable list key 23 to assign a numerical value to a variable included in the calculation formula.

[0028] If it is determined that the user has pressed the variable list key 23 (YES in step S14), the CPU 10 switches to a variable list screen (variable list display function) and prompts the user to input numerical values ​​for the variables included in the arithmetic expression (step S16).

[0029] The variable list screen displays a list of variables A, B, C, D, E, F, x, y, and z that can be used by the processor 1, and the numerical values ​​assigned to each variable. The CPU 10 moves the highlight display in response to the user's operation of the PAGE_UP / PAGE_DOWN keys 26, and assigns and holds a numerical value to the highlighted variable in response to the user's operation of the numeric keys 121.

[0030] Next, the CPU 10 judges whether or not the user has pressed the back key 21 on the variable list screen (step S18). If it is judged that the back key 21 has not been pressed (NO in step S18), the process returns to step S16 and continues the process of substituting values ​​into the variables. On the other hand, if it is judged that the user has pressed the back key 21 (YES in step S18), the CPU 10 proceeds to step S20 and returns to the input screen for the arithmetic expression.

[0031] On the other hand, when it is determined that the input of the arithmetic formula and the input of the numerical values ​​for the variables have been completed and the user has pressed the decision key 25 (or the EXE key 28) (NO in step S20), the CPU 10 performs calculations according to the arithmetic formula using the numerical values ​​substituted for the variables, arguments, etc., and displays the calculation results on the display 14 via the display driver 13 (step S22). Then, the process ends. Alternatively, if the power is not turned off, the process may return to step S10 and repeat the above-mentioned process until the home key 20 is pressed.

[0032] Fig. 4 is a flowchart showing the operation of step S16. Fig. 5 is a schematic diagram showing an example of a screen of a list of variables of the arithmetic processing device 1 according to this embodiment. The details of the process in step S16 will be described with reference to Figs. 4 and 5.

[0033] First, the CPU 10 evaluates the inputted arithmetic expression and creates a variable list consisting of a list of variables used in the arithmetic expression (step S30). For example, if the arithmetic expression is f(x)=A×sin(B×x)+E, the list of variables used in the arithmetic expression will be four: A, B, x, and E. In the above arithmetic expression, the variable x is an argument passed to the function f().

[0034] Next, the CPU 10 sets a variable i for counting variables A, B, C, D, E, F, x, y, and z to 0 (step S32), and judges whether the i-th variable exists in the variable list (step S34). When i=1, the variable A is a variable, when i=2, the variable C is a variable, when i=3, the variable D is a variable, when i=4, the variable E is a variable, when i=5, the variable F is a variable, when i=6, the variable x is a variable, when i=7, the variable y is a variable, when i=8, and the variable z is a variable, when i=9. If it is judged that the i-th variable exists in the variable list (YES in step S34), it judges whether the variable satisfies an exclusion condition (step S36). The exclusion condition is a variable (argument or solution target variable) that does not accept a numerical value input by the user. Which variables are arguments and which variables are solution target variables among the variables included in the arithmetic expression are determined in step S12 of FIG. 3.

[0035] If the i-th variable does not satisfy the exclusion condition (NO in step S36), that is, if the variable is capable of accepting numerical input from the user, the CPU 10 displays the i-th variable and its value in black on the variable list screen 30 (step S38; identifiable display function).

[0036] On the other hand, if the i-th variable does not exist in the input arithmetic expression (NO in step S34), i.e., if it is a variable that is not used in the arithmetic expression, or if the i-th variable satisfies the exclusion condition (YES in step S36), i.e., if it is a variable (argument, variable to be solved) that does not accept numerical input by the user, the CPU 10 displays the i-th variable and its value in light gray on the variable list screen 30 (step S40; identification display function).

[0037] When the i-th variable has been displayed in black or gray, CPU 10 judges whether or not the display process has been completed for all variables (step S46). If the display process has not been completed for all variables (NO in step S42), CPU 10 increments variable i by one (step S44) and returns to step S34. Thereafter, steps S34 to S42 described above are repeated until the display process for variable z is completed, and display processes are executed for available variables A, B, C, D, E, F, x, y, and z.

[0038] For example, as described above, when the arithmetic expression is f(x)=A×sin(B×x)+E, the list of variables used in the arithmetic expression includes four variables, A, B, x, and E, and the variables that can accept numerical input by the user are the variables A, B, and E, while the variable (argument) that cannot accept numerical input by the user is the variable x. As shown in FIG. 5, the variable list screen 30 displays a list of variables A, B, C, D, E, F, x, y, and z, and the numerical values ​​substituted for the variables. Therefore, in this case, the variables A, B, and E and their values ​​are displayed in black, and the other variables C, D, E, F, x, y, and z and their values ​​are displayed in light gray.

[0039] When the black / light gray display on the variable list screen 30 is completed, the CPU 10 highlights the first variable that can be input and its value by displaying it in black and white inversion. Note that the value in the highlighted location corresponds to the cursor position, and it becomes possible to input and edit the value (step S46).

[0040] Next, the CPU 10, while moving the highlight on the variable list screen 30 in response to the user's operation of the PAGE_UP / PAGE_DOWN keys 26 (step S48), determines whether or not the user has input a numerical value from the numerical keys 121 (step S50). If it is determined that a numerical value has not been input (NO in step S50), the CPU 10 returns to step S48 and repeats the process of determining whether or not a numerical value has been input while moving the highlight on the variable list screen 30 in response to the user's operation of the PAGE_UP / PAGE_DOWN keys 26.

[0041] On the other hand, if it is determined that the user has input a numerical value from the numerical keys 121 for the highlighted variable that has been moved in response to the operation of the PAGE_UP / PAGE_DOWN keys 26 (YES in step S50), the CPU 10 assigns the input numerical value to the highlighted variable on the variable list screen 30 and stores it (step S52). Figure 5 shows a state in which 20 has been assigned to variable A, 10 to variable B, and 0 to variable E. Thereafter, the process returns to step S18 in Figure 3.

[0042] Fig. 6 is a flowchart showing the operation (highlight display control process) of the arithmetic processing device 1 according to this embodiment. Fig. 7 is a schematic diagram showing an example of the movement of the highlight display on the variable list screen of the arithmetic processing device 1 according to this embodiment. The movement process of the highlight display on the variable list screen described in step S46 above will be described in detail with reference to Figs. 6 and 7.

[0043] First, in the initial state where the variable list screen 30 is displayed, as shown in the upper part of Fig. 7, the highlight 40 is at the position of the first variable that can be input (for example, variable A) (see step S46 in Fig. 4). With the variable list screen 30 displayed, the CPU 10 first sets the variable j for counting variables to the ordinal number of the variable currently being highlighted (step S60). For example, as described above, when variable A is highlighted 40, variable i is 1.

[0044] Next, the CPU 10 determines whether the user has pressed the PAGE_DOWN key 26 (step S62). If the PAGE_DOWN key 26 has been pressed (YES in step S62), the variable j is incremented by one and the variable to be processed advances by one (step S64). That is, if the initial variable j=1 and variable A, then at this point variable j becomes 2, and variable B becomes the variable to be processed. Note that the variable j has a maximum value equal to the number of available variables Max (Max=9 in this embodiment), and cycles from 1, 2, ..., 9, 1, 2, ..., 9.... That is, when variable j reaches Max, j becomes 1 again.

[0045] Next, the CPU 10 judges whether the j-th variable is present in the variable list, i.e., whether it is a variable used in the arithmetic expression (step S66). If it is judged that the j-th variable is present in the variable list (YES in step S66), it judges whether the j-th variable satisfies an exclusion condition (step S68). The exclusion condition is when the j-th variable is an argument or a variable to be solved that does not accept a numerical value input by the user.

[0046] If the jth variable does not satisfy the exclusion condition (NO in step S68), that is, if the variable is capable of accepting numerical input from the user, the CPU 10 highlights the jth variable and its value on the variable list screen 30 (step S78).

[0047] On the other hand, if the jth variable does not exist in the variable list (NO in step S66), i.e., if it is a variable that is not used in the arithmetic expression, or if the jth variable satisfies the exclusion condition (YES in step S36), i.e., if it is a variable (argument or target variable for solution) that does not accept numerical input from the user, CPU 10 returns to step S64, increments variable j by one, advances (skips) the target variable by one, and repeats the above-mentioned process.

[0048] For example, when the current highlighting is at the position of variable A, as in the variable list screen 30 shown in Fig. 7, the next variable is variable B, which exists in the variable list (YES in step S66) and does not satisfy the exclusion condition (NO in step S68), so that variable B and its value are highlighted 41 (step S68) as in the variable list screen 31 shown in Fig. 7. Then, the process returns to step S50 (input of a numerical value) in Fig. 4.

[0049] On the other hand, when the current highlight is at the position of variable B, as in the screen 31 of the variable list shown in FIG. 7, the j (=3)th variable is variable C, and since variable C does not exist in the variable list (NO in step S66), the variable C is skipped, variable j is incremented by one (j=4), and the process proceeds to variable D, which is the next variable after variable C. Similarly, since the next variable D does not exist in the variable list (NO in step S66), the variable D is skipped, variable j is incremented by one (j=5), and the process proceeds to variable E, which is the next variable after variable D. Since variable E exists in the variable list (NO in step S66), that is, since variable E is used in the arithmetic expression, the variable E and its value are highlighted 42 as in the screen 32 of the variable list shown in FIG. 7 (step S78). Thereafter, the process returns to step S50 (input of numerical value) in FIG. 4.

[0050] Furthermore, when the PAGE_DOWN key 26 is pressed while the variable E is highlighted 42, the variable j is incremented by one (j=6, 7, 8, 9) each time, and the process proceeds to the variables F, x, y, and z. Since the variables F, y, and z do not exist in the variable list (NO in step S66), and the variable x is an argument and satisfies the exclusion condition (YES in step S68), the variables F, x, y, and z are skipped in sequence, and after one round, the process returns to the first variable A. Since the variable A exists in the variable list as described above (YES in step S66) and does not satisfy the exclusion condition (NO in step S68), the variable A and its value are highlighted as shown on the variable list screen 30 (step S78). After that, the process returns to step S50 (input of numerical value) in FIG. 4.

[0051] On the other hand, if the user has not pressed the PAGE_DOWN key 26 (NO in step S62), the CPU 10 judges whether or not the user has pressed the PAGE_UP key 26 (step S70). If the PAGE_UP key 26 has been pressed (YES in step S70), the variable j is decremented by one and the variable being processed is returned by one (step S72). Note that the variable j has a maximum value equal to the number of available variables Max (Max=9 in this embodiment), and cycles through 1, 9, 8, 7, ..., 1, 9, .... That is, when the variable j reaches 0, j=9 again.

[0052] Next, CPU 10 judges whether the j-th variable is present in the variable list, i.e., whether it is a variable used in the arithmetic expression (step S74). If it is judged that the j-th variable is present in the variable list (YES in step S74), CPU 10 judges whether the j-th variable satisfies the exclusion condition (step S76).

[0053] If the j-th variable does not satisfy the exclusion condition (NO in step S76), that is, if the variable is capable of accepting a numerical value input by the user, the CPU 10 highlights the j-th variable and its value on the variable list screen 30 (step S78). Then, the process returns to step S50 (numerical value input) in FIG. 4.

[0054] On the other hand, if the jth variable does not exist in the variable list (NO in step S74), i.e., if it is a variable that is not used in the arithmetic expression, or if the jth variable satisfies the exclusion condition (YES in step S76), i.e., if it is a variable (argument or target variable for solution) that does not accept numerical input from the user, CPU 10 returns to step S72, decrements variable j by one, goes back (skips) the target variable for processing by one, and repeats the above-mentioned process.

[0055] Referring to the example shown in FIG. 7, each time the PAGE_DOWN key 26 is pressed, the highlighting cycles in the opposite direction to the dotted arrow shown, from the initial variable A → variable E → variable B → variable A → variable E → variable B, etc.

[0056] In this way, each time the PAGE_UP / DOWN keys 26 are pressed, only the variables and their values ​​that the user can enter and that are displayed in black are highlighted in sequence, so that the user can easily specify the desired variable and input the value to be assigned without having to perform the cumbersome operation of moving through all the variables in sequence.

[0057] FIG. 8 is a schematic diagram showing an example of an operation (creating a graph or a table (numerical table)) of the arithmetic processing device 1 according to this embodiment. First, the user presses the function key 22 from the operation keys 12, and then inputs the arithmetic formula f(x)=A×sin(B×x)+E as shown on the screen 50. Next, when the user presses the tool key 27, the screen 51 appears for setting the value of the argument x. On the screen 51, the start value Start, the end value End, and the step value Step of the argument x can be set. Note that this operation is not necessary if the value of the variable x used as the argument has already been set. In the illustrated example, 1 is input for the start value Start, 5 for the end value End, and 1 for the step value Step. Also, when the return key 21 is pressed on the screen 51, the screen 50 can be returned to and the arithmetic formula can be edited.

[0058] Next, when the user presses the variable list key 23 on the screen 50 or 51, the screen changes to a variable list screen 52. On the variable list screen 52, variables A, B, and E that are included in the arithmetic expression and can accept a user's numerical input are displayed in black, and the argument x that does not accept a user's numerical input and variables C, D, F, y, and z that are not used in the arithmetic expression are displayed in light gray. Also, on the variable list screen 52, the highlight display 43 skips the variables displayed in light gray and moves around only the variables A, B, and E that are displayed in black. The user operates the PAGE_UP / DOWN keys 26 to move the highlight display 43 to the position of a desired variable and input a numerical value to be substituted for that variable. In the illustrated example, 20 is input to variable A, 10 is input to variable B, and 0 is input to variable E.

[0059] When the user finishes inputting values ​​to the variables on the screen 52 of the variable list and presses the return key 21, the screen returns to the previous screen 50 or screen 51. When the user presses the EXE key 28 on the screen 50 or operates the cursor key 24 on the screen 51 to scroll downward, moves the highlight to Execute on the screen 53, and presses the OK key 25, an operation is performed according to the formula f(x)=A×sin(B×x)+E using the variables A, B, E, and the argument x, and the operation result is displayed on the display 14. In the illustrated example, as shown on screen 54, a graph is displayed (when creating a graph) with the argument x on the horizontal axis (corresponding to the coordinate value on the graph) and the operation result of f(x) on the vertical axis, and as shown on screen 55, a table is displayed as the operation result of f(x) corresponding to the argument x (when creating a table (numerical table)).

[0060] FIG. 9 is a schematic diagram showing an operation example (solve (solver)) of the arithmetic processing device 1 according to this embodiment. First, the user presses the function key 22 from the operation keys 12, and then inputs the arithmetic equation y=A×x+B as shown on a screen 60. At this stage, all of the variables y, A, x, and B are variables for which the user can input numerical values. In the solve (solver), the user specifies a target variable for which a solution is to be obtained by arithmetic processing. Then, the user presses the decision (OK) key 25 to display a screen 61 for specifying the target variable for which a solution is to be obtained. All the variables y, A, x, and B included in the arithmetic equation are displayed on the screen 61. The user operates the cursor key 24 to highlight the target variable for which a solution is to be obtained, and presses the decision (OK) key 25. On the screen 61, the variable y is specified as the target variable for which a solution is to be obtained. When the target variable for which a solution is to be obtained is determined, the screen changes to a screen 62.

[0061] When the user presses the variable list key 23 on the screen 62, the screen changes to a variable list screen 63. On the variable list screen 63, variables A, B, and x that are included in the arithmetic expression and can accept a numerical input by the user are displayed in black, and the other solution target variable y that does not accept a numerical input by the user and variables C, D, E, F, and z that are not used in the arithmetic expression are displayed in light gray. Also, on the variable list screen 63, as described above, the highlight display 44 skips the variables displayed in light gray in response to the user's operation of the PAGE_UP / DOWN keys 26, and moves around only the variables A, B, and x that are displayed in black. The user operates the PAGE_UP / DOWN keys 26 to move the highlight display 44 to the position of a desired variable and input a numerical value to be substituted for that variable. In the illustrated example, 20 is input to variable A, 10 is input to variable B, and 5 is input to variable x.

[0062] When the user finishes inputting values ​​for variables A, B, and x on the screen 63 listing the variables and presses the return key 21, the screen returns to the previous screen 62. When the user scrolls down with the cursor keys 24 to move the highlight to Execute and presses the OK key 25, a calculation is performed using the variables A, B, E, and argument x according to the formula y=A×x+B (y=20×5+10), and the calculation result is displayed on the display 14. In the illustrated example, as shown on screen 65, the calculation result shows that the solution for the variable y to be solved is 110, and LR (left side-right side)=0.

[0063] In the above-described embodiment, when highlighting a variable for which a numerical value is to be input in the variable list display, the variable can be moved by operating the PAGE_UP / DOWN keys 26. In addition, however, it is also possible to move to all variables by operating the cursor keys 24 up, down, left and right.

[0064] In addition, in the above-described embodiment, variables that can accept numerical input and variables that cannot accept numerical input are displayed in different gradations, but this is not limited to the above, and in the case of a display capable of displaying in color, they may be displayed in different colors.

[0065] In addition, in the above-described embodiment, in order to make the operation procedure easier to understand, the variable list screen is only accessible from certain screens. However, this is not limited to the above, and it is basically possible to access the variable list screen from any screen by pressing the variable list key 23.

[0066] According to this embodiment, when a list of variables is displayed on the display 14 in a variable list screen, variables included in the arithmetic expression input by the user and for which a numerical value can be input by the user are displayed in black, and variables (including arguments or variables to be solved) for which a numerical value cannot be input by the user are displayed in light gray, so that it is easy to distinguish between variables to which the user should assign a numerical value and variables to which the user should not assign a numerical value for an arithmetic expression containing multiple variables. In addition, the variables displayed as a list include all variables other than those included in the arithmetic expression input by the user, so that it is possible to save the effort of designing not to display variables not included in the arithmetic expression when controlling the display.

[0067] According to the present embodiment described above, arguments having values ​​that change by predetermined step values ​​within a predetermined numerical range are treated as variables that do not accept numerical input by the user and are displayed in a light gray identifiable manner on the variable list screen. This makes it easy for the user to distinguish between variables into which a numerical value should be assigned and variables into which a numerical value should not be assigned in an arithmetic expression that contains multiple variables.

[0068] According to the above-described embodiment, when the calculation result of an arithmetic formula is drawn as a graph, the arguments used as coordinate values ​​on the graph are variables that do not accept numerical input by the user, and are displayed identifiable in light gray on the variable list screen. Therefore, for an arithmetic formula that contains multiple variables, the variables to which the user should assign numerical values ​​and the variables to which they should not be assigned can be easily distinguished.

[0069] According to the above-described embodiment, the variables to be solved in an arithmetic equation are variables that do not accept numerical input by the user, and are displayed in a light gray color on the variable list screen so that they can be easily identified. Therefore, when an arithmetic equation contains multiple variables, the variables to which the user should assign numerical values ​​and the variables to which they should not be assigned can be easily identified.

[0070] According to the present embodiment described above, when a list of variables is displayed, variables that do not accept numerical input by the user are displayed in light gray, which is more difficult to see than variables that can accept numerical input. This makes it easy for the user to distinguish between variables into which a numerical value should be assigned and variables into which a numerical value should not be assigned in an arithmetic expression that includes multiple variables.

[0071] According to the present embodiment described above, the movement of the highlight display is controlled so that only variables that can accept numerical input are selectable when the user enters a numerical value. This makes it possible to easily specify a desired variable and input a numerical value to be assigned thereto, without having to perform the cumbersome operation of moving all the variables in order. [Explanation of symbols]

[0072] 1...Processing unit, 10...CPU, 11...Memory, 12...Operation keys, 13...Display driver, 14...Display, 20...Home key, 21...Return key, 22...Function keys, 23...Variable list key, 24...Cursor keys, 25...Decision (OK) key, 26...PAGE_UP / DOWN keys, 27...Tool keys, 28...EXE key, 30-32, 50-55, 60-65...Screen, 121...Numeric keys, 122...Operation keys, 123...Function, symbol, and function keys

Claims

1. Display an arithmetic expression containing multiple variables on the display. Switching from displaying the arithmetic expression to displaying a list of variables in response to a user operation; and controlling the display unit to distinguish between variables that are included in the arithmetic expression and that can accept a numerical input by the user and variables that cannot accept a numerical input by the user among the listed variables. A processing device comprising a control unit.

2. The control unit causes the display unit to distinguishably display variables that are included in the arithmetic expression and that can accept a numerical input by the user, and variables that do not accept a numerical input by the user regardless of whether they are included in the arithmetic expression. The processor according to claim 1 .

3. The variable that does not accept a numerical value input is an argument that is passed to the arithmetic expression. The processor according to claim 1 .

4. The arguments have values ​​that vary in predetermined step values ​​within a predetermined numerical range.

4. The processor according to claim 3.

5. the arguments correspond to coordinate values ​​on a graph when the arithmetic expression is plotted as a graph, The processor according to claim 4 .

6. The variable that does not accept a numerical input is a variable in the arithmetic expression to be solved. The processor according to claim 1 .

7. The control unit is When displaying the list of variables, the display unit is controlled so that the variables that do not accept a numerical input are displayed in a display form that is more difficult to see than the variables that can accept a numerical input. The processor according to any one of claims 1 to 6.

8. The control unit is Controlling so that only the variables that can accept the numerical input are selectable when the user inputs a numerical value; The processor according to claim 7 .

9. displaying an arithmetic expression including a plurality of variables on a display unit; switching the display of the arithmetic expression to a list display of variables in response to a user operation; displaying, on the display unit, variables that are included in the arithmetic expression and that can accept a numerical value input by the user from variables that cannot accept a numerical value input by the user, among the variables displayed in the list; A display control method comprising:

10. A computer is an electronic device that performs calculations according to an arithmetic formula. A function that displays an arithmetic expression containing multiple variables on the display. A function for switching from displaying the arithmetic expression to displaying a list of variables in response to a user operation; a function of displaying, on the display unit, variables that are included in the arithmetic expression and that can accept a numerical input by the user and variables that cannot accept a numerical input by the user, among the variables displayed in the list; A program to achieve this.

Citation Information

Patent Citations

  • Screen-sharing control method

    JP2005149440A