|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.06.27.0016.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mod[m, n] == m - n Ceiling[m/n] + I n /; Element[Re[m/n], Integers] &&
!Element[Im[m/n], Integers]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Mod", "[", RowBox[List["m", ",", "n"]], "]"]], "\[Equal]", RowBox[List["m", "-", RowBox[List["n", " ", RowBox[List["Ceiling", "[", FractionBox["m", "n"], "]"]]]], "+", RowBox[List["\[ImaginaryI]", " ", "n"]]]]]], "/;", RowBox[List[RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "\[Element]", "Integers"]], "\[And]", RowBox[List["Not", "[", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "\[Element]", "Integers"]], "]"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <semantics> <mrow> <mi> m </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> FE`Conversion`Private`m </ci> <ci> $CellContext`n </ci> </apply> </annotation-xml> </semantics> <mo> ⩵ </mo> <mrow> <mi> m </mi> <mo> - </mo> <mrow> <mi> n </mi> <mo> ⁢ </mo> <mrow> <mo> ⌈ </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ⌉ </mo> </mrow> </mrow> <mo> + </mo> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mi> n </mi> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ∈ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mrow> <mi> Im </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ∉ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <rem /> <ci> FE`Conversion`Private`m </ci> <ci> $CellContext`n </ci> </apply> <apply> <plus /> <ci> m </ci> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <ci> n </ci> <apply> <ceiling /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> <apply> <times /> <imaginaryi /> <ci> n </ci> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <apply> <real /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <integers /> </apply> <apply> <notin /> <apply> <imaginary /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <integers /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Mod", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["m", "-", RowBox[List["n", " ", RowBox[List["Ceiling", "[", FractionBox["m", "n"], "]"]]]], "+", RowBox[List["\[ImaginaryI]", " ", "n"]]]], "/;", RowBox[List[RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "\[Element]", "Integers"]], "&&", RowBox[List["!", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "\[Element]", "Integers"]]]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|