# cyclotomic 函数

给定阶数的分圆多项式。

## 怎么写

### cyclotomic(n, x)

**n**

阶数。接受一个整数。

**x**

多项式的变量。接受一个变量。

## 示例

- $\displaystyle \operatorname{cyclotomic}(6, x) = x^{2}-x+1$

  `cyclotomic(6, x)`

  在求解器中，`cyclotomic(6, x)` 的结果是 `x^2 - x + 1`。

  [在求解器中打开](https://zh.hilberon.com/?q=cyclotomic%286%2C%20x%29)

## 相关函数

- [degree](https://zh.hilberon.com/library/degree)

  多项式关于某个变量的次数。
- [complex_expand](https://zh.hilberon.com/library/complex_expand)

  在假定变量为实数的前提下展开表达式。
- [denominator](https://zh.hilberon.com/library/denominator)

  分数的分母。
- [collect](https://zh.hilberon.com/library/collect)

  按某个变量的幂次合并表达式中的项。
- [discriminant](https://zh.hilberon.com/library/discriminant)

  多项式关于某个变量的判别式。
- [coefficients](https://zh.hilberon.com/library/coefficients)

  列出多项式的系数，常数项在前。

---
Source: https://zh.hilberon.com/library/cyclotomic
