mtuq.GreensTensorList.apply¶
- GreensTensorList.apply(function, *args, **kwargs)[source]¶
Applies function to all GreensTensors
Applies a function to each GreensTensor in the list, similar to the Python built-in
apply
.Warning
Although
apply
returns a new GreensTensorList, contents of the original GreensTensorList may still be overwritten, depending on the function. To preserve the original, consider making a copy first.