图数据库HugeGraph学习-12:数学计算

数学计算

在Gremlin中有一个专门负责科学计算功能的step math()。 math() 不同于常见的函数组合和嵌套形式,提供了一种易于读取的基于字符串的数学处理器。
abs: absolute value,绝对值
acos: arc cosine,反余弦
asin: arc sine,反正弦
atan: arc tangent,反正切
cbrt: cubic root,立方根
ceil: nearest upper integer,向上最接近的整数
cos: cosine,余弦
cosh: hyperbolic cosine,双曲余弦
exp: euler’s number raised to the power (e^x),以e为底的指数
floor: nearest lower integer,向下最近接的整数
log: logarithmus naturalis (base e),以e为底的对数
log10: logarithm (base 10),以10为底的对数
log2: logarithm (base 2),以2为底的对数
sin: sine,正弦
sinh: hyperbolic sine,双曲正弦
sqrt: square root,平方根
tan: tangent,正切
tanh: hyperbolic tangent,双曲正切
signum: signum function,签名功能

原文链接:https://blog.csdn.net/linlin1989117/article/details/82849477
https://tinkerpop.apache.org/docs/3.3.3/reference/#math-step

  • 1
    点赞
  • 4
    收藏
    觉得还不错? 一键收藏
  • 打赏
    打赏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

taotaobujuerulv

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值