open source pkg v1
This commit is contained in:
6
pkg/OpenFace/matlab_version/models/cen/swap.m
Normal file
6
pkg/OpenFace/matlab_version/models/cen/swap.m
Normal file
@@ -0,0 +1,6 @@
|
||||
function arr = swap(arr, ind1, ind2)
|
||||
val1 = arr(ind1);
|
||||
val2 = arr(ind2);
|
||||
arr(ind1) = val2;
|
||||
arr(ind2) = val1;
|
||||
end
|
||||
Reference in New Issue
Block a user