Mathematical expression processing device, mathematical expression processing method, and program
The device highlights setting items in a scientific calculator based on user operations and conditions, addressing the challenge of confirming necessary changes in setting states for formula calculation, thereby improving user convenience and accuracy.
Patent Information
- Application Number
- JP2024113169
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2024-07-16
- Publication Date
- 2026-01-28
AI Technical Summary
Users find it difficult to confirm which setting items need to be changed when entering a formula that is not permitted in the current setting state of a scientific calculator.
A mathematical processing device that changes the display form of setting items based on user operations, highlighting those that are in a set state and satisfying specific conditions, allowing easy confirmation of setting states or items related to formula calculation.
Facilitates easy confirmation of setting states or items related to formula calculation, enabling users to correct settings and obtain accurate results.
Smart Images

Figure 2026013028000001_ABST
Abstract
Description
[Technical Field]
[0001] An embodiment of the present invention relates to a computer algebraic processing device, a computer algebraic processing method, and a computer program product. [Background technology]
[0002] In a conventional scientific calculator in which multiple setting items related to mathematical calculations can be set in response to user operation, the multiple setting items are classified into multiple types, such as setting the angle unit (degrees / radians / grads, etc.), setting the complex calculation mode (real numbers / complex numbers, etc.), and setting the display format (decimals / mathematical notation, etc.), and only characters and buttons (icons) indicating setting items that are exclusively selected and set among the multiple setting items included in each type are displayed in a status bar, or when a mathematical formula that is not recognized in the current setting state is entered, the unrecognized part of the entered mathematical formula is highlighted and displayed (see, for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2022-189056 Summary of the Invention [Problem to be solved by the invention]
[0004] In the above prior art, when a formula that is not permitted in the current setting state is entered, the user can know which part of the entered formula needs to be corrected, but it is difficult for the user to confirm the setting state or setting item that needs to be changed, rather than the formula.
[0005] The problem to be solved by the present invention is to provide a computer algebra processing device, a computer algebra processing method, and a computer program product that make it easy to check the setting status or setting items related to calculation of a formula. [Means for solving the problem]
[0006] A mathematical processing device according to an embodiment is a mathematical processing device that can change the setting states of a plurality of setting items, which are classified into a plurality of types and are related to the calculation of a mathematical formula, in response to a user operation, and includes a control unit that executes processing to not display display objects corresponding to setting items that are in a non-set state among the plurality of setting items classified into each of the plurality of types, but to display display objects corresponding to setting items that are in a set state, arranged by type, and, when it is determined that an input mathematical formula satisfies any of a plurality of conditions corresponding to each of the plurality of setting items or a plurality of conditions corresponding to each of the plurality of types, to change the display form of the display object corresponding to the setting item that is determined to satisfy the condition or the type that is determined to satisfy the condition to a display form different from the display forms of the display objects corresponding to other setting items or other types. [Effects of the Invention]
[0007] According to the present invention, it is possible to provide a computer algebra processing device, a computer algebra processing method, and a computer program product that allow easy confirmation of setting states or setting items related to calculation of a mathematical formula. [Brief explanation of the drawings]
[0008] [Figure 1] 1 is a front view showing the external configuration of a scientific calculator 10 according to an embodiment of a computer program product, a computer program product, and a computer program according to the present invention; [Figure 2] 1 is a block diagram showing the configuration of a scientific calculator 10. FIG. [Figure 3] 1 is a diagram showing a plurality of setting items related to the calculation functions of the scientific calculator 10, in association with symbols (icons) for displaying the setting status of each setting item in the status bar Bs. [Figure 4] 14 is a diagram showing a display condition table (14d) that associates conditions for changing the display form of symbols (icons) of setting items that are in a setting state in the scientific calculator 10 with the contents of the change. FIG. [Figure 5]10 is a flowchart showing a display change process of setting items executed by the control unit (CPU) 13 in accordance with the calculator control program 14a of the scientific calculator 10. [Figure 6] 10A to 10C are diagrams illustrating the display operation (part 1) of the calculation screen Gm and the status bar Bs in accordance with the display change process of the setting items of the scientific calculator 10. [Figure 7] 10A to 10C are diagrams illustrating the display operation (part 2) of the calculation screen Gm and the status bar Bs in accordance with the display change process of the setting items of the scientific calculator 10. [Figure 8] 10A to 10C are diagrams illustrating the display operation (part 3) of the calculation screen Gm and the status bar Bs in accordance with the display change process of the setting items of the scientific calculator 10. DETAILED DESCRIPTION OF THE INVENTION
[0009] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, embodiments of a computer algebra processing device, a computer algebra processing method, and a computer program according to the present invention will be described with reference to the accompanying drawings. The formula processing device of the present invention is not limited to the scientific calculator 10 shown in FIG. 1, but also includes other electronic devices that have at least a calculation function and include a key input unit 11, a display unit 12, a control unit (CPU) 13 (see FIG. 2), and a storage unit 14 (see FIG. 2). The control unit 13 includes at least one processor. The formula processing device may also be a calculation server that is set up on the Internet and provides a variety of calculation services, including an emulator of the scientific calculator 10, to terminal devices (communication devices) used by users, such as PCs and tablet devices.
[0010] As shown in FIG. 1, scientific calculator 10 has a key input unit 11 and a display unit 12 on the front side. Key input unit 11 includes a group of numeric and arithmetic symbol keys 111 for inputting mathematical expressions including numeric values, symbols, operators, etc. and for issuing instructions to execute calculations (an [EXE] (execute) key 111E), a group of function and setting function keys 112 for inputting various functions and variables and setting various functions, cursor keys 113 for moving a cursor and selecting data items displayed on display unit 12, and a group of function keys 114 for specifying various function items displayed along the bottom edge of display unit 12. Furthermore, when a key on key input unit 11 is subsequently operated after the [SHIFT] key of function and setting function keys 112 is operated, it functions as a key corresponding to a character string or symbol printed on the panel of key input unit 11 along the upper edge of the key, rather than the key function printed on the key top. For example, pressing the [SHIFT] key followed by the [MENU] key functions as a "SET UP" key, displaying a menu for selecting and setting multiple setting items (see FIG. 3) related to the calculation functions of the scientific calculator 10. The display unit 12 is made up of a dot-matrix color liquid crystal display unit. This allows the user to select and set any setting item related to the calculation functions of the scientific calculator 10 using the key input unit 11 and the display unit 12, and also allows the user to input any of a variety of mathematical expressions by selectively specifying numerical values, variables, symbols, operators, and functions, and to instruct the execution of calculations.
[0011] The display unit 12 of the scientific calculator 10 shown in Figure 1 displays a calculation screen Gm on which a user can input and display any mathematical formula and on which the calculation results of the input formula are displayed. At the top of the calculation screen Gm, a status bar Bs is provided for displaying only the symbols (icons) (display objects) of the set settings of the calculation functions, arranged in a line at predetermined display positions for each type of calculation function (symbols of set items that are not set are not displayed). In the scientific calculator 10, there are five types of settings related to the calculation functions that need to be displayed in the status bar Bs, as shown in Figure 3, for example: "input mode" setting, "angle unit" setting, "complex number calculation mode" setting, "fraction display format" setting, and "decimal / exponential display format" setting.
[0012] The "Input Mode" setting has two options: "Natural Display" (symbol [Math]), which displays formulas and calculation results in a natural mathematical format on the calculation screen G, and "Line Display" (symbol [Line]), which displays them in a single line. The "Angle Unit" setting has three options (the first option): "Degrees" (symbol [Deg]), which displays the angle units used in calculations in degrees, "Radians" (symbol [Rad]), which displays the angle units in radians, and "Grads" (symbol [Gra]). The "Complex Number Calculation Mode" setting has three options (the second option): "Real Range Calculation" (symbol [Real]), which disables complex number arithmetic and performs calculations only within the real range; "Effective Cartesian Coordinates" (symbol [a+bi]), which enables complex number arithmetic and displays calculation results in Cartesian format; and "Effective Polar Coordinates" (symbol [r∠θ]), which enables complex number arithmetic and displays calculation results in polar format. The "Fraction Display Format" setting has two settings (the third setting item): "Improper Fraction Display" (symbol [d / c]), which displays the result of a fraction calculation as an improper fraction, and "Mixed Fraction Display" (symbol [ab / c]), which displays the result as a mixed fraction. The "Decimal / Exponential Display Format" setting has four settings: "Exponential Display Priority" (symbol [Norm1]), which displays the result in exponential format; "Numeric Display Priority" (symbol [Norm2]), which displays the result in numeric format; "Number of Decimals" (symbol [Fix0~9]), which displays 0 to 9 decimal places; and "Number of Significant Digits" (symbol [Sci0~9]), which displays 1 to 10 significant digits. One of the multiple setting items for each setting type is selectively set to the default state or in response to user operation.
[0013] As shown in FIG. 2, the electronic circuit of scientific calculator 10 includes, in addition to key input unit 11 and display unit 12, control unit 13 (CPU), which is a computer, storage unit 14, recording medium reading unit 15, and short-range wireless communication unit 16 such as Bluetooth®. CPU 13 has at least one processor. Control unit 13 controls the operation of each circuit unit in accordance with calculator control program 14a stored in storage unit 14 and executes various arithmetic operations in response to key input signals from key input unit 11 and received signals from the outside via communication unit 16. Calculator control program 14a may be pre-stored in storage unit 14, or may be read and stored in storage unit 14 from an external recording medium M such as a memory card via recording medium reading unit 15, or may be downloaded and stored in storage unit 14 from a web server (here, a program server) 20 on an external communication network N via communication unit 16. The calculator control program 14a cannot be rewritten by a user operating key input unit 11.
[0014] The storage unit 14 further has various data storage areas, such as a mathematical formula data storage area 14b, a setting item data storage area 14c, a display condition table storage area 14d, a display data storage area 14e, and a working data storage area 14f. The mathematical formula data storage area 14b stores data of mathematical formulas input in response to the operation of the key input unit 11, data of calculation results, etc. As shown in Fig. 3, the setting item data storage area 14c stores data indicating setting items in a set state and setting items in a non-set state, for example, as a set state "1" and a non-set state "0", corresponding to a plurality of setting items (symbols (icons)) for each setting type related to the calculation function. In the display condition table storage area 14d, when a symbol (icon) of a setting item in the setting state "1" is displayed on the status bar Bs, the display form of the displayed setting item (symbol) is changed according to a mathematical formula input in response to a user operation and the calculation result thereof, and data on display change conditions for, for example, highlighting the setting item and data on the change content indicating how the change should be made are stored as a display condition table (14d) such as that shown in FIG. 4.
[0015] In the display condition table (14d) of the embodiment, for the icon ([Math] or [Line]) indicating the setting state of the "input mode" displayed on the status bar Bs, information is stored for changing the display form from normal black to blue and highlighting it when the display change condition "the formula contains operators or functions that are expanded vertically in natural mathematical display" is satisfied. For the icon ([Deg] or [Rad] or [Gra]) indicating the setting state of the "angle unit" similarly, information is stored for changing the display form and highlighting it when the display change condition "the formula contains trigonometric functions (sin / cos / tan) and inverse trigonometric functions" is satisfied. Furthermore, for the icon ([Real] or [a+bi] or [r∠θ]) indicating the setting state of the "complex number calculation mode", information is stored for changing the display form and highlighting it when the display change condition "the formula contains functions related to complex numbers (log / ln / X Similarly, when the display change condition "including √ / ..." is satisfied, information for changing the display format and highlighting is stored, and when the display change condition "the calculation result is a fraction" is satisfied, information for changing the display format and highlighting is stored for the icon ([d / c] or [ab / c]) indicating the setting state of the "fraction display format." Furthermore, when the calculation result is an error, information for changing the display format from black or blue to a stronger red display and highlighting is stored for the icon ([Deg], [Rad], or [Gra]) indicating the setting state of the "angle unit" and the icon ([Real], [a+bi], or [r∠θ]) indicating the setting state of the "complex number calculation mode."
[0016] In the display condition table (14d) of the embodiment, no display change conditions are defined for the icons ([Norm1] or [Norm2] or [Fix0-9] or [Sci0-9]) indicating the setting state of the "Decimal / Exponential Display Format" and the display form is not changed, but display change conditions may be defined to change the display form. Also, the method of changing the display form to highlight the icons of the setting items is not limited to changing the display color of the icons, and may be, for example, inverted display, blinking display, or other change methods. Also, in the display condition table (14d) of the embodiment, the display change conditions are described as being defined for each type of setting item, but they may be defined for each setting item.
[0017] The display data memory area 14e stores display data to be displayed on the display unit 12 in response to user operations or in accordance with the calculator control program 14a. For example, as shown in Fig. 1, when a mathematical formula is input and a calculation is performed, display data for a calculation screen Gm including a status bar Bs in which symbols (icons) for five setting items in the set state are arranged in a row, the mathematical formula input in response to user operations, and the calculation result obtained as the calculation is performed is stored in the display data memory area 14e. The working data memory area 14f temporarily stores various data generated or acquired in response to control of the operation of each unit by the control unit 13, as needed.
[0018] In the scientific calculator 10 (symbolic processing device) configured in this manner, the control unit 13 controls the operation of each circuit part in accordance with the instructions written in the calculator control program 14a, and the software and hardware work together to realize various functions as described in the operation explanation below.
[0019] Next, the operation of the scientific calculator 10 of the embodiment will be described. When the power is turned on by operating the [AC / ON] key of the numeric value / operation symbol key group 111, the control unit 13 causes the display unit 12 to display a main menu (not shown) that allows the user to select various function modes of the scientific calculator 10. When a calculation mode for performing scientific calculations is selected according to the main menu, the control unit 13 causes the display unit 12 to display a calculation screen Gm, for example, as shown in FIG. 6(A). Based on the setting item data (14c) stored in the setting item data storage area 14c (see FIG. 3), the control unit 13 displays the setting item icons (here, [Math], [Rad], [Norm1], [d / c], and [Real]) that are in the setting state "1" for each of the five setting types in a line from the left in the status bar Bs located at the top of the calculation screen Gm in black.
[0020] When a user inputs an arbitrary formula "sin 30" by operating the numeric value / operation symbol key group 111 and the function / setting function key group 112, the control unit 13 displays the formula "sin 30" corresponding to the key input on the calculation screen Gm (step S1 in FIG. 5). Assume that the user inputs the argument "30" of the formula "sin 30" as a numerical value in the angle unit "degrees." When an instruction to execute a calculation is given by operating the [EXE] key 111E (step S2 (Yes)), the control unit 13 executes the calculation corresponding to the formula "sin 30" and displays the calculation result on the calculation screen Gm as shown in FIG. 6(B) (step S3). Here, the calculation of the formula "sin 30" is executed based on the "angle unit" setting of "radians" (icon [Rad]), and the calculation result is displayed as "0.988...241."
[0021] The control unit 13 determines whether the display change condition is satisfied based on the display condition table (14d) stored in the display condition table storage area 14d (step S4). If it is determined that the display change condition "the formula contains trigonometric functions (sin / cos / tan)" corresponding to the setting state of "Angle Unit" "radian" (icon [Rad]) is satisfied (step S4 (Yes)), the control unit 13 highlights the icon [Rad] indicating the "Angle Unit" (radian) of the calculation result in the status bar Bs by changing its display mode from the usual black display to a blue display BL (step S5). By noticing the icon [Rad] highlighted in blue display BL in the status bar Bs, the user knows that the setting state of "Angle Unit" is "radian," and can confirm that the calculation result "0.988...241" displayed on the calculation screen Gm is incorrect and not a calculation result calculated in the desired angle unit "degree."
[0022] When the user reselects the setting state of the "Angle Unit" from "Radian" to "Degree" (Step S6 (Yes)), the control unit 13 changes the setting state of the "Angle Unit" to "Degree" (icon [Deg]) (Step S7). The control unit 13 automatically re-executes the calculation of the formula "sin 30" that has already been input, and displays the calculation result on the calculation screen Gm (Step S3). Here, the re-calculation of the formula "sin 30" is performed based on the setting state of the "Angle Unit" after the change, "Degree" (icon [Deg]), and the correct calculation result "1 / 2" desired by the user is displayed.
[0023] Furthermore, as shown in FIG. 7A, for example, when an arbitrary formula "log −1" is input by keyboard while the setting item icons (here, [Math], [Rad], [Norm1], [d / c], and [a+bi]) for each setting type (five types) are displayed in the status bar Bs based on the setting item data (14c) stored in the setting item data storage area 14c, the control unit 13 displays the formula "log −1" corresponding to the key input on the calculation screen Gm (step S1). Assume that the user intends to obtain the calculation result of the formula "log −1" in polar form. When the user instructs execution of the calculation using the [EXE] key 111E (step S2 (Yes)), the control unit 13 executes the calculation corresponding to the formula "log −1" and displays the calculation result on the calculation screen Gm as shown in FIG. 7B (step S3). Here, the calculation result of the formula "log -1" is displayed as "1.36...354i" in Cartesian format based on the "effective Cartesian coordinates" setting (icon [a+bi]) of the "Complex calculation mode."
[0024] Here, the display change condition corresponding to the setting state of "Complex number calculation mode" "Effective / Cartesian coordinates" (icon [a+bi]) "Formula contains functions related to complex numbers (log / ln / X When it is determined that the condition "including √ / ..." is satisfied (step S4 (Yes)), the control unit 13 highlights the icon [a+bi] indicating the setting state of the "complex number calculation mode" as "effective rectangular coordinates" in the status bar Bs by changing the display form from the usual black display to blue display BL (step S5). By noticing the icon [a+bi] highlighted in blue display BL in the status bar Bs, the user knows that the setting state of the "complex number calculation mode" is "effective rectangular coordinates" and can confirm that the calculation result "1.36...354i" displayed on the calculation screen Gm is not displayed in the desired display form.
[0025] When the user changes the setting state of the "complex number calculation mode" from "effective, rectangular coordinates" to "effective, polar coordinates" (step S6 (Yes)), the control unit 13 changes the setting state of the "complex number calculation mode" to "effective, polar coordinates" (icon [r∠θ]) (step S7). The control unit 13 automatically re-executes the calculation of the already entered formula "log -1" and displays the calculation result on the calculation screen Gm (step S3). Here, the re-calculation of the formula "log -1" is performed based on the setting state of the "complex number calculation mode" after the change, "effective, polar coordinates" (icon [r∠θ]), and the calculation result in the user-desired polar format, for example, "1.36...354∠100", is displayed.
[0026] 8(A), for example, based on the setting item data (14c) stored in the setting item data storage area 14c, while the icons (here, [Math], [Rad], [Norm1], [d / c], and [Real]) of the setting items in the setting state "1" of each setting type (five types) are displayed in the status bar Bs, an arbitrary formula "log -1" is inputted by keyboard to be displayed on the calculation screen Gm (step S1), and an instruction to execute the calculation is given by the [EXE] key 111E (step S2 (Yes)). At this time, it is assumed that the user is unaware that the setting state of the "complex number calculation mode" is set to "real number range calculation" (icon [Real]), or is unaware that the input formula "log -1" is an operation related to complex numbers. The control unit 13 executes the calculation corresponding to the formula "log -1" in accordance with the setting state "Real range calculation" (icon [Real]) of the "Complex number calculation mode," and determines that the condition for changing the display of a calculation error, which means that the calculation result exceeds the range of real numbers, has been met (steps S3, S4 (Yes)).
[0027] The control unit 13 highlights the icon [Real] in the status bar Bs, which indicates the setting state of the "complex number calculation mode" as "real number range calculation," by changing the display style from the usual black display to a red display RE (step S5), and also displays an error message "Non-Real ERROR" Em, which means that the calculation result exceeds the range of real numbers, in the center of the calculation screen Gm. The user can know that the setting state of the "complex number calculation mode" needs to be changed by noticing the icon [Real] highlighted in red RE in the status bar Bs together with the error message Em.
[0028] When the user changes the setting state of the "complex number calculation mode" from "real number range calculation" to, for example, "effective and rectangular coordinates" (step S6 (Yes)), the control unit 13 changes the setting state of the "complex number calculation mode" to "effective and rectangular coordinates" (icon [a+bi]) (step S7). The control unit 13 automatically re-executes the calculation of the already entered formula "log -1" and displays the calculation result on the calculation screen Gm (step S3). Here, the re-calculation of the formula "log -1" is performed based on the setting state of the "complex number calculation mode" after the change to "effective and rectangular coordinates" (icon [a+bi]), and the user can obtain the calculation result "1.36...354i" in a rectangular format including complex numbers, as shown in FIG. 7(B), for example.
[0029] 6 to 8, for example, when the user inputs a formula including a differential coefficient or a definite integral that is expanded vertically in the natural mathematical display in the "Line Display" setting of the "Input Mode" (icon [Line]) and executes a calculation, the control unit 13 highlights the icon [Line] in the status bar Bs by displaying it in blue (steps S1 to S5). The user notices the icon [Line] highlighted in blue (steps S1 to S5), and reselects the setting of the "Input Mode" from "Line Display" (icon [Line]) to "Natural Mathematical Display" (icon [Math]) and executes the calculation including a differential coefficient or a definite integral again, thereby displaying the input formula expanded vertically in the natural mathematical display on the calculation screen Gm and obtaining the calculation result (steps S6, S7 → S3). Furthermore, for example, when the "input mode" is set to "improper fraction display" (icon [d / c]), if a mathematical expression that results in a fraction is input and an operation is performed, the control unit 13 highlights the icon [d / c] in the status bar Bs in blue (steps S1 to S5). If the result of the operation is, for example, a numerator value that is greater than a denominator value, the user notices that the icon [d / c] is highlighted in blue (steps S6, S7, and S3). The user can then change the "input mode" setting from "improper fraction display" (icon [d / c]) to "mixed fraction display" (icon [ab / c]) and perform the operation that results in a fraction again, thereby obtaining the result of the input mathematical expression as a mixed fraction (steps S6, S7, and S3).
[0030] In addition, even if the user edits part of an entered formula without changing the setting state of the setting item that is the subject of the highlighting or error display of an icon in the status bar Bs or the display of the error message "Non-Real ERROR" Em, the control unit 13 can automatically re-execute the calculation of the edited formula and display the calculation result.
[0031] In the operation explanation according to the display change process of the setting items shown in FIG. 5, it was determined whether the display change condition for the icon of the setting item of the status bar Bs was satisfied in response to the instruction to execute the operation on the input formula. Not limited to this, for example, it may be determined whether the display change condition is satisfied in the input process of the formula and its arguments before the instruction to execute the operation, and the display form of the icon may be changed. For example, when it is determined that the input formula includes trigonometric functions (sin / cos / tan) in a state where the setting item "radian" is in the set state as the "angle unit" and the icon [Rad] is displayed in black on the status bar Bs, the display form of the icon [Rad] is changed from black display to blue display. Further, when the display change condition that the numerical value x input as the argument of the formulas "sin", "cos", and "tan" is not included in the range (-2π≦x≦2π) corresponding to the "radian" in the set state as the "angle unit" (x < -2π, 2π < x) is satisfied, the display form of the icon [Rad] may be changed more strongly from blue display to red display for highlighting, so as to prompt the user to re-enter the argument or re-set the "angle unit". That is, the icon of the setting item related to the function / operator included in the input formula is changed from black display (normal display) to blue display (first highlighting display), and further, when the input argument is out of the numerical value range assumed as the argument of the input function / operator (corresponding to the condition where the operation result becomes an error), the icon of the same setting item may be configured to be changed from blue display (first highlighting display) to red display (second highlighting display).
[0032] In this way, with the status bar Bs that displays the setting states of multiple setting items on the calculation screen Gm, only display objects (symbols (icons) in this case) corresponding to the setting items that are set among the multiple setting items classified by type are displayed in a single line at display positions predetermined for each type, while display objects corresponding to the setting items that are not set are not displayed. This eliminates the need for space to display the display objects indicating the type, and also eliminates the need for space to display the display objects indicating the setting items that are not set. Furthermore, there is no need to separately display the setting items and the display objects indicating their setting states (there is no need to display the setting states in a display format such as by displaying the display objects indicating the setting items separately from the character string indicating the setting items, or by displaying the characters of the setting items in black and the characters of the setting items in gray), which has the advantage that the setting states can be displayed in a small display area such as the display unit 12 of the scientific calculator 10.
[0033] On the other hand, for users who are not familiar with this display method of the status bar Bs, it is difficult to know which type each displayed object in the status bar Bs corresponds to, and it is also difficult to know what other options are available in the type of setting item other than the displayed setting item, so the user may not realize whether or not a setting state needs to be changed, or which type of setting item the setting state should be changed for. Therefore, in the display of the status bar Bs described in the embodiment, when advising on a setting item or the type of that setting item that may need to be changed, the advice is given by changing the display form of the object corresponding to the setting item that is currently set among the multiple setting items included in that type, so not only are the advantages of the status bar Bs as described above obtained, but the disadvantages of the status bar Bs as described above are eliminated, improving user convenience.
[0034] According to the scientific calculator 10 of the embodiment, there are a plurality of setting items corresponding to each setting type related to the calculation function, and one setting item from the plurality of setting items is selectively set to a set state for each setting type, and symbols (icons) (display objects) representing the set setting items corresponding to each type are displayed in black (first display mode) in a line in the status bar Bs of the calculation screen Gm, without displaying symbols for setting items that are not set. When it is determined that a formula (type of calculation) or calculation result entered and displayed on the calculation screen Gm satisfies any of a plurality of conditions predetermined in the display condition table (14d) corresponding to each setting type or each of a plurality of setting items, the display mode of the symbol corresponding to the type or setting item determined to satisfy the condition is changed from black to blue display BL (second display mode) and highlighted. This not only makes it possible to display setting items that are set exclusively for each setting type in the status bar Bs on the calculation screen Gm, which has a small display area, but also highlights the symbols of the setting types or setting items that relate to the type of calculation in the formula or the calculation results, thereby actively making the user aware of whether the current setting state of the setting items is the desired setting state or not, and can advise the user, for example, to change the setting state or re-enter the formula including arguments.
[0035] Furthermore, according to the scientific calculator 10 of the embodiment, if an input formula (including arguments) does not correspond to the setting status of a setting item and falls outside the expected numerical range of the argument, or if an error condition is met, such as a calculation error, the display mode of the symbol for the setting item in question is changed to red RE (third display mode) and highlighted. This makes the user aware of the setting status of the setting item or the input status of the argument that will cause an error in the current setting status of the setting item, and can advise the user to, for example, change the setting status or re-input the formula including the arguments. Therefore, it is possible to provide a scientific calculator 10 (a mathematical formula processing device, a mathematical formula processing method, and a program) that makes it easy to check the setting status or setting items related to the calculation of a mathematical formula.
[0036] In the scientific calculator 10 of the embodiment described above, the key input unit 11, including the group of numeric and operation symbol keys 111 through the group of function keys 114, is arranged in approximately one-half of the area from the bottom of the front of the housing, and the small display unit 12 is arranged in approximately one-third of the area from the top of the front of the housing. Of course, the scientific calculator 10 as a formula processing device is not limited to this configuration. For example, even in a different type of scientific calculator in which, instead of the group of function and setting function keys 112 and the group of function keys 114, a large touch-panel display unit that allows various operations, including key input, by touching a soft keyboard or icons, is arranged in approximately two-thirds of the area from the top of the front of the housing, the same functions and effects can be obtained by displaying a status bar Bs similar to the above. In this case, the symbol (icon) of the setting item in the status bar Bs that is currently set may be used as a software button, allowing the setting state of the target setting item to be changed. Furthermore, the display position of the status bar Bs relative to the calculation screen Gm may be not only at the top but also at the bottom.
[0037] The various processing methods performed by the formula processing device (scientific calculator) 10 described in the above embodiments, i.e., the various methods such as the display change processing of setting items based on the display condition table (14d) in Fig. 4 and the flowchart in Fig. 5, can be stored and distributed as programs executable by a computer on a medium of an external storage device such as a memory card (ROM card, RAM card, etc.), a magnetic disk (floppy (registered trademark) disk, hard disk, etc.), an optical disk (CD-ROM, DVD, etc.), or a semiconductor memory. The control unit (CPU) of the electronic device then loads the program stored on the medium of the external storage device into the storage device, and the operation is controlled by the loaded program, thereby realizing the various functions described in the embodiments and executing similar processing using the above-mentioned methods.
[0038] In addition, the program data for realizing each method can be transmitted over a communication network (N) in the form of program code, and the program data can be imported into an electronic device from a computer device (program server) connected to this communication network (N) and stored in a storage device, thereby realizing the various functions described above.
[0039] The present invention is not limited to the embodiments, and various modifications can be made in the implementation stage without departing from the spirit of the invention. Furthermore, the embodiments may be implemented in appropriate combinations, in which case the combined effects can be obtained. Furthermore, the embodiments include various inventions, and various inventions can be extracted by combining selected elements from the disclosed elements. For example, if the problem can be solved and the desired effect can be obtained even if some elements are deleted from all elements shown in the embodiments, the configuration from which these elements are deleted can be extracted as an invention. [Explanation of symbols]
[0040] 10...scientific calculator (mathematical processing device), 12...display unit, 13...control unit (CPU), 14a...calculator control program, 14c...setting item data storage area, 14d...display condition table storage area, Gm...calculation screen, Bs...status bar, [Rad][d / c][real]...symbols (displays) of setting items in setting state, BL, RE...highlighted display.
Claims
1. A computer algebra processing device capable of changing setting states of a plurality of setting items related to calculation of a mathematical formula, the setting items being classified into a plurality of types, in response to a user operation, comprising: among the plurality of setting items classified into each of the plurality of types, displaying display objects corresponding to setting items in a set state in an array by type without displaying display objects corresponding to setting items in a non-set state, when it is determined that the input mathematical expression satisfies any one of a plurality of conditions corresponding to each of the plurality of setting items or a plurality of conditions corresponding to each of the plurality of types, changing the display form of the display object corresponding to the setting item determined to satisfy the condition or the type determined to satisfy the condition to a display form different from the display forms of the display objects corresponding to other setting items or other types; A computer algebra processing device having a control unit for executing processing.
2. A plurality of pieces of condition information, each of which corresponds to a condition for changing the display mode and a setting item to be changed in the display mode, are stored in a storage unit in advance; when it is determined that the input mathematical expression satisfies a condition indicated by any one of the plurality of pieces of condition information, the control unit executes a process of changing a display form of the displayed object corresponding to the setting item indicated by the piece of condition information determined to satisfy the condition. The computer algebraic processing device according to claim 1 .
3. The condition for changing the display mode is a condition related to the type of calculation included in the mathematical expression or the calculation result of the mathematical expression. The computer algebraic processing device according to claim 2 .
4. The conditions for changing the display mode include a condition in which an error occurs as a result of calculation of a mathematical expression. The computer algebraic processing device according to claim 3 .
5. The conditions that result in an error include a condition in which an argument of the formula is outside the numerical range of an argument corresponding to the setting item in the setting state. The computer algebraic processing device according to claim 4 .
6. The control unit displaying the display object corresponding to the setting item that does not satisfy the condition for changing the display mode in a first display mode; changing the display form of the display object corresponding to a setting item that is determined to satisfy a condition related to the type of calculation included in the mathematical formula but not satisfy a condition that the calculation result of the mathematical formula will be an error to a second display form different from the first display form; execute a process of changing the display form of the display object corresponding to the setting item determined to satisfy the condition that the calculation result of the mathematical formula will be an error to a third display form different from both the first display form and the second display form; The computer algebra system according to claim 4 or 5.
7. the plurality of setting items include a first setting item related to angle units, a second setting item related to a complex number calculation mode, and a third setting item related to a fraction display format; the control unit executes a process of changing the display form of the displayed object corresponding to the first setting item when a condition that the mathematical formula includes a trigonometric function is satisfied, changing the display form of the displayed object corresponding to the second setting item when a condition that the mathematical formula includes a complex number is satisfied, and changing the display form of the displayed object corresponding to the third setting item when a condition that the mathematical formula includes a fraction or a mixed fraction is satisfied. The computer algebraic processing device according to claim 3 .
8. The determination of whether the condition is satisfied is made in response to the input process of the mathematical expression or the execution of the mathematical expression. The computer algebraic processing device according to claim 1 .
9. The control unit displaying the input mathematical formula on a display unit, and displaying display objects corresponding to the setting items in the setting state arranged by type on the display unit as a status bar; when it is determined that the mathematical formula displayed on the display unit satisfies any one of the plurality of conditions, changing the display form of the display object corresponding to the setting item or type determined to satisfy the condition, among the plurality of display objects displayed on the display unit as the status bar. The computer algebraic processing device according to claim 1 .
10. a control unit of a computer algebra processing device capable of changing setting states of a plurality of setting items related to calculation of a mathematical formula, the setting items being classified into a plurality of types, in response to a user operation; among the plurality of setting items classified into each of the plurality of types, displaying display objects corresponding to setting items in a set state in an array by type without displaying display objects corresponding to setting items in a non-set state, when it is determined that the input mathematical expression satisfies any one of a plurality of conditions corresponding to each of the plurality of setting items or a plurality of conditions corresponding to each of the plurality of types, changing the display form of the display object corresponding to the setting item determined to satisfy the condition or the type determined to satisfy the condition to a display form different from the display forms of the display objects corresponding to other setting items or other types; A mathematical processing method that performs the processing.
11. a control unit of a computer algebra processing device capable of changing setting states of a plurality of setting items related to calculation of a mathematical formula, the setting items being classified into a plurality of types, in response to a user operation; among the plurality of setting items classified into each of the plurality of types, displaying display objects corresponding to setting items in a set state in an array by type without displaying display objects corresponding to setting items in a non-set state, when it is determined that the input mathematical expression satisfies any one of a plurality of conditions corresponding to each of the plurality of setting items or a plurality of conditions corresponding to each of the plurality of types, changing the display form of the display object corresponding to the setting item determined to satisfy the condition or the type determined to satisfy the condition to a display form different from the display forms of the display objects corresponding to other setting items or other types; A program that executes a process.
Citation Information
Patent Citations
Device, method, and program for supporting numerical formula entry
JP2022189056A