shared
 All Classes Functions Variables Typedefs Enumerations Enumerator Friends
Public Member Functions | Public Attributes | List of all members
MergeResult Class Reference

A container class for conveying sparse array merge information. More...

#include <SparseOps.hpp>

Public Member Functions

virtual void createAssignments (jint oldLen, jint newLen)
 Allocates space for old and new array assignments. More...
 
virtual void createMetadata (jint count, jint *dims, jint nDims)
 Allocates space for metadata. More...
 

Public Attributes

jint * oldAssignments
 The assignments from the old array.
 
jint * oldIndirections
 The indirection indices into the old array.
 
jint * newAssignments
 The assignments from the new array.
 
jint * newIndirections
 The indirection indices into the new array.
 
jint oldLen
 The number of old array assignments.
 
jint newLen
 The number of new array assignments.
 
jint * indices
 The physical indices.
 
jint * indirectionOffsets
 The offsets into MergeResult::indirections.
 
jint * indirections
 The indirection indices into the storage array and MergeResult::indices.
 
jint count
 The number of elements.
 
jint * dims
 The dimensions.
 
jint nDims
 The number of dimensions.
 

Detailed Description

A container class for conveying sparse array merge information.

Member Function Documentation

virtual void MergeResult::createAssignments ( jint  oldLen,
jint  newLen 
)
inlinevirtual

Allocates space for old and new array assignments.

Parameters
oldLenthe number of old array assignments.
newLenthe number of new array assignments.
virtual void MergeResult::createMetadata ( jint  count,
jint *  dims,
jint  nDims 
)
inlinevirtual

Allocates space for metadata.

Parameters
countthe number of elements.
dimsthe dimensions.
nDimsthe number of dimensions.