Graphics[primitives, options] represents a two-dimensional graphical image.
Mathematica has been used to make many important discoveries in discrete mathematics over the past two decades. Its integration of highly efficient and often original ...
BreadthFirstScan[g, s, {"event_1" -> f_1, "event_2" -> f_2, ...}] performs a breadth-first scan (bfs) of the graph g starting at the vertex s and evaluates f_i whenever ...
CompleteGraph[n] gives the complete graph with n vertices K_n.CompleteGraph[{n_1, n_2, ..., n_k}] gives the complete k-partite graph with n_1 + n_2 + \[CenterEllipsis] + n_k ...
There are a number of functions built into Mathematica which, like Plot, have various options you can set. Mathematica provides some general mechanisms for handling such ...
HamiltonianGraphQ[g] yields True if the graph g is Hamiltonian, and False otherwise.
Whether it is for importing, exporting, or other operations, Mathematica must know where to look for files on your computer before it can use them. There are a number of ...
Mathematica 's slide shows are ideal for use in the classroom, and can very quickly be leveraged as a lesson or lecture. Any presentation created with Mathematica can display ...
DepthFirstScan[g, s, {"event_1" -> f_1, "event_2" -> f_2, ...}] performs a depth-first scan of the graph g starting at the vertex s and evaluates f_i whenever "event_i" ...
GridGraph[{m, n}] gives the grid graph with m*n vertices G m, n.GridGraph[{n_1, n_2, ..., n_k}] gives the k-dimensional grid graph with n_1*n_2*\[CenterEllipsis]*n_k vertices ...