espressopp.Tensor
- espressopp.Tensor.toTensor(*args)
Try to convert the arguments to a Tensor, returns the argument, if it is already a Tensor.
- espressopp.Tensor.toTensorFromVector(*args)
Try to convert the arguments to a Tensor.
This function will only convert to a Tensor if x, y and z are specified.