コード例 #1
0
def root_exp(x):
    """
    helper for hadamard decomp.
    """
    return jnp.sqrt(exp(x))
コード例 #2
0
def bottom(x):
    """
    helper for hadamard decomp.
    """
    return jnp.sqrt(exp_min_1(x) * under_right(x))
コード例 #3
0
def in_the_arc(x):
    """
    helper for hadamard decomp.
    """
    return -2 / (jnp.sqrt(3 + jnp.cos(pi * x)))
コード例 #4
0
def under_right(x):
    """
    helper for hadamard decomp.
    """
    return 3 + 2 * jnp.sqrt(2) + exp(x)
コード例 #5
0
def in_the_arc(x):
    return -2 / (jnp.sqrt(3 + jnp.cos(pi * x)))
コード例 #6
0
def bottom(x):
    return jnp.sqrt(exp_min_1(x) * under_right(x))
コード例 #7
0
def under_right(x):
    return 3 + 2 * jnp.sqrt(2) + exp(x)
コード例 #8
0
def root_exp(x):
    return jnp.sqrt(exp(x))