Computational geometry is the study of efficient algorithms for solving geometric problems. The nearest neighbor problem involves identifying one point, out of a set of ...
Mathematica provides a range of methods for representing and constructing matrices. Especially powerful are symbolic representations, in terms of symbolic systems of ...
Integrated into the core Mathematica language is industrial-strength string manipulation, not only with ordinary regular expressions, but also with Mathematica's own powerful ...
SimilarityRules is an option for functions such as SequenceAlignment that gives a list of rules for similarity scores to assume between pairs of elements.
NeedlemanWunschSimilarity[u, v] gives a number representing the Needleman\[Dash]Wunsch similarity between strings or vectors u and v.
SmithWatermanSimilarity[u, v] gives a number representing the Smith\[Dash]Waterman similarity between strings or vectors u and v.
Mathematica includes state-of-the-art algorithms for sequence alignment and comparison, capable of handling strings and lists containing very large numbers of elements.
Unless f is a flat function, a pattern like f[x_,y_] stands only for instances of the function with exactly two arguments. Sometimes you need to set up patterns that can ...