fastgac.VectorInt¶
-
class
fastgac.
VectorInt
¶ Contiguous buffer of Int32. Use np.asarray() to get to get numpy array.
-
__init__
(*args, **kwargs)¶ Overloaded function.
__init__(self: fastgac_pybind.VectorInt, arg0: buffer) -> None
__init__(self: fastgac_pybind.VectorInt) -> None
__init__(self: fastgac_pybind.VectorInt, arg0: fastgac_pybind.VectorInt) -> None
Copy constructor
__init__(self: fastgac_pybind.VectorInt, arg0: iterable) -> None
-
append
(self: fastgac_pybind.VectorInt, x: int) → None¶ Add an item to the end of the list
-
count
(self: fastgac_pybind.VectorInt, x: int) → int¶ Return the number of times
x
appears in the list
-
extend
(*args, **kwargs)¶ Overloaded function.
extend(self: fastgac_pybind.VectorInt, L: fastgac_pybind.VectorInt) -> None
Extend the list by appending all the items in the given list
extend(self: fastgac_pybind.VectorInt, L: iterable) -> None
Extend the list by appending all the items in the given list
-
insert
(self: fastgac_pybind.VectorInt, i: int, x: int) → None¶ Insert an item at a given position.
-
pop
(*args, **kwargs)¶ Overloaded function.
pop(self: fastgac_pybind.VectorInt) -> int
Remove and return the last item
pop(self: fastgac_pybind.VectorInt, i: int) -> int
Remove and return the item at index
i
-
remove
(self: fastgac_pybind.VectorInt, x: int) → None¶ Remove the first item from the list whose value is x. It is an error if there is no such item.
-