Thank you for this excellent library, very useful and powerful. I'm working on a portage of old armadillo based project to fastor and need a little help (maybe a enhancement request) from you.
- I need to get the
max absolute value of a tensor. The element-wise abs expression is already implemented, but I can't see equivalent for getting min or max in the same elegant way, something like:
Tensor<double,2,3,4> a;
double max_abs_value = max(abs(a));
- Fastor implement some compile time boolean operations like
isuniform, how can I get runtime equivalent of isfinite over a tensor ?
Tensor<double,2,3,4> a;
bool ok = isfinite(a);
Sorry if it's not pertinent or if it's not the best place to ask help, let me known.
Thank you very much.
Max
Thank you for this excellent library, very useful and powerful. I'm working on a portage of old armadillo based project to fastor and need a little help (maybe a enhancement request) from you.
maxabsolute value of a tensor. The element-wiseabsexpression is already implemented, but I can't see equivalent for gettingminormaxin the same elegant way, something like:isuniform, how can I get runtime equivalent ofisfiniteover a tensor ?Sorry if it's not pertinent or if it's not the best place to ask help, let me known.
Thank you very much.
Max