copapy.to_float# copapy.to_float(x)# Convert a number, a copapy value or the elements of a vector, tensor or array to float. Overloads: x (float | int) → float x (value[Any]) → value[float] x (vector[Any]) → vector[float] x (tensor[Any]) → tensor[float] x (array[Any]) → array[float] x (ArrayType[Any]) → ArrayType[float] Parameters: x (Any) – Number, copapy value, vector, tensor or array Returns: x as float