Mathematica 9 is now available

HarmonicNumberQuotient (modified)

Mod

FilledSmallSquareMod[m, n] gives the remainder on division of m by n.

FilledSmallSquareMod[m, n, d] uses an offset d.

FilledSmallSquare For integers and Mod[m, n] lies between 0 and .

FilledSmallSquareMod[m, n, 1] gives a result in the range to , suitable for use in functions such as Part.

FilledSmallSquareMod[m, n, d] gives a result such that and .

FilledSmallSquare The sign of Mod[m, n] is always the same as the sign of n, at least so long as m and n are both real.

FilledSmallSquareMod[m, n] is equivalent to m - n Quotient[m, n].

FilledSmallSquareMod[m, n, d] is equivalent to m - n Quotient[m, n, d].

FilledSmallSquare The arguments of Mod can be any numeric quantities, not necessarily integers.

FilledSmallSquareMod[x, 1] gives the fractional part of x.

FilledSmallSquare For exact numeric quantities, Mod internally uses numerical approximations to establish its result. This process can be affected by the setting of the global variable $MaxExtraPrecision.

FilledSmallSquare See The Mathematica Book: Section 1.1.3 and Section 3.2.4.

FilledSmallSquare See also: PowerMod, Quotient, FractionalPart, MantissaExponent, PolynomialMod, PolynomialRemainder, Xor.

Further Examples

HarmonicNumberQuotient (modified)



Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.