psi4.core.VectorMatrix

class psi4.core.VectorMatrix

Bases: object

Methods Summary

append((self: List[psi::Matrix], ...) Add an item to the end of the list
count((self: List[psi::Matrix], ...) Return the number of times x appears in the list
extend((self: List[psi::Matrix], ...) Extend the list by appending all the items in the given list
insert((self: List[psi::Matrix], i: int, ...) Insert an item at a given position.
pop(*args, **kwargs) Overloaded function.
remove((self: List[psi::Matrix], ...) 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)

Overloaded function.

  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)

Overloaded function.

  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.