legate::StructLogicalArray#

class StructLogicalArray : public legate::LogicalArray#

A multi-dimensional array representing a struct.

The struct is defined by fields that are each represented by an LogicalArray. The data of the StructLogicalArray is represented in a struct of arrays format.

Public Functions

std::vector<LogicalArray> fields() const#

Return a vector of the sub-arrays, one for each field.

Returns:

Vector of LogicalArrays representing the fields.