【发布时间】:2020-05-17 12:12:39
【问题描述】:
我正在尝试通过执行以下命令对矩阵A 中的所有元素求平方根。
A.operateOnAll()
但参数必须是UnaryFunction<N>,我不知道如何创建它。
我阅读了 API 文档,但仍然不知道如何为矩阵 A 创建一个 sqrt 过程@
https://javadoc.scijava.org/ojAlgo/index.html?org/ojalgo/function/FunctionSet.html
【问题讨论】: