Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Category
132 items
Abort an evaluation as soon as a message is generated
Pairs each element of a list with its index
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 multiple items to an expression at once
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
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
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
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
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 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
Give the elements that appear more than once in the input list
Interruptibility map a function over a list while showing a progress indicator
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
Compute a right-associated fold
Compute a right-associated fold returning the list of intermediate results
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
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
Synchronously evaluate an expression in a separate kernel
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
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
Appends a value in a nested association
Look up a set of keys in order to get deeper parts of an association or list of rules
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
Remove and return an element of an expression
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
Use Check and Quiet, conveniently combined into one function
Choose random parts of an expression
Randomly choose a point within a specified domain
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
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
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
Test a valid string pattern
Sort the characters in a string
Find the distinct characters in multiple strings
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 a table using both an iterator and a criterion for not stopping
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
Construct an association without evaluating any of the keys or values
Equivalent to Union but redefines the first argument to the result
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