How to use abs, sqrt etc on OperateOnAll with OjAlgo?
I'm trying to take square root on all elements in a matrix A by doing the following command. A.operateOnAll() But the argument must be UnaryFunction<N> and I don't know how to create that. I reading the API documention, but still don't know how to create a sqrt procedure for matrix A https://javadoc.scijava.org/ojAlgo/index.html?org/ojalgo/function/FunctionSet.html
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.