identical - Maple Help

RandomTools Flavor: identical

describe an object identically

 Calling Sequence identical(expr)

Parameters

 expr - Maple expression

Description

 • The flavor identical describes the object expr itself.
 This flavor can be used as an argument to RandomTools[Generate] or as part of a structured flavor.

Examples

 > $\mathrm{with}\left(\mathrm{RandomTools}\right):$
 > $\mathrm{Generate}\left(\mathrm{posint}\left(\mathrm{range}=10\right)+\mathrm{posint}\left(\mathrm{range}=10\right)'\mathrm{sin}'\left(x\right)\right)$
 > $\mathrm{Generate}\left(\mathrm{posint}\left(\mathrm{range}=10\right)+\mathrm{posint}\left(\mathrm{range}=10\right)'\mathrm{sin}'\left(\mathrm{identical}\left(x\right)\right)\right)$
 ${6}{+}{2}{}{\mathrm{sin}}{}\left({x}\right)$ (1)
 > $\mathrm{Matrix}\left(3,3,\mathrm{Generate}\left(\mathrm{posint}\left(\mathrm{range}=7\right)\mathrm{identical}\left(x\right)+\mathrm{posint}\left(\mathrm{range}=7\right),\mathrm{makeproc}=\mathrm{true}\right)\right)$
 $\left[\begin{array}{ccc}{3}{}{x}{+}{4}& {4}{}{x}{+}{6}& {5}{}{x}{+}{3}\\ {x}{+}{5}& {2}{}{x}{+}{3}& {2}{}{x}{+}{2}\\ {4}{}{x}{+}{3}& {3}{}{x}{+}{1}& {2}{}{x}{+}{5}\end{array}\right]$ (2)