TABLE APPLICATION PROGRAMMING INTERFACES (APIs)
Abstract
A device receives, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows, and receives a second variable with a second data type and the particular number of rows. The second data type may be different than the first data type. The device receives a command to create a table based on the first variable and the second variable, and creates, based on the command, a heterogeneous table that includes the first variable and the second variable. The device stores the heterogeneous table, and/or provides the heterogeneous table for display.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A method comprising:
receiving, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows,
the receiving first variable being performed by a device;
receiving a second variable with a second data type and the particular number of rows,
the second data type being different than the first data type, and
the receiving the second variable being performed by the device;
receiving a command to create a table based on the first variable and the second variable,
the receiving the command being performed by the device;
creating, based on the command, a heterogeneous table that includes the first variable and the second variable,
the creating the heterogeneous table being performed by the device; and
storing the heterogeneous table,
the storing the heterogeneous table being performed by the device.
2 . The method of claim 1 , further comprising:
providing the heterogeneous table for display.
3 . The method of claim 1 , further comprising:
receiving variable names for the first variable and the second variable; receiving row names for rows of the first variable and rows of the second variable; and creating, based on the command, the heterogeneous table,
the heterogeneous table including the variable names for columns of the heterogeneous table, and
the heterogeneous table including the row names for rows of the heterogeneous table.
4 . The method of claim 1 , where the command includes a syntax of:
T=table(VAR1,VAR2),
where T corresponds to the heterogeneous table, table corresponds to the command, VAR1 corresponds to the first variable, and VAR2 corresponds to the second variable.
5 . The method of claim 1 , further comprising:
receiving a file name for a file; receiving a file type associated with the file; receiving another command to write the heterogeneous table to the file; writing, based on the other command, the heterogeneous table to the file with the file name and the file type; and storing the file.
6 . The method of claim 5 , where the other command includes a syntax of:
writetable(T,FILENAME,FILETYPE),
where writetable corresponds to the other command, T corresponds to the heterogeneous table, FILENAME corresponds to the file name, and FILETYPE corresponds to the file type.
7 . The method of claim 5 , where the file type includes one of:
a text file type, a spreadsheet file type, or an xport file type.
8 . A computer-readable medium for storing instructions, the instructions comprising:
one or more instructions that, when executed by a processor of a device, cause the processor to:
receive, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows,
receive a second variable with a second data type and the particular number of rows,
the second data type being different than the first data type,
receive a command to create a table based on the first variable and the second variable,
create, based on the command, a heterogeneous table that includes the first variable and the second variable, and
store the heterogeneous table.
9 . The medium of claim 8 , further comprising:
one or more instructions that, when executed by the processor, cause the processor to:
provide the heterogeneous table for display.
10 . The medium of claim 8 , further comprising:
one or more instructions that, when executed by the processor, cause the processor to:
receive variable names for the first variable and the second variable,
receive row names for rows of the first variable and rows of the second variable, and
create, based on the command, the heterogeneous table,
the heterogeneous table including the variable names for columns of the heterogeneous table, and
the heterogeneous table including the row names for rows of the heterogeneous table.
11 . The medium of claim 8 , where the command includes a syntax of:
T=table(VAR1,VAR2),
where T corresponds to the heterogeneous table, table corresponds to the command, VAR1 corresponds to the first variable, and VAR2 corresponds to the second variable.
12 . The medium of claim 8 , further comprising:
one or more instructions that, when executed by the processor, cause the processor to:
receive a file name for a file,
receive a file type associated with the file,
receive another command to write the heterogeneous table to the file,
write, based on the other command, the heterogeneous table to the file with the file name and the file type, and
store the file.
13 . The medium of claim 12 , where the other command includes a syntax of:
writetable(T,FILENAME,FILETYPE),
where writetable corresponds to the other command, T corresponds to the heterogeneous table, FILENAME corresponds to the file name, and FILETYPE corresponds to the file type.
14 . The medium of claim 12 , where the file type includes one of:
a text file type, a spreadsheet file type, or an xport file type.
15 . A device comprising:
one or more processors to:
receive, in a technical computing environment (TCE), a first variable with a first data type and a particular number of rows,
receive a second variable with a second data type and the particular number of rows,
the second data type being different than the first data type,
receive a command to create a table based on the first variable and the second variable,
create, based on the command, a heterogeneous table that includes the first variable and the second variable,
store the heterogeneous table, and
provide the heterogeneous table for display.
16 . The device of claim 15 , where the one or more processors are further to:
receive variable names for the first variable and the second variable, receive row names for rows of the first variable and rows of the second variable, and create, based on the command, the heterogeneous table,
the heterogeneous table including the variable names for columns of the heterogeneous table, and
the heterogeneous table including the row names for rows of the heterogeneous table.
17 . The device of claim 15 , where the command includes a syntax of:
T=table(VAR1,VAR2),
where T corresponds to the heterogeneous table, table corresponds to the command, VAR1 corresponds to the first variable, and VAR2 corresponds to the second variable.
18 . The device of claim 15 , where the one or more processors are further to:
receive a file name for a file, receive a file type associated with the file, receive another command to write the heterogeneous table to the file, write, based on the other command, the heterogeneous table to the file with the file name and the file type, and store the file.
19 . The device of claim 18 , where the other command includes a syntax of:
writetable(T,FILENAME,FILETYPE),
where writetable corresponds to the other command, T corresponds to the heterogeneous table, FILENAME corresponds to the file name, and FILETYPE corresponds to the file type.
20 . The device of claim 18 , where the file type includes one of:
a text file type, a spreadsheet file type, or an xport file type.Join the waitlist — get patent alerts
Track US2014280374A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.