Collaboration diagram for Quantum library internals:
|
Functions | |
| template<class T> | |
| T | scavenge (T scalar, typename linalg_traits< T >::abs_type minabs) |
Returns scalar if its absolute value is not less than minabs, or 0 otherwise. | |
| complex | scavenge (complex scalar, double minabs) |
Overloads scavenge<T> to scavenge the real and imaginary parts of scalar independently. | |
| template<class T> | |
| DenseVector< T > & | internal_tensor (const DenseVector< T > &v1, const DenseVector< T > &v2, DenseVector< T > &result, T scalar, bool overwrite) |
| Internal method used to place scalar times the tensor product of v1 and v2 into result. | |
| template<class T> | |
| DenseVector< T > & | internal_tensor (itype N, DenseVector< T > *v_arr[], DenseVector< T > &result, T scalar, bool overwrite) |
| Internal method used to place scalar times the tensor product of the first N elements of v_arr into result. | |
| template<class T> | |
| DenseMatrix< T > & | internal_tensor (const DenseMatrix< T > &m1, const DenseMatrix< T > &m2, DenseMatrix< T > &result, T scalar, bool overwrite) |
| Internal method used to place scalar times the tensor product of m1 and m2 into result. | |
| template<class T> | |
| DenseMatrix< T > & | internal_tensor (itype N, DenseMatrix< T > *m_arr[], DenseMatrix< T > &result, T scalar, bool overwrite) |
| Internal method used to place scalar times the tensor product of the first N elements of v_arr into result. | |
|
||||||||||||
|
Overloads This is used to eliminate tiny, tiny imaginary (or real) components of numbers that are generated by rounding error. |
1.4.4