Пример #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))