BSVec¶
- class psi4.core.BSVec¶
Bases:
pybind11_object
Methods Summary
append
(self, x)Add an item to the end of the list
clear
(self)Clear the contents
count
(self, x)Return the number of times
x
appears in the listextend
(*args, **kwargs)Overloaded function.
insert
(self, i, x)Insert an item at a given position.
pop
(*args, **kwargs)Overloaded function.
remove
(self, x)Remove the first item from the list whose value is x.
Methods Documentation
- append(self: list[psi4.core.ShellInfo], x: psi4.core.ShellInfo) None ¶
Add an item to the end of the list
- clear(self: list[psi4.core.ShellInfo]) None ¶
Clear the contents
- count(self: list[psi4.core.ShellInfo], x: psi4.core.ShellInfo) int ¶
Return the number of times
x
appears in the list
- extend(*args, **kwargs)¶
Overloaded function.
extend(self: list[psi4.core.ShellInfo], L: list[psi4.core.ShellInfo]) -> None
Extend the list by appending all the items in the given list
extend(self: list[psi4.core.ShellInfo], L: Iterable) -> None
Extend the list by appending all the items in the given list
- insert(self: list[psi4.core.ShellInfo], i: int, x: psi4.core.ShellInfo) None ¶
Insert an item at a given position.
- pop(*args, **kwargs)¶
Overloaded function.
pop(self: list[psi4.core.ShellInfo]) -> psi4.core.ShellInfo
Remove and return the last item
pop(self: list[psi4.core.ShellInfo], i: int) -> psi4.core.ShellInfo
Remove and return the item at index
i
- remove(self: list[psi4.core.ShellInfo], x: psi4.core.ShellInfo) None ¶
Remove the first item from the list whose value is x. It is an error if there is no such item.