|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.05.27.0015.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
FractionalPart[x] == x - Round[x - 1/2] /; Element[x, Reals] && x >= 0 &&
!Element[(x + 1)/2, Integers]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["FractionalPart", "[", "x", "]"]], "\[Equal]", RowBox[List["x", "-", RowBox[List["Round", "[", RowBox[List["x", "-", FractionBox["1", "2"]]], "]"]]]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "\[And]", RowBox[List["x", "\[GreaterEqual]", "0"]], "\[And]", RowBox[List["Not", "[", RowBox[List[FractionBox[RowBox[List["x", "+", "1"]], "2"], "\[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> frac </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mi> x </mi> <mo> - </mo> <mrow> <mo> ⌊ </mo> <mrow> <mi> x </mi> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ⌉ </mo> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> x </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> x </mi> <mo> ≥ </mo> <mn> 0 </mn> </mrow> <mo> ∧ </mo> <mrow> <mfrac> <mrow> <mi> x </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mn> 2 </mn> </mfrac> <mo> ∉ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <mrow> <mrow> <mrow> <mi> frac </mi> <mo> ⁡ </mo> <mo> ( </mo> <mi> x </mi> <mo> ) </mo> </mrow> <mo> ⩵ </mo> <mrow> <mi> x </mi> <mo> - </mo> <mrow> <mo> ⌊ </mo> <mrow> <mi> x </mi> <mo> - </mo> <mfrac> <mn> 1 </mn> <mn> 2 </mn> </mfrac> </mrow> <mo> ⌉ </mo> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> x </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> <mo> ∧ </mo> <mrow> <mi> x </mi> <mo> ≥ </mo> <mn> 0 </mn> </mrow> <mo> ∧ </mo> <mrow> <mfrac> <mrow> <mi> x </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mn> 2 </mn> </mfrac> <mo> ∉ </mo> <semantics> <mi> ℤ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalZ]", Function[Integers]] </annotation> </semantics> </mrow> </mrow> </mrow> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["FractionalPart", "[", "x_", "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List["x", "-", RowBox[List["Round", "[", RowBox[List["x", "-", FractionBox["1", "2"]]], "]"]]]], "/;", RowBox[List[RowBox[List["x", "\[Element]", "Reals"]], "&&", RowBox[List["x", "\[GreaterEqual]", "0"]], "&&", RowBox[List["!", RowBox[List[FractionBox[RowBox[List["x", "+", "1"]], "2"], "\[Element]", "Integers"]]]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|