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.