cpplib.VectorDouble¶
-
class
cpplib.VectorDouble¶ -
__init__(*args, **kwargs)¶ Overloaded function.
__init__(self: cpplib_pybind.VectorDouble, arg0: buffer) -> None
__init__(self: cpplib_pybind.VectorDouble) -> None
__init__(self: cpplib_pybind.VectorDouble, arg0: cpplib_pybind.VectorDouble) -> None
Copy constructor
__init__(self: cpplib_pybind.VectorDouble, arg0: Iterable) -> None
-
append(self: cpplib_pybind.VectorDouble, x: float) → None¶ Add an item to the end of the list
-
clear(self: cpplib_pybind.VectorDouble) → None¶ Clear the contents
-
count(self: cpplib_pybind.VectorDouble, x: float) → int¶ Return the number of times
xappears in the list
-
extend(*args, **kwargs)¶ Overloaded function.
extend(self: cpplib_pybind.VectorDouble, L: cpplib_pybind.VectorDouble) -> None
Extend the list by appending all the items in the given list
extend(self: cpplib_pybind.VectorDouble, L: Iterable) -> None
Extend the list by appending all the items in the given list
-
insert(self: cpplib_pybind.VectorDouble, i: int, x: float) → None¶ Insert an item at a given position.
-
pop(*args, **kwargs)¶ Overloaded function.
pop(self: cpplib_pybind.VectorDouble) -> float
Remove and return the last item
pop(self: cpplib_pybind.VectorDouble, i: int) -> float
Remove and return the item at index
i
-
remove(self: cpplib_pybind.VectorDouble, x: float) → None¶ Remove the first item from the list whose value is x. It is an error if there is no such item.
-