poITensorDefine GetFormat

Gets the tensor format.

Syntax

poITensorDefine_handle GetFormat

Application

HyperView Tcl Query

Description

This command, valid only in HyperView - MultiCore profile, returns the tensor format for this result definition. Returns either "principal" or "normal".
Note: The result definition can only be modified if it not cached.

Example

To get the tensor format:

hwi OpenStack
hwi GetSessionHandle sess
sess GetProjectHandle proj
proj GetPageHandle page [proj GetActivePage]
page GetWindowHandle win [page GetActiveWindow]
win GetClientHandle client
client GetResultHandle tdefine 3 tensor
tdefine GetFormat
hwi CloseStack

Errors

None.

Related Topics

See the HyperView - MultiCore APIs topic for additional information regarding the various Tcl/Tk commands that have been added for this workflow.