Coerce rat to realType im math-comp/analysis

huangapple go评论56阅读模式
英文:

Coerce rat to realType im math-comp/analysis

问题

There is a way to coerce a rat into a realType using the notation %:R (from the math-comp/analysis library).

英文:

Is there a way to coerce a rat into a realType (from the math-comp/analysis library)? For example, the notation for coercing a nat is %:R.

答案1

得分: 2

根据文档ratr 将一个rat转换为任何单位环(因此任何realType)。

英文:

According to the documentation ratr coerces a rat to any unit ring (hence any realType).

huangapple
  • 本文由 发表于 2023年5月11日 18:25:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76226615.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定