Systems and methods for implementing formulas
First Claim
1. A method performed by a processor for building a formula, the formula including an operator and operands with associated dimensions, the method comprising:
- receiving a first operand of the formula;
identifying a first dimension associated with the first operand;
receiving an operator of the formula;
determining, based on the identified first dimension and the received operator, at least one compatible dimension for the first dimension associated with the first operand wherein the one compatible dimension is different from the first dimension;
receiving a second operand of the formula;
identifying a second dimension associated with the second operand; and
flagging an error if the second dimension is not at least one of the compatible dimensions for the first dimension.
3 Assignments
0 Petitions
Accused Products
Abstract
Systems and methods are provided for building and implementing formulas. The systems and methods may treat operands in a formula as having a value and a unit type or dimension and may recognize the compatibility of unit types among operands. One embodiment performs automatic error checking of a formula based on the value and dimension of the operands and the expected result. The automatic error checking may be performed to assist a user in defining and building a formula. Another embodiment performs automatic unit conversion based on the value and unit type of the formula'"'"'s operands. The automatic unit conversion may be performed when applying data to the formula during runtime or execution of an application program.
44 Citations
21 Claims
-
1. A method performed by a processor for building a formula, the formula including an operator and operands with associated dimensions, the method comprising:
-
receiving a first operand of the formula; identifying a first dimension associated with the first operand; receiving an operator of the formula; determining, based on the identified first dimension and the received operator, at least one compatible dimension for the first dimension associated with the first operand wherein the one compatible dimension is different from the first dimension; receiving a second operand of the formula; identifying a second dimension associated with the second operand; and flagging an error if the second dimension is not at least one of the compatible dimensions for the first dimension. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A system for building a formula, the formula including an operator and operands with associated dimensions, comprising:
-
means for receiving a first operand of the formula; means for identifying a first dimension associated with the first operand; means for receiving an operator of the formula; means for determining, based on the identified first dimension and the received operator, at least one compatible dimension for the first dimension associated with the first operand wherein the one compatible dimension is different from the first dimension; means for receiving a second operand of the formula; means for identifying a second dimension associated with the second operand; and means for flagging an error if the second dimension is not at least one of the compatible dimensions for the first dimension. - View Dependent Claims (9, 10, 11, 12, 13, 14)
-
-
15. A computer program product for building a formula, the formula including an operator and operands with associated dimensions, comprising code for causing a processor to perform the steps of:
-
receiving a first operand of the formula; identifying a first dimension associated with the first operand; receiving an operator of the formula; determining, based on the identified first dimension and the received operator, at least one compatible dimension for the first dimension associated with the first operand wherein the one compatible dimension is different from the first dimension; receiving a second operand of the formula; identifying a second dimension associated with the second operand; and flagging an error if the second dimension is not at least one of the compatible dimensions for the first dimension. - View Dependent Claims (16, 17, 18, 19, 20, 21)
-
Specification