def __init__(self, profile = None): _profile = { "mat_str" : "pmatrix", "mat_delim" : "", "mode": "inline", } if profile is not None: _profile.update(profile) LatexPrinter.__init__(self, _profile)
def __init__(self, profile=None): _profile = { "mat_str": "pmatrix", "mat_delim": "", "mode": "inline", } if profile is not None: _profile.update(profile) LatexPrinter.__init__(self, _profile)
def __init__(self, settings): defaults = { "decimales": 18, "mat_str": "pmatrix", "mat_delim": "", "mode": "inline", "fold_frac_powers": False, "fold_short_frac": False, } self._default_settings.update(defaults) LatexPrinter.__init__(self, settings)
def __init__(self, settings): defaults = {'decimales': 18, 'mode_scientifique': False, 'decimales_sci': 2, "mat_str" : "pmatrix", "mat_delim" : "", "mode": "inline", "fold_frac_powers": False, "fold_short_frac": False, } self._default_settings.update(defaults) LatexPrinter.__init__(self, settings)
def __init__(self, LatexExport, symbDic, sort=False, cType=None, baseAdd=False, baseMul=False, incrementInds=False): self.latex = LatexExport self.sort = sort self.cType = cType self.baseAdd = baseAdd self.baseMul = baseMul self.incrementInds = incrementInds self.dic = symbDic LatexPrinter.__init__(self, {'symbol_names': symbDic})
def __init__(self, settings=None): self._enable_fourier_args = settings.pop('enable_fourier_args', True) LatexPrinterSympy.__init__(self, settings=settings)