|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
http://functions.wolfram.com/04.02.16.0017.01
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ceiling[n z] == n Ceiling[z] -
Sum[k (UnitStep[1 - k/n - Mod[z, 1]]
(1 - UnitStep[1 - (k + 1)/n - Mod[z, 1]])), {k, 0, n - 1}] /;
Element[n, Integers] && n >= 0 && Element[z, Reals]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cell[BoxData[RowBox[List[RowBox[List[RowBox[List["Ceiling", "[", RowBox[List["n", " ", "z"]], "]"]], "\[Equal]", RowBox[List[RowBox[List["n", " ", RowBox[List["Ceiling", "[", "z", "]"]]]], "-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "0"]], RowBox[List["n", "-", "1"]]], RowBox[List["k", " ", RowBox[List["(", RowBox[List[RowBox[List["UnitStep", "[", RowBox[List["1", "-", FractionBox["k", "n"], "-", RowBox[List["Mod", "[", RowBox[List["z", ",", "1"]], "]"]]]], "]"]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List["UnitStep", "[", RowBox[List["1", "-", FractionBox[RowBox[List["k", "+", "1"]], "n"], "-", RowBox[List["Mod", "[", RowBox[List["z", ",", "1"]], "]"]]]], "]"]]]], ")"]]]], ")"]]]]]]]]]], "/;", RowBox[List[RowBox[List["Element", "[", RowBox[List["n", ",", "Integers"]], "]"]], "\[And]", RowBox[List["n", "\[GreaterEqual]", "0"]], "\[And]", RowBox[List["Element", "[", RowBox[List["z", ",", "Reals"]], "]"]]]]]]]]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<math xmlns='http://www.w3.org/1998/Math/MathML' mathematica:form='TraditionalForm' xmlns:mathematica='http://www.wolfram.com/XML/'> <semantics> <mrow> <mrow> <mrow> <mo> ⌈ </mo> <mrow> <mi> n </mi> <mo> ⁢ </mo> <mi> z </mi> </mrow> <mo> ⌉ </mo> </mrow> <mo> ⩵ </mo> <mrow> <mrow> <mi> n </mi> <mo> ⁢ </mo> <mrow> <mo> ⌈ </mo> <mi> z </mi> <mo> ⌉ </mo> </mrow> </mrow> <mo> - </mo> <mrow> <munderover> <mo> ∑ </mo> <mrow> <mi> k </mi> <mo> = </mo> <mn> 0 </mn> </mrow> <mrow> <mi> n </mi> <mo> - </mo> <mn> 1 </mn> </mrow> </munderover> <mrow> <mi> k </mi> <mo> ⁢ </mo> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mrow> <mo> - </mo> <mfrac> <mi> k </mi> <mi> n </mi> </mfrac> </mrow> <mo> - </mo> <semantics> <mrow> <mi> z </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mn> 1 </mn> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`z </ci> <cn type='integer'> 1 </cn> </apply> </annotation-xml> </semantics> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> <mo> ⁢ </mo> <mrow> <mo> ( </mo> <mrow> <mn> 1 </mn> <mo> - </mo> <mrow> <semantics> <mi> θ </mi> <annotation-xml encoding='MathML-Content'> <ci> UnitStep </ci> </annotation-xml> </semantics> <mo> ( </mo> <mrow> <mrow> <mo> - </mo> <mfrac> <mrow> <mi> k </mi> <mo> + </mo> <mn> 1 </mn> </mrow> <mi> n </mi> </mfrac> </mrow> <mo> - </mo> <semantics> <mrow> <mi> z </mi> <mo> ⁢ </mo> <mi> mod </mi> <mo> ⁢ </mo> <mn> 1 </mn> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <rem /> <ci> $CellContext`z </ci> <cn type='integer'> 1 </cn> </apply> </annotation-xml> </semantics> <mo> + </mo> <mn> 1 </mn> </mrow> <mo> ) </mo> </mrow> </mrow> <mo> ) </mo> </mrow> </mrow> </mrow> </mrow> </mrow> <mo> /; </mo> <mrow> <mrow> <mi> n </mi> <mo> ∈ </mo> <mi> ℕ </mi> </mrow> <mo> ∧ </mo> <mrow> <mi> z </mi> <mo> ∈ </mo> <semantics> <mi> ℝ </mi> <annotation encoding='Mathematica'> TagBox["\[DoubleStruckCapitalR]", Function[Reals]] </annotation> </semantics> </mrow> </mrow> </mrow> <annotation-xml encoding='MathML-Content'> <apply> <ci> Condition </ci> <apply> <eq /> <apply> <ceiling /> <apply> <times /> <ci> n </ci> <ci> z </ci> </apply> </apply> <apply> <plus /> <apply> <times /> <ci> n </ci> <apply> <ceiling /> <ci> z </ci> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <sum /> <bvar> <ci> k </ci> </bvar> <lowlimit> <cn type='integer'> 0 </cn> </lowlimit> <uplimit> <apply> <plus /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </uplimit> <apply> <times /> <ci> k </ci> <apply> <ci> UnitStep </ci> <apply> <plus /> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <ci> k </ci> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <rem /> <ci> $CellContext`z </ci> <cn type='integer'> 1 </cn> </apply> </apply> <cn type='integer'> 1 </cn> </apply> </apply> <apply> <plus /> <cn type='integer'> 1 </cn> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <ci> UnitStep </ci> <apply> <plus /> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <times /> <apply> <plus /> <ci> k </ci> <cn type='integer'> 1 </cn> </apply> <apply> <power /> <ci> n </ci> <cn type='integer'> -1 </cn> </apply> </apply> </apply> <apply> <times /> <cn type='integer'> -1 </cn> <apply> <rem /> <ci> $CellContext`z </ci> <cn type='integer'> 1 </cn> </apply> </apply> <cn type='integer'> 1 </cn> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> </apply> <apply> <and /> <apply> <in /> <ci> n </ci> <ci> ℕ </ci> </apply> <apply> <in /> <ci> z </ci> <reals /> </apply> </apply> </apply> </annotation-xml> </semantics> </math>
|
|
|
|
|
|
|
|
|
|
| |
|
|
|
|
| Cell[BoxData[RowBox[List[RowBox[List["HoldPattern", "[", RowBox[List["Ceiling", "[", RowBox[List["n_", " ", "z_"]], "]"]], "]"]], "\[RuleDelayed]", RowBox[List[RowBox[List[RowBox[List["n", " ", RowBox[List["Ceiling", "[", "z", "]"]]]], "-", RowBox[List[UnderoverscriptBox["\[Sum]", RowBox[List["k", "=", "0"]], RowBox[List["n", "-", "1"]]], RowBox[List["k", " ", RowBox[List["(", RowBox[List[RowBox[List["UnitStep", "[", RowBox[List["1", "-", FractionBox["k", "n"], "-", RowBox[List["Mod", "[", RowBox[List["z", ",", "1"]], "]"]]]], "]"]], " ", RowBox[List["(", RowBox[List["1", "-", RowBox[List["UnitStep", "[", RowBox[List["1", "-", FractionBox[RowBox[List["k", "+", "1"]], "n"], "-", RowBox[List["Mod", "[", RowBox[List["z", ",", "1"]], "]"]]]], "]"]]]], ")"]]]], ")"]]]]]]]], "/;", RowBox[List[RowBox[List["n", "\[Element]", "Integers"]], "&&", RowBox[List["n", "\[GreaterEqual]", "0"]], "&&", RowBox[List["z", "\[Element]", "Reals"]]]]]]]]]] |
|
|
|
|
|
|
|
|
|
|
Date Added to functions.wolfram.com (modification date)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|