Is it possible to use boost accumulators with vectors?

后端 未结 3 2036
臣服心动
臣服心动 2020-12-15 23:29

I wanted to use boost accumulators to calculate statistics of a variable that is a vector. Is there a simple way to do this. I think it\'s not possible to use the dumbest th

3条回答
  •  我在风中等你
    2020-12-15 23:51

    I don't have it set up to try right now, but if all boost::accumulators need is properly defined mathematical operators, then you might be able to get away with a different vector type: http://www.boost.org/doc/libs/1_37_0/libs/numeric/ublas/doc/vector.htm

提交回复
热议问题