BSVec

class psi4.core.BSVec

Bases: pybind11_builtins.pybind11_object

Methods Summary

append(self, x) Add an item to the end of the list
count(self, x) Return the number of times x appears in the list
extend(self, L) Extend the list by appending all the items in the given list
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

count(self: List[psi4.core.ShellInfo], x: psi4.core.ShellInfo) → int

Return the number of times x appears in the list

extend(self: List[psi4.core.ShellInfo], L: List[psi4.core.ShellInfo]) → 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.

  1. pop(self: List[psi4.core.ShellInfo]) -> psi4.core.ShellInfo

Remove and return the last item

  1. 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.

append(self: List[psi4.core.ShellInfo], x: psi4.core.ShellInfo) → None

Add an item to the end of the list

count(self: List[psi4.core.ShellInfo], x: psi4.core.ShellInfo) → int

Return the number of times x appears in the list

extend(self: List[psi4.core.ShellInfo], L: List[psi4.core.ShellInfo]) → 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.

  1. pop(self: List[psi4.core.ShellInfo]) -> psi4.core.ShellInfo

Remove and return the last item

  1. 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.