Workspace 6.21.5
|
Acts as a permutation of an ArrayNd set, without having to copy the data. Is not specific to any data type.
#include <DataAnalysis/DataStructures/arrayndpermutation.h>
Public Member Functions | |
virtual ArrayNd * | getAsArrayNd ()=0 |
virtual bool | setBaseData (ArrayNd &data, const QStringList &orderedDimensions, bool ownsData=false)=0 |
|
pure virtual |
Returns the permutation safely cast to an ArrayNd type. The caller does not take ownership of the ptr.
Implemented in ArrayNdPermutationTyped< T >.
|
pure virtual |
data | The N-dimensional dataset which we are permuting. |
orderedDimensions | The dimensions that make up the permutation. The dimensions are permuted such that they match the order specified by this parameter. |
ownsData | Whether or not this structure owns its data and should be responsible for cleaning it up. |
Sets the underlying data that we are permuting. Must be called before any of the other functions on the permutation will work correctly.
Implemented in ArrayNdPermutationTyped< T >.