Click or drag to resize

IMcObjectOpSelfNeg Method

Arithmetic unary operator to negate the values in this McObject, leaving the result in this McObject.

Namespace:  MediaCy.IQL.ObjectManager
Assembly:  MediaCy.IQL.ObjectManager (in MediaCy.IQL.ObjectManager.dll) Version: 10.0.6912.0
Syntax
VB
Function OpSelfNeg As McObject

Return Value

Type: McObject
Remarks
The values of this McObject are all negated, and the result is left in this McObject and returned.
Examples
VB
'Start with 2-D
Dim mcobjLeft As McObject
Set mcobjLeft = GlobalTools.McObjectTemp( Array( Array(1,2,3), Array(10,20,30)))
mcobjLeft.OpSelfNeg
' Show Operation McObject Result = -1,-2,-3  -10,-20,-30
MsgBox( "Operation McObject Result = " + GlobalTools.McToText(mobjLeft)).Value
' Show Result nDims: 2 Dim sizes: -2 -3
MsgBox( "Result nDims: " + Str( mcobjLeft.Shape(mcobjSIC_NofDims)) + _
" Dim sizes: " + GlobalTools.McToText( mcobjLeft.Shape(mcobjSIC_SizeAllDims))).Value
See Also

Reference

McOpSmallerOf
McOpAndBits
McOpConcatConcat
McOpAND