pg_utils.pg_model.expansion.InnerProductOp1D

class pg_utils.pg_model.expansion.InnerProductOp1D(int_var: Symbol, wt: Expr, bound: List, conj: Optional[int] = None)[source]

Bases: object

Inner product defined on 1-D function space \(\langle \cdot, \cdot \rangle\)

Variables:
  • _int_var (sympy.Symbol) – integration variable

  • _wt (sympy.Expr) – weight

  • _bound (List[sympy.Expr]) – integration bound, 2-tuple

  • _conj (int or None) – which argument to perform the complex conjugation

__init__(int_var: Symbol, wt: Expr, bound: List, conj: Optional[int] = None) None[source]

Initialization

Parameters:
  • int_var (sympy.Symbol) – integration variable

  • wt (sympy.Expr) – weight

  • bound (List[sympy.Expr]) – integration bound, 2-tuple

  • conj (Optional[int]) – which argument to perform the complex conjugation. Default to None. If conj = None, no complex conjugate will be taken; if conj = 0, the first operand will be taken conjugate of; if conj = 1, the second operand will be taken conjugate of.

Methods

__init__(int_var, wt, bound[, conj])

Initialization