发明名称 Indexing to extract homogeneous arrays from heterogeneous arrays
摘要 A device receives, in a technical computing environment (TCE), a heterogeneous array that includes columns and rows, and receives a command that references multiple columns and one or more rows of the heterogeneous array. The device determines, based on the command, that the referenced multiple columns of the heterogeneous array include a same data type. The device creates, based on the command and based on determining that the referenced multiple columns of the heterogeneous array include the same data type, a homogeneous array that includes the referenced multiple columns and the referenced one or more rows of the heterogeneous array. The device outputs the homogeneous array for further processing.
申请公布号 US9152657(B1) 申请公布日期 2015.10.06
申请号 US201313803901 申请日期 2013.03.14
申请人 The MathWorks, Inc. 发明人 Perkins Peter C.;Hicklin Joseph F.;Skofield Abigail S.
分类号 G06F7/00;G06F17/30 主分类号 G06F7/00
代理机构 Harrity & Harrity, LLP 代理人 Harrity & Harrity, LLP
主权项 1. A method comprising: receiving, in a technical computing environment (TCE), a heterogeneous array that includes columns and rows, the receiving the heterogeneous array being performed by a device; receiving a command for use in creating a homogeneous array from the heterogeneous array, the command referencing multiple columns and one or more rows of the heterogeneous array,the receiving the command being performed by the device; determining that the referenced multiple columns of the heterogeneous array include a single data type or multiple data types that are convertible to a same data type, the determining being performed by the device; creating, based on the command and based on determining that the referenced multiple columns of the heterogeneous array include the single data type or the multiple data types that are convertible to the same data type, the homogeneous array from the heterogeneous array, creating the homogeneous array from the heterogeneous array including extracting the referenced multiple columns and the referenced one or more rows from the heterogeneous array,the homogeneous array including the referenced multiple columns and the referenced one or more rows of the heterogeneous array,the TCE including an operation that is operable on the homogeneous array and that is not operable on the heterogeneous array,the creating the homogeneous array being performed by the device; and outputting the homogeneous array for further processing,the outputting the homogeneous array being performed by the device.
地址 Natick MA US