Add uniqueByRows.

This commit is contained in:
sunwen
2023-06-14 11:01:21 +08:00
parent 98545c4bce
commit 802e51f7f2
2 changed files with 87 additions and 0 deletions

View File

@@ -94,6 +94,8 @@ namespace Aurora {
Matrix deleteColumn(const Matrix& aMatrix, int aColumnIndex);
Matrix createVectorMatrix(double aStartValue, double aStepValue, double aEndValue);
Matrix uniqueByRows(const Matrix& aMatrix, Matrix& aIndexResult);
/**
* 并集
* @param aIa, [C,ia,~] = intersect(A,B)用法中ia的返回值