Invention Grant
- Patent Title: Methods and systems for using datatypes to represent common properties
-
Application No.: US15801277Application Date: 2017-11-01
-
Publication No.: US10902012B1Publication Date: 2021-01-26
- Inventor: Jason D. Breslau
- Applicant: The MathWorks, Inc.
- Applicant Address: US MA Natick
- Assignee: The MathWorks, Inc.
- Current Assignee: The MathWorks, Inc.
- Current Assignee Address: US MA Natick
- Agency: Finnegan, Henderson, Farabow, Garrett & Dunner, LLP
- Main IPC: G06F16/25
- IPC: G06F16/25 ; G06F16/28 ; G06F3/0484 ; G06F9/451 ; G06F16/84 ; G06F16/22

Abstract:
Methods and systems for using common property datatypes are described. In some embodiments, a system may receive an assignment statement a data structure comprising a first object of a first datatype, the first datatype one of multiple datatypes supporting a common property, the multiple datatypes representing the common property using differing native values, and a common property object of a common property datatype, the common property object representing the common property supported by the multiple datatype. The system can execute or interpret the subscripted assignment statement, converting the common property object into a second object of the first datatype, the second object having a first native value representing the common property for the first datatype. The system can assign the second object to a location of the first object in the data structure. The common property can be at least one of a maximum, minimum, missing, and default.
Information query