|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.07.27.0029.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Quotient[m, n] == m/n - FractionalPart[m/n] /;
(Re[m/n] >= 0 && Im[m/n] >= 0) || Element[m/n, Integers] ||
Element[I (m/n), Integers]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Quotient", "[", RowBox[List["m", ",", "n"]], "]"]], "\[Equal]", RowBox[List[FractionBox["m", "n"], "-", RowBox[List["FractionalPart", "[", FractionBox["m", "n"], "]"]]]]]], "/;", RowBox[List[RowBox[List["(", RowBox[List[RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "\[GreaterEqual]", "0"]], "\[And]", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "\[GreaterEqual]", "0"]]]], ")"]], "\[Or]", RowBox[List["(", RowBox[List[FractionBox["m", "n"], "\[Element]", "Integers"]], ")"]], "\[Or]", RowBox[List["(", RowBox[List[RowBox[List["\[ImaginaryI]", " ", 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> <mrow> <mi> quotient </mi> <mo> ⁡ </mo> <mo> ( </mo> <mrow> <mi> m </mi> <mo> , </mo> <mi> n </mi> </mrow> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> - </mo> <mrow> <mi> frac </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mrow> <mrow> <mi> Re </mi> <mo> ⁡ </mo> <mo> ( </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ) </mo> </mrow> <mo> ≥ </mo> <mn> 0 </mn> </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> <mn> 0 </mn> </mrow> </mrow> <mo> ∨ </mo> <mrow> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> <mo> ∈ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> <mo> ∨ </mo> <mrow> <mrow> <mi> ⅈ </mi> <mo> ⁢ </mo> <mfrac> <mi> m </mi> <mi> n </mi> </mfrac> </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> <ci> quotient </ci> <ci> m </ci> <ci> n </ci> </apply> <apply> <plus /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> FractionalPart </ci> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <or /> <apply> <and /> <apply> <geq /> <apply> <real /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <cn type='integer'> 0 </cn> </apply> <apply> <geq /> <apply> <imaginary /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <cn type='integer'> 0 </cn> </apply> </apply> <apply> <in /> <apply> <times /> <ci> m </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> <integers /> </apply> <apply> <in /> <apply> <times /> <imaginaryi /> <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["Quotient", "[", RowBox[List["m_", ",", "n_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[FractionBox["m", "n"], "-", RowBox[List["FractionalPart", "[", FractionBox["m", "n"], "]"]]]], "/;", RowBox[List[RowBox[List["(", RowBox[List[RowBox[List[RowBox[List["Re", "[", FractionBox["m", "n"], "]"]], "\[GreaterEqual]", "0"]], "&&", RowBox[List[RowBox[List["Im", "[", FractionBox["m", "n"], "]"]], "\[GreaterEqual]", "0"]]]], ")"]], "||", RowBox[List[FractionBox["m", "n"], "\[Element]", "Integers"]], "||", RowBox[List[FractionBox[RowBox[List["\[ImaginaryI]", " ", "m"]], "n"], "\[Element]", "Integers"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|