{ } Raw JSON

bundles / scipy latest / scipy / optimize / _linprog_util / _round_to_power_of_two

function

scipy.optimize._linprog_util:_round_to_power_of_two

source: /scipy/optimize/_linprog_util.py :1226

Signature

def   _round_to_power_of_two ( x )

Summary

Round elements of the array to the nearest power of two.

Aliases

  • scipy.optimize._linprog_util._round_to_power_of_two