math¶
full name: tenpy.tools.math
parent module:
tenpy.tools
type: module
Functions
|
Calculate the entropy of a distribution. |
|
Computes the greatest common divisor (GCD) of two numbers. |
|
Return the greatest common divisor of all of entries in a |
|
Returns the least common multiple (LCM) of two positive numbers. |
transform an linear operator with a matvec method into a dense numpy array. |
|
|
Given a permutation p of numbers, returns its sign. |
|
QR decomposition with cutoff to discard nearly linear dependent columns in Q. |
|
RQ decomposition with cutoff to discard nearly linear dependent columns in Q. |
|
Wrapper around |
|
Wrapper around |
Module description
Different math functions needed at some point in the library.