SimpleGraphQ[g] yields True if the graph g is a simple graph and False otherwise.
VectorQ
(Built-in Mathematica Symbol) VectorQ[expr] gives True if expr is a list or a one-dimensional SparseArray object, none of whose elements are themselves lists, and gives False otherwise. VectorQ[expr, ...
Mathematica's core tree-oriented symbolic language makes it well suited to working with a hierarchical view of C code as Mathematica expressions. This supports the use of the ...
When you ask for the square root s of a number a, you are effectively asking for the solution to the equation s^2a. This equation, however, in general has two different ...
Whenever machine-precision numbers appear in a calculation, the whole calculation is typically done in machine precision. Mathematica will then give machine-precision numbers ...
The Mathematica side of a MathLink connection is set up to work exactly the same on all computer systems. But inevitably there are differences between external programs on ...
Formatting lists as tables and matrices. Here is a list. Grid gives the list typeset in a tabular format.
StringSplit["string"] splits " string" into a list of substrings separated by whitespace. StringSplit["string", patt] splits into substrings separated by delimiters matching ...
You can use files on your computer system to store definitions and results from Mathematica. The most general approach is to store everything as plain text that is ...
An expression like x^2+2x-7==0 represents an equation in Mathematica. You will often need to solve equations like this, to find out for what values of x they are true. This ...