ILNumerics - Technical Application Development
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
This function always throws an exception when called on return type array.
[Invalid] This method cannot be used on return type arrays! Create a local array instead! Acquire the pointer elements from the local array then.
[ILNumerics Core Module]
Namespace: ILNumerics.Core.Arrays
Assembly: ILNumerics.Core (in ILNumerics.Core.dll) Version: 5.5.0.0 (5.5.7503.3146)
Syntax
Parameters
- order (Optional)
- Type: SystemNullableStorageOrders
Return Value
Type: IntPtrThis function always throws an exception when called on return type array.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | is always thrown when this function is called on a return type array (RetArray{T} & Co). |
Remarks
This function is defined on return type arrays. Its sole purpose is to invalidate the corresponding function of the base class ConcreteArrayT1, LocalT, InT, OutT, RetT, StorageT. Since return type arrays are released after the first use, returning a pointer to its elements as this only 'use' would immediately render the pointer invalid. Hence, this function will throw an exception when called on return type arrays.
Consider assigning the return type array to a local array ArrayT (Logical) and call this function on the local array instead.
[ILNumerics Core Module]
See Also