Is there any functionality to do math on boolean arrays (where 0 - False, 1 - True)? I’m writing a metrics package for my works clustering library and it would come in handy. If not, is it worth submitting a feature request for?
I just tested .castTo(DataType.INT32)
and that converts my boolean arrays to integers. Is this a fast/efficient way of doing things? If so, problem solved.