Linear |
The LinearPartitioning type exposes the following members.
Name | Description | |
---|---|---|
AccumulateChangeData | (Inherited from SuspendableDocumentLeafNodeWithSetOfEventArgs) | |
AccumulatedChangeData_SetBackAfterResumeAndSuspend | (Inherited from SuspendableDocumentLeafNodeWithSetOfEventArgs) | |
AccumulatedEventData_Clear |
Clears the accumulated event data.
(Inherited from SuspendableDocumentLeafNodeWithSetOfEventArgs) | |
AccumulatedEventData_HasZeroOrOneEventArg |
Determines whether there is no or only one single event arg accumulated. If this is the case, the return value is true. If there is one event arg accumulated, it is returned in the argument singleEventArg.
The return value is false if there is more than one event arg accumulated. In this case the singleEventArg is null on return, and the calling function should use AccumulatedEventData to
enumerate all accumulated event args.
(Inherited from SuspendableDocumentLeafNodeWithSetOfEventArgs) | |
Add(Object) | ||
Add(RADouble) | ||
AdjustIndexToMatchPosition | Adjusts the value at index idx to match the absolute position given in absolutePosition | |
ChildDisposeMemberT |
Helper function to dispose a child node of this instance. It helps to ensure the correct order: first, the child node is set to null and only then the child node is disposed.
(Inherited from SuspendableDocumentNodeBase) | |
Clear | ||
Clone | ||
Contains(Object) | ||
Contains(RADouble) | ||
CopyTo(Array, Int32) | ||
CopyTo(RADouble, Int32) | ||
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from SuspendableDocumentNodeBase) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from SuspendableDocumentNodeBase) | |
EhParentTunnelingEventHappened |
Is called by the parent when a tunneling event happened into the parent.
(Inherited from SuspendableDocumentNodeBase) | |
EhSelfChanged |
Called if some member of this instance itself has changed.
(Inherited from SuspendableDocumentLeafNode) | |
EhSelfTunnelingEventHappened(TunnelingEventArgs) |
Is called by this instance if a tunneling event happened into this instance. The tunneling event triggers the TunneledEvent and is additionally distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase) | |
EhSelfTunnelingEventHappened(TunnelingEventArgs, Boolean) |
Is called by this instance if a tunneling event happened into this instance.
The tunneling event triggers the TunneledEvent and is - depending on the provided parameter - also distributed to all childs of this instance.
(Inherited from SuspendableDocumentNodeBase) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize |
Finalizes an instance of the SuspendableDocumentNodeBase class.
(Inherited from SuspendableDocumentNodeBase) | |
GetAbsolutePositionAndSizeFromGridIndexAndSpan | Gets the absolute start position and absolute size by providing a grid start index and grid span. | |
GetAbsolutePositionFromGridIndex | Gets the partition position. A relative value of 0 gives the absolute position 0, a value of 1 gives the size of the first partition, a value of two the size of the first plus second partition and so on. | |
GetEnumerator | ||
GetGridIndexFromAbsolutePosition | Gets the relative index from the absolute position. | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetPartitionPositions | Gets the absolute partition positions. | |
GetSumRelativeValues | Gets the sum of all relative values. | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
HandleLowPriorityChildChangeCases |
Handles the cases when a child changes, but a reaction is neccessary only if the table is not suspended currently.
(Inherited from SuspendableDocumentLeafNode) | |
IndexOf(Object) | ||
IndexOf(RADouble) | ||
Insert(Int32, RADouble) | ||
Insert(Int32, Object) | ||
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
NormalizeRelativeValues | Normalizes the relative values in the partition, so that their sum is 1. | |
OnAboutToBeResumed |
Is called when the suspend level is still 1 (one), but is about to fall to zero, i.e. shortly before the call to OnResume. This function is not called before OnResumeSilently!
(Inherited from SuspendableDocumentLeafNode) | |
OnChanged | (Overrides SuspendableDocumentNodeBaseOnChanged(EventArgs)) | |
OnResume |
Is called when the suspend level falls down from 1 to zero by a call to Resume or a call to [M:Altaxo.Main.ISuspendToken.Dispose()].
(Inherited from SuspendableDocumentLeafNode) | |
OnResumeSilently |
Is called when the suspend level falls down from 1 to zero by a call to ResumeSilently.
The implementation should delete any accumulated events, should also disarm the suspendTokens of the childs of this object, and should not fire any Changed events nor set the change state of the object to dirty.
(Inherited from SuspendableDocumentLeafNode) | |
OnSuspended |
Called when the suspend level has just gone from 0 to 1, i.e. the object was suspended.
(Inherited from SuspendableDocumentLeafNode) | |
OnTunnelingEvent |
Fires the TunneledEvent event.
(Inherited from SuspendableDocumentNodeBase) | |
Remove(Object) | ||
Remove(RADouble) | ||
RemoveAt | ||
Resume(ISuspendToken) |
Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null.
If Event data were accumulated during the suspended state, a changed event is triggered for each event data.
(Inherited from SuspendableDocumentNodeBase) | |
Resume(ISuspendToken, EventFiring) |
Resumes changed events, either with taking the accumulated event data into account (see Resume(ISuspendToken)) or discarding the accumulated event data (see ResumeSilently(ISuspendToken),
depending on the provided argument eventFiring.
(Inherited from SuspendableDocumentNodeBase) | |
ResumeCompleteTemporarily |
Resumes the object completely for only a short time. Thus, if object was suspended before, it will be suspended again when the function returns.
(Inherited from SuspendableDocumentLeafNode) | |
ResumeCompleteTemporarilyGetToken |
Resumes the object completely for the time the returned token is referenced and not disposed.
The return value is a token that had 'absorbed' the suspend count of the object, resulting in the suspend count
of the object dropped to 0 (zero). When the returned token is finally disposed, the suspend count of the object is increased again by the 'absorbed' suspend count.
(Inherited from SuspendableDocumentLeafNode) | |
ResumeSilently |
Resumes changed events by calling Resume for the provided suspend token, and setting the reference to the suspend token to null.
All event data accumulated during the suspended state are discarded, and thus no change event is triggered even if the instance has changed during the suspended state.
(Inherited from SuspendableDocumentNodeBase) | |
SetDisposeInProgress |
Sets the flag that dispose is in progress for this node and all child nodes recursively.
(Inherited from SuspendableDocumentNodeBase) | |
SetMemberAndRaiseSelfChangedT(NullableT, NullableT) |
Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SetMemberAndRaiseSelfChangedT(T, T) |
Sets a member variable of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SetMemberEnumAndRaiseSelfChangedT |
Sets a member variable (which is an Enum) of this instance and raise a change event with Empty if the new value is different from the old value.
The comparison is done using the IEquatableT interface of the member variable.
Note: to set members that implement IDocumentNode please use the Child... functions.
(Inherited from SuspendableDocumentNodeBase) | |
SuspendGetToken |
Suspend will increase the SuspendLevel.
(Inherited from SuspendableDocumentLeafNode) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
TryGetName |
Test if this item already has a name.
(Inherited from SuspendableDocumentNodeBase) |
Name | Description | |
---|---|---|
AddRangeRADouble |
Adds a range of items to a collection.
(Defined by ListExtensions) | |
ExchangePositionsRADouble |
Exchange the positions of two items in a list.
(Defined by ListExtensions) | |
FillWithRADouble | (Defined by ListExtensions) | |
FirstOrRADouble |
Returns the first value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions) | |
FlattenFromRootToLeavesRADouble |
Converts a recursive data structure into a flat list. The root element is enumerated before its corresponding child element(s).
(Defined by EnumerableExtensions) | |
ForEachDoRADouble |
Executes an action for each element of the sequence.
(Defined by EnumerableExtensions) | |
HasSingleElementRADouble |
Determines whether the specified enumeration has exactly one element.
(Defined by EnumerableExtensions) | |
IndexOfRADouble |
Gets the index of an item in a enumeration or list.
(Defined by ListExtensions) | |
IndexOfFirstRADouble |
Gets the index the of first item in list that fulfills the predicate predicate (Defined by ListExtensions) | |
IndexOfFirstRADouble |
Gets the index the of first item in list that fulfills the predicate predicate (Defined by ListExtensions) | |
IndexOfLastRADouble |
Gets the index the of last item in list that fulfills the predicate predicate (Defined by ListExtensions) | |
IndexOfMaxRADouble | Return the index of the element with the maximum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IndexOfMinRADouble | Return the index of the element with the minimum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IndicesInt32AndValuesWhereRADouble |
Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions) | |
IndicesInt32AndValuesWhereRADouble |
Returns tuples of index and element of all elements in an enumeration which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions) | |
IndicesInt32WhereRADouble |
Returns the indices of the elements which fullfill a given condition, given by the element's value.
(Defined by EnumerableExtensions) | |
IndicesInt32WhereRADouble |
Returns the indices of the elements which fullfill a given condition, given by the element's value and its index.
(Defined by EnumerableExtensions) | |
IndicesOfMinMaxRADouble | Return the index of the element with the minimum value in an enumerable.
If multiple elements with the same minimal value exist, the index of the first element in the sequence is returned. (Defined by EnumerableExtensions) | |
IsEmptyRADouble |
Determines whether the specified enumeration is empty.
(Defined by EnumerableExtensions) | |
JoinConditionalRADouble, T2 |
Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions) | |
JoinConditionalRADouble, T2, TResult |
Takes a join of two sequences, but only takes into account those pair, which fulfill a given condition.
(Defined by EnumerableExtensions) | |
LastOrRADouble |
Returns the last value of the enumeration, or, if the enumeration is empty, the other value provided in the arguments.
(Defined by EnumerableExtensions) | |
MaxElementRADouble, M |
Gets the element of a IEnumerabe that evaluates by means of a conversion function to the maximal value.
This is different from Select(x => conversion(x)).Max() insofar as it not returns the maximum value, but the original element x which converts to the maximum value.
(Defined by EnumerableExtensions) | |
MaxOrDefaultRADouble, M |
Evaluates the maximum of a enumeration of elements, or returns a default value if the series is empty.
(Defined by EnumerableExtensions) | |
MoveItemToIndexRADouble |
Moves a item to another list position. All items inbetween the interval originalIndex and destinationIndex will slip by one position (except the item at originalIndex,
which will of course move to destinationIndex.
(Defined by ListExtensions) | |
MoveSelectedItemsRADouble |
Moves the selected items towards higher indices (for steps > 0) or lower indices (for steps < 0).
(Defined by ListExtensions) | |
MoveSelectedItemsToMaximumIndexRADouble |
Moves the selected item so that the selected item with the formerly highest index is afterwards at the end of the list (at index list.Count-1).
(Defined by ListExtensions) | |
MoveSelectedItemsToMinimumIndexRADouble |
Moves the selected item so that the selected item with the formerly lowest index is afterwards at the start of the list (at index 0).
(Defined by ListExtensions) | |
MoveSelectedItemsTowardsHigherIndicesRADouble |
Moves the selected items towards higher indices.
(Defined by ListExtensions) | |
MoveSelectedItemsTowardsLowerIndicesRADouble |
Moves the selected items towards lower indices.
(Defined by ListExtensions) | |
RemoveWhereRADouble |
Removes all items for which the predicate function returns true. (Defined by ListExtensions) | |
RemoveWhereRADouble |
Removes all items for which the predicate function returns true. (Defined by ListExtensions) | |
SelectCombinationRADouble |
Select a random combination, without repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics) | |
SelectCombinationWithRepetitionRADouble |
Select a random combination, with repetition, from a data sequence by selecting k elements in original order.
(Defined by Combinatorics) | |
SelectPermutationRADouble |
Select a random permutation from a data sequence by returning the provided data in random order.
Implemented using Fisher-Yates Shuffling.
(Defined by Combinatorics) | |
SelectVariationRADouble |
Select a random variation, without repetition, from a data sequence by randomly selecting k elements in random order.
Implemented using partial Fisher-Yates Shuffling.
(Defined by Combinatorics) | |
SelectVariationWithRepetitionRADouble |
Select a random variation, with repetition, from a data sequence by randomly selecting k elements in random order.
(Defined by Combinatorics) | |
TakeAllButLastRADouble |
Takes all elements of the enumeration except the last element.
(Defined by EnumerableExtensions) | |
TakeFromUpperIndexExclusiveDownToLowerIndexInclusiveRADouble |
Takes all elements of a list, starting from index upperIndexExclusive - 1 down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions) | |
TakeFromUpperIndexInclusiveDownToLowerIndexInclusiveRADouble |
Takes all elements of a list, starting from index upperIndexInclusive down to the index lowerIndexInclusive.
(Defined by EnumerableExtensions) | |
ThisOrEmptyRADouble |
Returns either the provided enumeration, or if it is null, an empty enumeration.
(Defined by EnumerableExtensions) | |
TryGetFirstAndLastRADouble |
Returns true and the first and last value of the enumeration, or, if the enumeration is empty, returns false.
(Defined by EnumerableExtensions) | |
TryGetSingleElementRADouble |
Try to get the one and only element of the collection.
(Defined by EnumerableExtensions) |