ILNumerics Ultimate VSILMathnegate Method (BaseArrayDouble)ILNumerics Ultimate VS Documentation
ILNumerics - Technical Application Development
Unary negation of array elements.

[ILNumerics Computing Engine]

Namespace: ILNumerics
Assembly: ILNumerics.Computing (in ILNumerics.Computing.dll) Version: 5.3.0.0 (5.3.7131.2749)
Syntax

public static RetArray<double> negate(
	BaseArray<double> A
)

Parameters

A
Type: ILNumericsBaseArrayDouble
Input array.

Return Value

Type: RetArrayDouble
Unary negation of array elements.
Remarks

The operation is efficiently performed on all elements of the input array A.

The storage order of the array returned depends on the order of A. If A.IsContinuous is true the array returned will have the same StorageOrder as A. Otherwise, the elements of the returned array will be reordered in the order defined by DefaultStorageOrder (default: ColumnMajor).

The operation is performed in multiple threads, according to the current settings of MaxNumberThreads.

The input array A is not altered. However, if A's storage is suitable and not shared by other arrays its memory will be used for the result and the operation is performed 'inplace'.

[ILNumerics Computing Engine]

See Also

Reference