|
mptensor v0.4.0
Parallel Library for Tensor Network Methods
|
| template<template< typename > class Matrix, typename C > | |
| Tensor< Matrix, C > | mptensor::sqrt (Tensor< Matrix, C > t) |
| Take square-root of each element. | |
| template<template< typename > class Matrix, typename C > | |
| Tensor< Matrix, C > | mptensor::conj (Tensor< Matrix, C > t) |
| Take conjugate of each element. | |
| template<template< typename > class Matrix, typename C > | |
| double | mptensor::max (const Tensor< Matrix, C > &t) |
| Return the maximum element. For complex, same as max_abs(). | |
| template<template< typename > class Matrix, typename C > | |
| double | mptensor::min (const Tensor< Matrix, C > &t) |
| Return the minimum element. For complex, same as min_abs(). | |
| template<template< typename > class Matrix, typename C > | |
| double | mptensor::max_abs (const Tensor< Matrix, C > &t) |
| Return maximum of the absolute value of an element. | |
| template<template< typename > class Matrix, typename C > | |
| double | mptensor::min_abs (const Tensor< Matrix, C > &t) |
| Return minimum of the absolute value of an element. | |
Other useful operations.
Return the maximum element. For complex, same as max_abs().
Return maximum of the absolute value of an element.
Return the minimum element. For complex, same as min_abs().
Return minimum of the absolute value of an element.