# VectorMatrix¶

class psi4.core.VectorMatrix

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[psi::Matrix], x: psi::Matrix) → None

Add an item to the end of the list

count(self: List[psi::Matrix], x: psi::Matrix) → int

Return the number of times x appears in the list

extend(self: List[psi::Matrix], L: List[psi::Matrix]) → None

Extend the list by appending all the items in the given list

insert(self: List[psi::Matrix], i: int, x: psi::Matrix) → None

Insert an item at a given position.

pop(*args, **kwargs)

1. pop(self: List[psi::Matrix]) -> psi::Matrix

Remove and return the last item

1. pop(self: List[psi::Matrix], i: int) -> psi::Matrix

Remove and return the item at index i

remove(self: List[psi::Matrix], x: psi::Matrix) → 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[psi::Matrix], x: psi::Matrix) → None

Add an item to the end of the list

count(self: List[psi::Matrix], x: psi::Matrix) → int

Return the number of times x appears in the list

extend(self: List[psi::Matrix], L: List[psi::Matrix]) → None

Extend the list by appending all the items in the given list

insert(self: List[psi::Matrix], i: int, x: psi::Matrix) → None

Insert an item at a given position.

pop(*args, **kwargs)

Remove and return the item at index i
remove(self: List[psi::Matrix], x: psi::Matrix) → None