|
| | Record (const std::shared_ptr< const RecordArray > array, int64_t at) |
| | Creates a Record from a full set of parameters.
|
| |
| const std::shared_ptr< const RecordArray > | array () const |
| | A reference to the array in which this tuple/record resides (not a copy, shares reference count).
|
| |
| int64_t | at () const |
| | The position in the array where this tuple/record resides.
|
| |
| const ContentPtrVec | contents () const |
| | Returns a std::vector<std::shared_ptr<Content>> of each field at this record position (at).
|
| |
| const util::RecordLookupPtr | recordlookup () const |
| | The array's RecordArray::recordlookup.
|
| |
| bool | istuple () const override |
| | Returns true if recordlookup is nullptr; false otherwise.
|
| |
| bool | isscalar () const override |
| | Returns true if the data represented by this node is scalar, not a true array.
|
| |
| const std::string | classname () const override |
| | User-friendly name of this class: "Record".
|
| |
| const IdentitiesPtr | identities () const override |
| | Optional Identities for each element of the array (may be nullptr).
|
| |
| void | setidentities () override |
| |
| void | setidentities (const IdentitiesPtr &identities) override |
| |
| const TypePtr | type (const util::TypeStrs &typestrs) const override |
| | High-level Type describing this array.
|
| |
| const FormPtr | form (bool materialize) const override |
| | Low-level Form describing all the features of this array except the actual data buffers (Index, Identities, NumpyArray::ptr, and RawArray::ptr).
|
| |
| kernel::lib | kernels () const override |
| | Returns the kernel library enum for all nested ptr_lib within the array's tree structure. If different libraries are associated with nodes of the same tree, this returns kernel::lib::size to indicate that it is "mixed".
|
| |
| void | caches (std::vector< ArrayCachePtr > &out) const override |
| | Accumulates all the unique #ArrayCache objects from nested #VirtualArray nodes. (Uniqueness is determined by pointer value.)
|
| |
| const std::string | tostring_part (const std::string &indent, const std::string &pre, const std::string &post) const override |
| | Internal function to build an output string for tostring.
|
| |
| void | tojson_part (ToJson &builder, bool include_beginendlist) const override |
| | Internal function to produce a JSON representation one node at a time.
|
| |
| void | nbytes_part (std::map< size_t, int64_t > &largest) const override |
| | Internal function used to calculate nbytes.
|
| |
| int64_t | length () const override |
| | The number of elements in the array.
|
| |
| const ContentPtr | shallow_copy () const override |
| | Copies this node without copying any nodes hierarchically nested within it or any array/index/identity buffers.
|
| |
| const ContentPtr | deep_copy (bool copyarrays, bool copyindexes, bool copyidentities) const override |
| | Copies this node and all nodes hierarchically nested within it, optionally copying the associated arrays, indexes, and identities, too.
|
| |
| void | check_for_iteration () const override |
| | Performs up-front validity checks on an array so that they don't have to be checked in getitem_at_nowrap for each item.
|
| |
| const ContentPtr | getitem_nothing () const override |
| |
| const ContentPtr | getitem_at (int64_t at) const override |
| |
| const ContentPtr | getitem_at_nowrap (int64_t at) const override |
| |
| const ContentPtr | getitem_range (int64_t start, int64_t stop) const override |
| |
| const ContentPtr | getitem_range_nowrap (int64_t start, int64_t stop) const override |
| |
| const ContentPtr | getitem_field (const std::string &key) const override |
| | This array with the first nested RecordArray replaced by the field at key.
|
| |
| const ContentPtr | getitem_field (const std::string &key, const Slice &only_fields) const override |
| |
| const ContentPtr | getitem_fields (const std::vector< std::string > &keys) const override |
| | This array with the first nested RecordArray replaced by a RecordArray of a given subset of keys.
|
| |
| const ContentPtr | getitem_fields (const std::vector< std::string > &keys, const Slice &only_fields) const override |
| |
| const ContentPtr | carry (const Index64 &carry, bool allow_lazy) const override |
| |
| bool | dimension_optiontype () const override |
| | Returns true if this dimension has option-type; false otherwise.
|
| |
| int64_t | purelist_depth () const override |
| | The list-depth of this array, not counting any contained within a RecordArray.
|
| |
| const std::pair< int64_t, int64_t > | minmax_depth () const override |
| | Returns (a) the minimum list-depth and (b) the maximum list-depth of the array, which can differ if this array "branches" (differs when followed through different fields of a RecordArray or UnionArray).
|
| |
| const std::pair< bool, int64_t > | branch_depth () const override |
| | Returns (a) whether the list-depth of this array "branches," or differs when followed through different fields of a RecordArray or UnionArray and (b) the minimum list-depth.
|
| |
| int64_t | numfields () const override |
| | The number of fields in the first nested tuple or records or -1 if this array does not contain a RecordArray.
|
| |
| int64_t | fieldindex (const std::string &key) const override |
| | The position of a tuple or record key name if this array contains a RecordArray.
|
| |
| const std::string | key (int64_t fieldindex) const override |
| | The record name associated with a given field index or the tuple index as a string (e.g. "0", "1", "2") if a tuple.
|
| |
| bool | haskey (const std::string &key) const override |
| | Returns true if the array contains a RecordArray with the specified key; false otherwise.
|
| |
| const std::vector< std::string > | keys () const override |
| | A list of RecordArray keys or an empty list if this array does not contain a RecordArray.
|
| |
| const std::string | validityerror (const std::string &path) const override |
| | Returns an error message if this array is invalid; otherwise, returns an empty string.
|
| |
| const ContentPtr | shallow_simplify () const override |
| | For Record, this method returns shallow_copy (pass-through).
|
| |
| const int64_t | axis_wrap_if_negative (int64_t axis) const |
| |
| const ContentPtr | num (int64_t axis, int64_t depth) const override |
| | The length of this array (as a NumpyArray scalar) if axis = 0 or the lengths of subarrays (as an array or nested array) if axis != 0.
|
| |
| const std::pair< Index64, ContentPtr > | offsets_and_flattened (int64_t axis, int64_t depth) const override |
| |
| bool | mergeable (const ContentPtr &other, bool mergebool) const override |
| |
| bool | referentially_equal (const ContentPtr &other) const override |
| | Returns true if this array has all the same buffers and parameters as other; false otherwise.
|
| |
| const ContentPtr | mergemany (const ContentPtrVec &others) const override |
| |
| const SliceItemPtr | asslice () const override |
| |
| const ContentPtr | fillna (const ContentPtr &value) const override |
| | Returns this array with None values replaced by a given value.
|
| |
| const ContentPtr | rpad (int64_t target, int64_t axis, int64_t depth) const override |
| |
| const ContentPtr | rpad_and_clip (int64_t target, int64_t axis, int64_t depth) const override |
| |
| const ContentPtr | reduce_next (const Reducer &reducer, int64_t negaxis, const Index64 &starts, const Index64 &shifts, const Index64 &parents, int64_t outlength, bool mask, bool keepdims) const override |
| | This array with one axis removed by applying a Reducer (e.g. "sum", "max", "any", "all).
|
| |
| const ContentPtr | sort_next (int64_t negaxis, const Index64 &starts, const Index64 &parents, int64_t outlength, bool ascending, bool stable) const override |
| | This array sorted.
|
| |
| const ContentPtr | argsort_next (int64_t negaxis, const Index64 &starts, const Index64 &shifts, const Index64 &parents, int64_t outlength, bool ascending, bool stable) const override |
| | This array sorted indices.
|
| |
| const ContentPtr | localindex (int64_t axis, int64_t depth) const override |
| | A (possibly nested) array of integers indicating the positions of elements within each nested list.
|
| |
| const ContentPtr | combinations (int64_t n, bool replacement, const util::RecordLookupPtr &recordlookup, const util::Parameters ¶meters, int64_t axis, int64_t depth) const override |
| | Tuples or records of all n-tuple combinations of list items at some axis depth.
|
| |
| const ContentPtr | field (int64_t fieldindex) const |
| | Returns the field at a given index.
|
| |
| const ContentPtr | field (const std::string &key) const |
| | Returns the field at a given key name.
|
| |
| const ContentPtrVec | fields () const |
| | Returns all fields.
|
| |
| const std::vector< std::pair< std::string, ContentPtr > > | fielditems () const |
| | Returns key, field pairs for all fields.
|
| |
| const std::shared_ptr< Record > | astuple () const |
| | Returns this Record without recordlookup, converting any records into tuples.
|
| |
| const ContentPtr | getitem (const Slice &where) const override |
| | Entry point for general slicing: Slice represents a tuple of SliceItem nodes applying to each level of nested lists.
|
| |
| const ContentPtr | getitem_next (const SliceAt &at, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next (const SliceRange &range, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next (const SliceArray64 &array, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next (const SliceField &field, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next (const SliceFields &fields, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next (const SliceJagged64 &jagged, const Slice &tail, const Index64 &advanced) const override |
| |
| const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceArray64 &slicecontent, const Slice &tail) const override |
| |
| const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceMissing64 &slicecontent, const Slice &tail) const override |
| |
| const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceJagged64 &slicecontent, const Slice &tail) const override |
| |
| const ContentPtr | copy_to (kernel::lib ptr_lib) const override |
| | Recursively copies components of the array from main memory to a GPU (if ptr_lib == kernel::lib::cuda) or to main memory (if ptr_lib == kernel::lib::cpu) if those components are not already there.
|
| |
| const ContentPtr | numbers_to_type (const std::string &name) const override |
| | Change the leaf types to 'totype'.
|
| |
| bool | is_unique () const override |
| | Returns 'true' if all components of the array are unique.
|
| |
| const ContentPtr | unique () const override |
| | Returns an array where all components are unique.
|
| |
| bool | is_subrange_equal (const Index64 &start, const Index64 &stop) const override |
| | Returns 'true' if subranges are equal.
|
| |
| | Content (const IdentitiesPtr &identities, const util::Parameters ¶meters) |
| | Called by all subclass constructors; assigns identities and parameters upon construction.
|
| |
| virtual | ~Content () |
| | Empty destructor; required for some C++ reason.
|
| |
| virtual bool | isscalar () const |
| | Returns true if the data represented by this node is scalar, not a true array.
|
| |
| virtual const std::string | classname () const =0 |
| | User-friendly name of this class, including integer-type specialization.
|
| |
| virtual const IdentitiesPtr | identities () const |
| | Optional Identities for each element of the array (may be nullptr).
|
| |
| virtual void | setidentities ()=0 |
| | Assign a surrogate index of Identities to this array (in-place).
|
| |
| virtual void | setidentities (const IdentitiesPtr &identities)=0 |
| | Assign a specified set of Identities to this array (in-place).
|
| |
| virtual const TypePtr | type (const util::TypeStrs &typestrs) const =0 |
| | High-level Type describing this array.
|
| |
| virtual const FormPtr | form (bool materialize) const =0 |
| | Low-level Form describing all the features of this array except the actual data buffers (Index, Identities, NumpyArray::ptr, and RawArray::ptr).
|
| |
| virtual kernel::lib | kernels () const =0 |
| | Returns the kernel library enum for all nested ptr_lib within the array's tree structure. If different libraries are associated with nodes of the same tree, this returns kernel::lib::size to indicate that it is "mixed".
|
| |
| virtual void | caches (std::vector< ArrayCachePtr > &out) const =0 |
| | Accumulates all the unique #ArrayCache objects from nested #VirtualArray nodes. (Uniqueness is determined by pointer value.)
|
| |
| virtual const std::string | tostring_part (const std::string &indent, const std::string &pre, const std::string &post) const =0 |
| | Internal function to build an output string for tostring.
|
| |
| virtual void | tojson_part (ToJson &builder, bool include_beginendlist) const =0 |
| | Internal function to produce a JSON representation one node at a time.
|
| |
| virtual void | nbytes_part (std::map< size_t, int64_t > &largest) const =0 |
| | Internal function used to calculate nbytes.
|
| |
| virtual int64_t | length () const =0 |
| | The number of elements in the array.
|
| |
| virtual const ContentPtr | shallow_copy () const =0 |
| | Copies this node without copying any nodes hierarchically nested within it or any array/index/identity buffers.
|
| |
| virtual const ContentPtr | deep_copy (bool copyarrays, bool copyindexes, bool copyidentities) const =0 |
| | Copies this node and all nodes hierarchically nested within it, optionally copying the associated arrays, indexes, and identities, too.
|
| |
| virtual void | check_for_iteration () const =0 |
| | Performs up-front validity checks on an array so that they don't have to be checked in getitem_at_nowrap for each item.
|
| |
| virtual const ContentPtr | getitem_nothing () const =0 |
| | Internal function to get an empty slice (with the correct type).
|
| |
| virtual const ContentPtr | getitem_at (int64_t at) const =0 |
| | Returns the element at a given position in the array, handling negative indexing and bounds-checking like Python.
|
| |
| virtual const ContentPtr | getitem_at_nowrap (int64_t at) const =0 |
| | Returns the element at a given position in the array, without handling negative indexing or bounds-checking.
|
| |
| virtual const ContentPtr | getitem_range (int64_t start, int64_t stop) const =0 |
| | Subinterval of this array, handling negative indexing and bounds-checking like Python.
|
| |
| virtual const ContentPtr | getitem_range_nowrap (int64_t start, int64_t stop) const =0 |
| | Subinterval of this array, without handling negative indexing or bounds-checking.
|
| |
| virtual const ContentPtr | getitem_field (const std::string &key) const =0 |
| | This array with the first nested RecordArray replaced by the field at key.
|
| |
| virtual const ContentPtr | getitem_field (const std::string &key, const Slice &only_fields) const =0 |
| |
| virtual const ContentPtr | getitem_fields (const std::vector< std::string > &keys) const =0 |
| | This array with the first nested RecordArray replaced by a RecordArray of a given subset of keys.
|
| |
| virtual const ContentPtr | getitem_fields (const std::vector< std::string > &keys, const Slice &only_fields) const =0 |
| |
| virtual const ContentPtr | getitem (const Slice &where) const |
| | Entry point for general slicing: Slice represents a tuple of SliceItem nodes applying to each level of nested lists.
|
| |
| virtual const ContentPtr | getitem_next (const SliceItemPtr &head, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceItemPtr &slicecontent, const Slice &tail) const |
| | Internal function that propagates a jagged array (array with irregular-length dimensions) slice through one axis.
|
| |
| virtual const ContentPtr | carry (const Index64 &carry, bool allow_lazy) const =0 |
| | Returns an array of the same type with elements filtered, rearranged, and possibly duplicated by the carry array of integers.
|
| |
| virtual const std::string | purelist_parameter (const std::string &key) const |
| | The parameter associated with key at the first level that has a non-null value, descending only as deep as the first RecordArray.
|
| |
| bool | purelist_isregular () const |
| | Returns true if all nested lists down to the first RecordArray are RegularArray nodes; false otherwise.
|
| |
| virtual bool | dimension_optiontype () const |
| | Returns true if this dimension has option-type; false otherwise.
|
| |
| virtual int64_t | purelist_depth () const =0 |
| | The list-depth of this array, not counting any contained within a RecordArray.
|
| |
| virtual const std::pair< int64_t, int64_t > | minmax_depth () const =0 |
| | Returns (a) the minimum list-depth and (b) the maximum list-depth of the array, which can differ if this array "branches" (differs when followed through different fields of a RecordArray or UnionArray).
|
| |
| virtual const std::pair< bool, int64_t > | branch_depth () const =0 |
| | Returns (a) whether the list-depth of this array "branches," or differs when followed through different fields of a RecordArray or UnionArray and (b) the minimum list-depth.
|
| |
| virtual int64_t | numfields () const =0 |
| | The number of fields in the first nested tuple or records or -1 if this array does not contain a RecordArray.
|
| |
| virtual int64_t | fieldindex (const std::string &key) const =0 |
| | The position of a tuple or record key name if this array contains a RecordArray.
|
| |
| virtual const std::string | key (int64_t fieldindex) const =0 |
| | The record name associated with a given field index or the tuple index as a string (e.g. "0", "1", "2") if a tuple.
|
| |
| virtual bool | haskey (const std::string &key) const =0 |
| | Returns true if the array contains a RecordArray with the specified key; false otherwise.
|
| |
| virtual const std::vector< std::string > | keys () const =0 |
| | A list of RecordArray keys or an empty list if this array does not contain a RecordArray.
|
| |
| virtual bool | istuple () const =0 |
| | Returns true if the outermost RecordArray is a tuple.
|
| |
| virtual const std::string | validityerror (const std::string &path) const =0 |
| | Returns an error message if this array is invalid; otherwise, returns an empty string.
|
| |
| virtual const ContentPtr | shallow_simplify () const =0 |
| | Returns an equivalent array simplified at one level only using simplify_optiontype if an option-type array and simplify_uniontype if a union-type array.
|
| |
| virtual const ContentPtr | num (int64_t axis, int64_t depth) const =0 |
| | The length of this array (as a NumpyArray scalar) if axis = 0 or the lengths of subarrays (as an array or nested array) if axis != 0.
|
| |
| virtual const std::pair< Index64, ContentPtr > | offsets_and_flattened (int64_t axis, int64_t depth) const =0 |
| | Returns (a) an offsets Index and (b) a flattened version of the array at some axis depth.
|
| |
| virtual bool | mergeable (const ContentPtr &other, bool mergebool) const =0 |
| | Returns true if this array can be merged with the other; false otherwise.
|
| |
| virtual bool | referentially_equal (const ContentPtr &other) const =0 |
| | Returns true if this array has all the same buffers and parameters as other; false otherwise.
|
| |
| virtual const std::pair< ContentPtrVec, ContentPtrVec > | merging_strategy (const ContentPtrVec &others) const |
| | Partitions this array plus a list of others into a head sequence and a tail sequence:
|
| |
| virtual const ContentPtr | reverse_merge (const ContentPtr &other) const |
| | Merges a single other with this array in reverse order: other first, this last.
|
| |
| const ContentPtr | merge (const ContentPtr &other) const |
| | An array with this and the other concatenated (this first, other last).
|
| |
| virtual const ContentPtr | mergemany (const ContentPtrVec &others) const =0 |
| | Returns an array with this and the others concatenated (in order, this first, others last).
|
| |
| virtual const SliceItemPtr | asslice () const =0 |
| | Converts this array into a SliceItem that can be used in getitem.
|
| |
| virtual const ContentPtr | fillna (const ContentPtr &value) const =0 |
| | Returns this array with None values replaced by a given value.
|
| |
| virtual const ContentPtr | rpad (int64_t target, int64_t axis, int64_t depth) const =0 |
| | If axis = 0, returns a view of this array padded on the right with None values to have a minimum length; otherwise, returns an array with nested lists all padded to the minimum length.
|
| |
| virtual const ContentPtr | rpad_and_clip (int64_t target, int64_t axis, int64_t depth) const =0 |
| | If axis = 0, returns a view of this array padded on the right.
|
| |
| virtual const ContentPtr | reduce_next (const Reducer &reducer, int64_t negaxis, const Index64 &starts, const Index64 &shifts, const Index64 &parents, int64_t outlength, bool mask, bool keepdims) const =0 |
| | This array with one axis removed by applying a Reducer (e.g. "sum", "max", "any", "all).
|
| |
| virtual const ContentPtr | sort_next (int64_t negaxis, const Index64 &starts, const Index64 &parents, int64_t outlength, bool ascending, bool stable) const =0 |
| | This array sorted.
|
| |
| virtual const ContentPtr | argsort_next (int64_t negaxis, const Index64 &starts, const Index64 &shifts, const Index64 &parents, int64_t outlength, bool ascending, bool stable) const =0 |
| | This array sorted indices.
|
| |
| virtual const ContentPtr | localindex (int64_t axis, int64_t depth) const =0 |
| | A (possibly nested) array of integers indicating the positions of elements within each nested list.
|
| |
| virtual const ContentPtr | combinations (int64_t n, bool replacement, const util::RecordLookupPtr &recordlookup, const util::Parameters ¶meters, int64_t axis, int64_t depth) const =0 |
| | Tuples or records of all n-tuple combinations of list items at some axis depth.
|
| |
| const std::string | tostring () const |
| | Returns a string representation of this array (multi-line XML).
|
| |
| const std::string | tojson (bool pretty, int64_t maxdecimals, const char *nan_string=nullptr, const char *infinity_string=nullptr, const char *minus_infinity_string=nullptr, const char *complex_real_string=nullptr, const char *complex_imag_string=nullptr) const |
| | Returns a JSON representation of this array.
|
| |
| void | tojson (FILE *destination, bool pretty, int64_t maxdecimals, int64_t buffersize, const char *nan_string=nullptr, const char *infinity_string=nullptr, const char *minus_infinity_string=nullptr, const char *complex_real_string=nullptr, const char *complex_imag_string=nullptr) const |
| | Writes a JSON representation of this array to a destination file.
|
| |
| int64_t | nbytes () const |
| | The number of bytes contained in all array buffers, Index buffers, and Identities buffers, not including the lightweight node objects themselves.
|
| |
| const ContentPtr | reduce (const Reducer &reducer, int64_t axis, bool mask, bool keepdims) const |
| | This array with one axis removed by applying a Reducer (e.g. "sum", "max", "any", "all).
|
| |
| const ContentPtr | sort (int64_t axis, bool ascending, bool stable) const |
| | This array with one axis sorted by applying a sorting algorithm.
|
| |
| const ContentPtr | argsort (int64_t axis, bool ascending, bool stable) const |
| | This array indices with one axis sorted by applying a sorting algorithm.
|
| |
| const util::Parameters | parameters () const |
| | String-to-JSON map that augments the meaning of this array.
|
| |
| void | setparameters (const util::Parameters ¶meters) |
| | Assign all the parameters for this array node (in-place).
|
| |
| const std::string | parameter (const std::string &key) const |
| | Get one parameter from this array node.
|
| |
| void | setparameter (const std::string &key, const std::string &value) |
| | Assign one parameter for this array node (in-place).
|
| |
| bool | parameter_equals (const std::string &key, const std::string &value) const |
| | Returns true if the parameter associated with key exists and is equal to value; false otherwise.
|
| |
| bool | parameters_equal (const util::Parameters &other, bool check_all) const |
| | Returns true if all parameters of this array node are equal to the other parameters.
|
| |
| bool | parameter_isstring (const std::string &key) const |
| | Returns true if the parameter associated with key is a string; false otherwise.
|
| |
| bool | parameter_isname (const std::string &key) const |
| | Returns true if the parameter associated with key is a string that matches [A-Za-z_][A-Za-z_0-9]*; false otherwise.
|
| |
| const std::string | parameter_asstring (const std::string &key) const |
| | Returns the parameter associated with key as a string if parameter_isstring; raises an error otherwise.
|
| |
| const ContentPtr | merge_as_union (const ContentPtr &other) const |
| | Concatenates this array with other by creating a UnionArray instead of actually merging the data. This does not call UnionArray::simplify_uniontype.
|
| |
| const ContentPtr | rpad_axis0 (int64_t target, bool clip) const |
| | Internal function to handle the axis = 0 case of rpad and rpad_and_clip.
|
| |
| const ContentPtr | localindex_axis0 () const |
| | Internal function to handle the axis = 0 case of localindex.
|
| |
| const ContentPtr | combinations_axis0 (int64_t n, bool replacement, const util::RecordLookupPtr &recordlookup, const util::Parameters ¶meters) const |
| | Internal function to handle the axis = 0 case of combinations.
|
| |
| virtual const ContentPtr | getitem_next (const SliceAt &at, const Slice &tail, const Index64 &advanced) const =0 |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceRange &range, const Slice &tail, const Index64 &advanced) const =0 |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceEllipsis &ellipsis, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceNewAxis &newaxis, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceArray64 &array, const Slice &tail, const Index64 &advanced) const =0 |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceField &field, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceFields &fields, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceMissing64 &missing, const Slice &tail, const Index64 &advanced) const |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next (const SliceJagged64 &jagged, const Slice &tail, const Index64 &advanced) const =0 |
| | Internal function that propagates a generic getitem request through one axis (including advanced indexing).
|
| |
| virtual const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceArray64 &slicecontent, const Slice &tail) const =0 |
| | Internal function that propagates a jagged array (array with irregular-length dimensions) slice through one axis.
|
| |
| virtual const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceMissing64 &slicecontent, const Slice &tail) const =0 |
| | Internal function that propagates a jagged array (array with irregular-length dimensions) slice through one axis.
|
| |
| virtual const ContentPtr | getitem_next_jagged (const Index64 &slicestarts, const Index64 &slicestops, const SliceJagged64 &slicecontent, const Slice &tail) const =0 |
| | Internal function that propagates a jagged array (array with irregular-length dimensions) slice through one axis.
|
| |
| const int64_t | axis_wrap_if_negative (int64_t axis) const |
| | Internal function defining the negative axis handling for many operations.
|
| |
| virtual const ContentPtr | copy_to (kernel::lib ptr_lib) const =0 |
| | Recursively copies components of the array from main memory to a GPU (if ptr_lib == kernel::lib::cuda) or to main memory (if ptr_lib == kernel::lib::cpu) if those components are not already there.
|
| |
| virtual const ContentPtr | numbers_to_type (const std::string &name) const =0 |
| | Change the leaf types to 'totype'.
|
| |
| virtual bool | is_unique () const =0 |
| | Returns 'true' if all components of the array are unique.
|
| |
| virtual const ContentPtr | unique () const =0 |
| | Returns sorted unique values.
|
| |
| virtual bool | is_subrange_equal (const Index64 &start, const Index64 &stop) const =0 |
| | Returns 'true' if subranges are equal.
|
| |