MtxExprInt Class

public class MtxExprInt

Methods

NameDescription
Abs (3)Returns the abs of elements in the source data.
Add (4)Compute X + Y + Z
AddAndMul (26)Compute (X + Y)*Z
AddScaled (10)Compute X + Y + Z*zScale
AddScaledC (4)Compute X + Y*yScale + zScalar
AddScaledSqr (4)Compute sqr(X + Y*yScale)
ConcatConcatenates an array of TVecInt (VectorInt) objects and returns a combined array.
ConvertCopy each of Vec elements to the calling object.
CumSumCalculate the cumulative sum for all Vec elements.
DiagCopies the k-th diagonal from the TMtxInt object.
DifferenceCalculate the difference for all Vec elements.
DistinctReturns distinct values from Src.
DivAndAdd (12)Compute X/Y + Z
DivAndSub (12)Compute X/Y - Z
Divide (4)Compute X / (Y*Z)
DivideC (2)Compute X / (Y*zScale)
FindAndSplit (3)Finds the masks for a vector and splits it.
FindIndexes (5)Fills the resulting vector with indexes, where the logical expression is true.
FindMask (5)Finds and returns a vector mask.
GatherByIncrGathers elements from X starting at Offset and with Increment in to the result.
GatherByIndexGathers elements from X specified by indices stored in Indexes in to the result.
GatherByMaskGathers elements from X specified by non-zero values stored in the Mask in to the result.
GetColCopies a column from matrix.
GetRowCopies a row from matrix.
Mag (2)Compute magnitude from the source.
MaxReturns the maximum of the source data.
MaxColsCompute maximum of each column.
MaxEveryCompare all Vec1 elements with corresponding Vec2 elements and return bigger value as result.
MaxRowsCompute maximum of each row.
MeanReturns the average value of the source data.
Median (2)Computes the Median from the source data.
MinReturns the minimum of the source data.
MinColsCompute minimum of each column.
MinEveryCompare all Vec1 elements with corresponding Vec2 elements and return the smaller value as the result.
MinRowsCompute minimum of each row.
Mul (4)Compute X*Y*Z
MulAndAdd (14)Compute X*Y + Z
MulAndDiv (6)Compute X * Y / Z
MulAndSub (14)Compute X*Y - Z
Ramp (2)Returns a VectorInt of [0, 1, .., Len-1] numbers.
RandomRampFills the resulting vector elements with linear rule and randomly shuffles the indexes.
RandomShuffleRandomly shuffles the content of the vector.
ReverseReverses the content of the source data.
RotateRotates the content of the source data by Offset.
ScatterByMaskScatters Src elements defined with the Mask to the calling object.
Select (2)Subrange the source MatrixInt without copy operation.
ShiftShifts the content of the source data X by Offset left or right.
SortAscend (4)Sort in ascending order all Rows.
SortDescend (4)Sort in descending order all Rows from Src.
SqrAddScaled (4)Compute sqr(X) + sqr(Y)*yScale
StringsToValues (4)Converts a list of strings to VectorInt.
Sub (4)Compute X - Y - Z
SubAndMul (26)Compute (X - Y)*Z
SubScaled (6)Compute X - Y - Z*zScale
SubScaledC (4)Compute X - Y*yScale - zScalar
SumReturns the sum of elements in the source data.
ThreshAbsGTPerform threshold operation on all Src object values.
ThreshAbsLTPerform threshold operation on all Src object values.
ThreshBottomPerform threshold operation on all Src object values.
ThresholdGT_LTPerform "greater than and less than" threshold operation on all Vec object values.
ThreshTopPerform threshold operation on all Src object values.