"linalg"搜索结果 1 条

如何看待 std::linalg?

别抱太大希望。好多功能也就是先占个位置,谈不上好用。 例如C++17引入了贝塞尔函数cyl_bessel_j,但只保证128阶以下的结果是对的,128阶以上的看编译器良心。原话是这么写的 Errors may be reported as specified in math_errhandling . If the argument is NaN, NaN is returned and domain error is not reported If ν>=128, the behavior is implementation-defined g++好像是负责到180多阶。超过这个也不报错,也不给出NaN…