File: Integer.tex

package info (click to toggle)
cadabra 1.46-6
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 5,244 kB
  • sloc: cpp: 33,188; ansic: 2,724; makefile: 329; yacc: 180; sh: 157; python: 45; lex: 38; lisp: 19
file content (14 lines) | stat: -rw-r--r-- 372 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
\cdbproperty{Integer}{\sf range}

Indicates that the object takes values in the integers. An optional
range can be specified,
\begin{screen}{1,2,3}
p::Integer;
m::Integer(1..10);
n::Integer(1..d-p);
\end{screen}
This property is often used in combination with the \subsprop{Indices}
property to indicate the range of numbers over which indices run.

\cdbseeprop{Indices}