function uniqueRootIndices input VariableName[:] roots; input VariableName[:] nodes; input String message = ""; output Integer[size(roots, 1)] rootIndices; end uniqueRootIndices;