Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Category
171 items
Abort an evaluation as soon as a message is generated
Pairs each element of a list with its index
Find elements of lists that are not in other lists
Check if all elements of a list are the same as a value
Combine specified elements of two lists into a new list
Give the antidiagonal of a matrix
Creates an antidiagonal matrix by given the antidiagonal
Tests whether a matrix is an antidiagonal matrix
Append a column to the right of a matrix
Append multiple items to an expression at once
Create an operator that applies a function over data at a specified level
Convert a list of pairs into an association
Flatten keys in a nested association
Similar to MapAt but with improved behavior for nested expressions involving associations
Partition an association into a list of associations
Find the position of a target value within a sorted array
Find the position of a target value within an array sorted after applying a function
Convert a list of bits to a byte array
Modify definitions of protected symbols and ensure that their attributes are restored
Functionally compose a Boolean expression
Calculate multidimensional arrays according to the broadcasting rules of NumPy
Converts a byte array to a list of bits
Return a stored expression if it exists; otherwise, evaluate and store an expression
Verify that an evaluation output matches a given pattern and produces no errors
Map functions over columns instead of rows
Create an association whose values are all a constant
Similar to ContainsAll but taking the multiplicities into consideration
Determine whether an input expression contains one or more subexpressions (at any level) matching a given pattern
Temporarily set $Context and $ContextPath to a unique empty context for an evaluation
Create a list of positive integers containing as many elements as the expression to which it is applied
Set up a symbol to give an error message when called with an unexpected number of arguments
Store full definitions for a symbol in a compact object
Delete adjacent duplicates from a list
Remove all elements from the value of a symbol that match a pattern and reset the symbol to the result
Delete failures in an expression
Delete an element from the value of a symbol and reset the symbol to the result
Split a list at its left-to-right maxima
Apply a function to neighboring pairs in a list
Find the total size of a directory
Eliminate elements from a list for which a given conditional is True
Drop elements of a list while a criterion remains true
Select all the elements which appear twice or more in a list
Select all the elements from a list for which a given function returns the same answer twice or more
Give the elements that appear more than once in the input list
Map functions over lists while showing dynamic progress
Test if an element is contained in a list
Test whether a structure can be considered empty
Ensure that a directory exists, no matter what
Create the parent directories necessary to fill out a given file path
Remove enclosed arguments
Stop an evaluation when a message is encountered and return a given failure expression
Evaluate expressions in turn until a given form is returned
Reverse the order of two arguments of a function
Perform a folding operation while also parsing the index as the third argument
Perform a folding operation while also parsing the index as the third argument
Compute a right-associated fold
Compute a right-associated fold returning the list of intermediate results
Perform a folding operation parsing multiple arguments
Perform a folding operation parsing multiple arguments
Return a fully qualified name of a symbol regardless of current context settings
A version of MapThread that allows for ragged arrays and for lists with unequal depth
Create a suitable KeyValuePattern from an example association
Group elements according to a list of equivalence classes
Construct a function from another function that holds certain arguments
Similar to Block, except values of local symbols are not cleared when entering the block
Insert the values of symbols into an expression before evaluation
A two-argument form of Counts that gives an association between a set of provided keys and the number of times those keys appear in a list
An operator that joins in front of its arguments the sequence of lists it is provided
An operator that performs a Join of its argument with the sequence of lists it is provided
Equivalent to Join, but redefines the first argument to the result
Map a function over the keys of an association, and collect or combine values in the event of key collisions
Create an association indexed by a given key from a list of associations
Map a function conditionally over keys in an association
Replace keys in an association
Print an expression with a label of its unevaluated form
Use rules as local variable lists
Find the longest common contiguous prefix of a set of strings or lists
Apply functions to specific keys in an association
Map a function at parts of an expression that match a given pattern
Map a function for elements in a list when a test gives True
Create an operator that maps a function over data at a specified level
Like an operator form of GroupBy, but where one also specifies a reducer function to be applied
Map a function over selected elements of a list, also passing in a running count of such elements
Provide the part specifications to a mapped function as a sequence of arguments after the first one
Prune non-maximal subsets from a list of subsets
Combine multiple tally results
Prunes non-minimal subsets from a list of subsets
Get the minimum and maximum of a list rounded to a multiple
Monitor the progress of a computation and display the current step and estimated time remaining
Append a value in a nested association
Drop keys from a nested association
Look up a set of keys in order to get deeper parts of an association or list of rules
Get the subset of a list for a given index
Check if an object exists
Equivalent to using Once, but will only cache results if evaluation was successful
Apply a function on an expression when FailureQ gives True on it; otherwise, return the expression
Test if a stream is open
Pick named elements of a pattern
Remove and return an element of an expression
Find positions and values within an expression matching a pattern
Get the position of the largest elements in a list
The position of the elements in a list that are largest according to a given function
Test if the first elements of a list are the same as those from another list
Prepend a column to the left of a matrix
Conveniently display two dimensional data in a nicely styled grid
Use Check and Quiet, conveniently combined into one function
Choose random parts of an expression
Cut a list into random segments
Randomly choose a point within a specified domain
Randomly divide a list into a specified number of segments
The rarest elements in a list
Display an expression in a format intended to maximize readability
Evaluate an expression repeatedly until a test is satisfied
Similar to ReplaceAll, but parts of the expression can be ignored by providing a pattern
Apply replacement rules to evaluated parts of expression
Replace parts of an expression using replacement rules and a part specification
Replace the part of an expression specified by position via a rule
Replace each element of a list with the sum of the elements in the original list that are not to the left of that element
Recursively take the head of an expression
Cycle the elements of a list to the left until a criterion is satisfied
An operator form of SameQ
Search an ordered list at speed logarithmic in the length of a list
Fractional number of seconds that have elapsed since midnight
Select elements that satisfy a criterion at a certain level
Apply a function to a list and select the first that satisfies a test
Find the index of the first element satisfying a criterion
Find indices of parts satisfying a criterion
Get permutations that satisfy a certain criterion
A function like Select that returns positions instead of values
Generate subsets that satisfy a certain criterion
Generate tuples that satisfy a certain criterion
Use rules to make assignments
Use as an operator form of Set
Initialize a value unless it already satisfies a given condition
An operator form of Part
Create a data rectangular structure that behaves like a SparseArray indexed by string keys
Split a list into sublists that match the same pattern from an ordered list of patterns
Split a list every time an element satisfies a test
Test if two strings have no common characters
Use functions meant for lists on strings
Test if two strings have any common characters
Find the characters common to multiple strings
Find substrings that overlap between strings
Test a valid string pattern
Sort the characters in a string
Switch but for strings
Generate a list of all tuples of characters from a string
Find the distinct characters in multiple strings
Test if a string pattern is within an expression
Find symbols whose definition contains specified pattern
Find and list all symbols with a particular attribute
Find and list all symbols with a particular option
The complement of the union and intersection of lists, with duplicates deleted
Similar to ArrayQ, except it allows for ragged collections of nested lists
Create tables of values while given criteria hold
Take elements before the specified element in an expression
Take values larger than a threshold in a list or association
Take values smaller than a threshold in a list or association
An operator form of Short
Reverse a Curry operation
Construct an association without evaluating any of the keys or values
Equivalent to Union but redefines the first argument to the result
Similar to Cases, but removes duplicates
Provide a new context that contains no symbols
Delete the elements of some lists from a list x without changing either the order of x or the multiplicities of its elements
A partial inverse for Thread
Similar to While, but it performs the action before the test
Similar to AssociationMap but maps over a given set of values to obtain keys rather than vice versa
Create an association from a set of values, using a map-indexed function on those values to form the keys
An operator form of Which
The opposite of When