Hyperiso 1.0.3
Modular flavour-physics calculations, Wilson coefficients and statistical inference
Loading...
Searching...
No Matches
Scalar Namespace Reference

Classes

class  Scalar
 

Functions

Scalar _to_scalar (Union[float, complex, Scalar] value)
 
 _wrap_math_func (cpp_func)
 
Scalar pow_scalar (Scalar base, Union[Scalar, float, int] exponent)
 

Variables

 sqrt = _wrap_math_func(ma.sqrt)
 
 sin = _wrap_math_func(ma.sin)
 
 cos = _wrap_math_func(ma.cos)
 
 tan = _wrap_math_func(ma.tan)
 
 asin = _wrap_math_func(ma.asin)
 
 acos = _wrap_math_func(ma.acos)
 
 atan = _wrap_math_func(ma.atan)
 
 exp = _wrap_math_func(ma.exp)
 
 log = _wrap_math_func(ma.log)
 
 sinh = _wrap_math_func(ma.sinh)
 
 cosh = _wrap_math_func(ma.cosh)
 
 tanh = _wrap_math_func(ma.tanh)
 
 abs_scalar = _wrap_math_func(ma.abs)
 
 arg = _wrap_math_func(ma.arg)
 
 norm = _wrap_math_func(ma.norm)
 

Detailed Description

Scalar wrapper and elementary operations exposed by the native backend.

Function Documentation

◆ _to_scalar()

Scalar Scalar._to_scalar ( Union[float, complex, Scalar value)
protected
Helper to convert float/complex to Scalar.

Definition at line 133 of file Scalar.py.

◆ _wrap_math_func()

Scalar._wrap_math_func (   cpp_func)
protected

Definition at line 148 of file Scalar.py.

◆ pow_scalar()

Scalar Scalar.pow_scalar ( Scalar  base,
Union[Scalar, float, int]  exponent 
)
Raises a Scalar to a scalar/int/float exponent.

Args:
    base (Scalar): The base.
    exponent (Union[Scalar, float, int]): The exponent.

Returns:
    Scalar: Result of exponentiation.

Definition at line 175 of file Scalar.py.

Variable Documentation

◆ abs_scalar

Scalar.abs_scalar = _wrap_math_func(ma.abs)

Definition at line 170 of file Scalar.py.

◆ acos

Scalar.acos = _wrap_math_func(ma.acos)

Definition at line 163 of file Scalar.py.

◆ arg

Scalar.arg = _wrap_math_func(ma.arg)

Definition at line 171 of file Scalar.py.

◆ asin

Scalar.asin = _wrap_math_func(ma.asin)

Definition at line 162 of file Scalar.py.

◆ atan

Scalar.atan = _wrap_math_func(ma.atan)

Definition at line 164 of file Scalar.py.

◆ cos

Scalar.cos = _wrap_math_func(ma.cos)

Definition at line 160 of file Scalar.py.

◆ cosh

Scalar.cosh = _wrap_math_func(ma.cosh)

Definition at line 168 of file Scalar.py.

◆ exp

Scalar.exp = _wrap_math_func(ma.exp)

Definition at line 165 of file Scalar.py.

◆ log

Scalar.log = _wrap_math_func(ma.log)

Definition at line 166 of file Scalar.py.

◆ norm

Scalar.norm = _wrap_math_func(ma.norm)

Definition at line 172 of file Scalar.py.

◆ sin

Scalar.sin = _wrap_math_func(ma.sin)

Definition at line 159 of file Scalar.py.

◆ sinh

Scalar.sinh = _wrap_math_func(ma.sinh)

Definition at line 167 of file Scalar.py.

◆ sqrt

Scalar.sqrt = _wrap_math_func(ma.sqrt)

Definition at line 158 of file Scalar.py.

◆ tan

Scalar.tan = _wrap_math_func(ma.tan)

Definition at line 161 of file Scalar.py.

◆ tanh

Scalar.tanh = _wrap_math_func(ma.tanh)

Definition at line 169 of file Scalar.py.