Macaulay2
»
Documentation
Packages
»
Macaulay2Doc
»
The Macaulay2 language
»
making new functions with optional arguments
»
symbols used as the name or value of an optional argument
»
Density
next
|
previous
|
forward
|
backward
|
up
|
index
|
toc
Density -- an optional argument
Description
A symbol used as the name of an optional argument.
Functions with optional argument named
Density
:
fillMatrix(...,Density=>...)
-- see
fillMatrix
-- fill a mutable matrix with random numbers
random(...,Density=>...)
-- see
random(Module,Module)
-- get a random map of module
For the programmer
The object
Density
is
a
symbol
.
The source of this document is in
Macaulay2Doc/options.m2:28:0
.