Linear AlgebraTypesBoolArrayMethodsset_onesOn this pageset_ones Method of BoolArray. set_ones() -> BoolArray Sets all elements of the BoolArray lhs to 1.