Wolfram Research


Core Language & Structure

124 items

  • AbortOnMessage

    Abort an evaluation as soon as a message is generated

  • AddIndices

    Pairs each element of a list with its index

  • AllSameAs

    Check if all elements of a list are the same as a value

  • AlternateElements

    Combine specified elements of two lists into a new list

  • Antidiagonal

    Give the antidiagonal of a matrix

  • AntidiagonalMatrix

    Creates an antidiagonal matrix by given the antidiagonal

  • AntidiagonalMatrixQ

    Tests whether a matrix is an antidiagonal matrix

  • AppendSequence

    Append multiple items to an expression at once

  • AssociatePairs

    Convert a list of pairs into an association

  • AssociationKeyFlatten

    Flatten keys in a nested association

  • AssociationMapAt

    Similar to MapAt but with improved behavior for nested expressions involving associations

  • AssociationPartition

    Partition an association into a list of associations

  • BlockProtected

    Modify definitions of protected symbols and ensure that their attributes are restored

  • CacheTo

    Return a stored expression if it exists; otherwise, evaluate and store an expression

  • CheckMatch

    Verify that an evaluation output matches a given pattern and produces no errors

  • ConstantAssociation

    Create an association whose values are all a constant

  • ContainsQ

    Determine whether an input expression contains one or more subexpressions (at any level) matching a given pattern

  • ContextModule

    Temporarily set $Context and $ContextPath to a unique empty context for an evaluation

  • CorrespondingIntegers

    Create a list of positive integers containing as many elements as the expression to which it is applied

  • DeclareArgumentCount

    Set up a symbol to give an error message when called with an unexpected number of arguments

  • DefinitionData

    Store full definitions for a symbol in a compact object

  • DeleteAdjacentDuplicates

    Delete adjacent duplicates from a list

  • DeleteCasesFrom

    Remove all elements from the value of a symbol that match a pattern and reset the symbol to the result

  • DeleteFrom

    Delete an element from the value of a symbol and reset the symbol to the result

  • DescendingSublists

    Split a list at its left-to-right maxima

  • DirectorySize

    Find the total size of a directory

  • Discard

    Eliminate elements from a list for which a given conditional is True

  • DropWhile

    Drop elements of a list while a criterion remains true

  • DuplicatesList

    Give the elements that appear more than once in the input list

  • DynamicMap

    Interruptibility map a function over a list while showing a progress indicator

  • ElementQ

    Test if an element is contained in a list

  • EmptyQ

    Test whether a structure can be considered empty

  • EnsureDirectory

    Ensure that a directory exists, no matter what

  • EnsureFilePath

    Create the parent directories necessary to fill out a given file path

  • Excise

    Remove enclosed arguments

  • FailOnMessage

    Stop an evaluation when a message is encountered and return a given failure expression

  • FoldRight

    Compute a right-associated fold

  • FoldRightList

    Compute a right-associated fold returning the list of intermediate results

  • FullSymbolName

    Return a fully qualified name of a symbol regardless of current context settings

  • GeneralizedMapThread

    A version of MapThread that allows for ragged arrays and for lists with unequal depth

  • GetKeyValuePattern

    Creates a suitable KeyValuePattern from an example association

  • HoldArguments

    Construct a function from another function that holds certain arguments

  • InheritedBlock

    Similar to Block, except values of local symbols are not cleared when entering the block

  • Inline

    Insert the values of symbols into an expression before evaluation

  • ItemCounts

    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

  • JoinMost

    An operator that joins in front of its arguments the sequence of lists it is provided

  • JoinRest

    An operator that performs a Join of its argument with the sequence of lists it is provided

  • JoinTo

    Equivalent to Join, but redefines the first argument to the result

  • KeyCombine

    Map a function over the keys of an association, and collect or combine values in the event of key collisions

  • KeyIndex

    Create an association indexed by a given key from a list of associations

  • KeyMapIf

    Map a function conditionally over keys in an association

  • KeyReplace

    Replace keys in an association

  • LocalEvaluate

    Synchronously evaluate an expression in a separate kernel

  • MapAtKey

    Apply functions to specific keys in an association

  • MapCases

    Map a function at parts of an expression that match a given pattern

  • MapIf

    Map a function for elements in a list when a test gives True

  • MapLevel

    Create an operator that maps a function over data at a specified level

  • MapReduceOperator

    Like an operator form of GroupBy, but where one also specifies a reducer function to be applied

  • MapSlice

    Provide the part specifications to a mapped function as a sequence of arguments after the first one

  • MetaTally

    Combine multiple tally results

  • MinMaxRounded

    Get the minimum and maximum of a list rounded to a multiple

  • NestedLookup

    Look up a set of keys in order to get deeper parts of an association or list of rules

  • OnceUnlessFailed

    Equivalent to using Once, but will only cache results if evaluation was successful

  • OnFailure

    Apply a function on an expression when FailureQ gives True on it; otherwise, return the expression

  • OpenStreamQ

    Test if a stream is open

  • Pop

    Remove and return an element of an expression

  • PositionLargest

    Get the position of the largest elements in a list

  • PositionLargestBy

    The position of the elements in a list that are largest according to a given function

  • PrefixQ

    Test if the first elements of a list are the same as those from another list

  • QuietCheck

    Use Check and Quiet, conveniently combined into one function

  • RandomPartChoice

    Choose random parts of an expression

  • RandomRealPoint

    Randomly choose a point within a specified domain

  • Rarest

    The rarest elements in a list

  • ReadableForm

    Display an expression in a format intended to maximize readability

  • RepeatUntil

    Evaluate an expression repeatedly until a test is satisfied

  • ReplaceAllOutside

    Similar to ReplaceAll, but parts of the expression can be ignored by providing a pattern

  • ReplaceAllUnheld

    Apply replacement rules to evaluated parts of expression

  • ReplaceAt

    Replace parts of an expression using replacement rules and a part specification

  • ReplacePartWith

    Replace the part of an expression specified by position via a rule

  • ReverseAccumulate

    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

  • RootSymbol

    Recursively take the head of an expression

  • RotateLeftUntil

    Cycle the elements of a list to the left until a criterion is satisfied

  • SameAsQ

    An operator form of SameQ

  • SecondsToday

    Fractional number of seconds that have elapsed since midnight

  • SelectAtLevel

    Select elements that satisfy a criterion at a certain level

  • SelectFirstBy

    Apply a function to a list and select the first that satisfies a test

  • SelectFirstIndex

    Find the index of the first element satisfying a criterion

  • SelectIndices

    Find indices of parts satisfying a criterion

  • SelectPermutations

    Generates permutations that satisfy a certain criterion

  • SelectPositions

    A function like Select that returns positions instead of values

  • SelectSubsets

    Generate subsets that satisfy a certain criterion

  • SelectTuples

    Generate tuples that satisfy a certain criterion

  • SetTo

    Use as an operator form of Set

  • SetUnless

    Initialize a value unless it already satisfies a given condition

  • Slice

    An operator form of Part

  • SplitWhen

    Split a list every time an element satisfies a test

  • StringDisjointQ

    Test if two strings have no common characters

  • StringFunction

    Use functions meant for lists on strings

  • StringIntersectingQ

    Test if two strings have any common characters

  • StringIntersection

    Find the characters common to multiple strings

  • StringPatternQ

    Test a valid string pattern

  • StringSort

    Sort the characters in a string

  • StringUnion

    Find the distinct characters in multiple strings

  • SymbolCases

    Find symbols whose definition contains specified pattern

  • SymbolsWithAttribute

    Find and list all symbols with a particular attribute

  • SymbolsWithOption

    Find and list all symbols with a particular option

  • SymmetricDifference

    The complement of the union and intersection of lists, with duplicates deleted

  • TableQ

    Similar to ArrayQ, except it allows for ragged collections of nested lists

  • TableWhile

    Create a table using both an iterator and a criterion for not stopping

  • TakeBefore

    Take elements before the specified element in an expression

  • TakeLarger

    Take values larger than a threshold in a list or association

  • TakeSmaller

    Take values smaller than a threshold in a list or association

  • Terse

    An operator form of Short

  • UnevaluatedAssociation

    Construct an association without evaluating any of the keys or values

  • UnionTo

    Equivalent to Union but redefines the first argument to the result

  • UniqueCases

    Similar to Cases, but removes duplicates

  • UniqueContext

    Provide a new context that contains no symbols

  • UnsortedComplement

    Delete the elements of some lists from a list x without changing either the order of x or the multiplicities of its elements

  • Unthread

    A partial inverse for Thread

  • Until

    Similar to While, but it performs the action before the test

  • ValueMap

    Similar to AssociationMap but maps over a given set of values to obtain keys rather than vice versa

  • ValueMapIndexed

    Create an association from a set of values, using a map-indexed function on those values to form the keys

  • When

    An operator form of Which

  • WhenNot

    The opposite of When