Coverage for picos/expressions/__init__.py: 100.00%
44 statements
« prev ^ index » next coverage.py v7.6.12, created at 2025-04-12 07:53 +0000
« prev ^ index » next coverage.py v7.6.12, created at 2025-04-12 07:53 +0000
1# ------------------------------------------------------------------------------
2# Copyright (C) 2019 Maximilian Stahlberg
3# Based on the original picos.expressions module by Guillaume Sagnol.
4#
5# This file is part of PICOS.
6#
7# PICOS is free software: you can redistribute it and/or modify it under the
8# terms of the GNU General Public License as published by the Free Software
9# Foundation, either version 3 of the License, or (at your option) any later
10# version.
11#
12# PICOS is distributed in the hope that it will be useful, but WITHOUT ANY
13# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
14# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
15#
16# You should have received a copy of the GNU General Public License along with
17# this program. If not, see <http://www.gnu.org/licenses/>.
18# ------------------------------------------------------------------------------
20"""Mathematical expression types."""
22from ..apidoc import api_end, api_start
24_API_START = api_start(globals())
25# -------------------------------
28from .algebra import * # noqa
29from .cone import Cone # noqa
30from .cone_expcone import ExponentialCone # noqa
31from .cone_nno import NonnegativeOrthant # noqa
32from .cone_product import ProductCone # noqa
33from .cone_psd import PositiveSemidefiniteCone # noqa
34from .cone_rsoc import RotatedSecondOrderCone # noqa
35from .cone_soc import SecondOrderCone # noqa
36from .cone_trivial import ZeroSpace, TheField # noqa
37from .exp_affine import (AffineExpression, ComplexAffineExpression, # noqa
38 Constant)
39from .exp_biaffine import BiaffineExpression # noqa
40from .exp_detrootn import DetRootN # noqa
41from .exp_entropy import Entropy, NegativeEntropy # noqa
42from .exp_extremum import Extremum, MaximumConvex, MinimumConcave # noqa
43from .exp_geomean import GeometricMean # noqa
44from .exp_logarithm import Logarithm # noqa
45from .exp_logsumexp import LogSumExp # noqa
46from .exp_mtxgeomean import MatrixGeometricMean, TrMatrixGeometricMean # noqa
47from .exp_norm import Norm # noqa
48from .exp_nucnorm import NuclearNorm # noqa
49from .exp_oprelentr import (OperatorRelativeEntropy, # noqa
50 TrOperatorRelativeEntropy)
51from .exp_powtrace import PowerTrace # noqa
52from .exp_quadratic import QuadraticExpression # noqa
53from .exp_quantcondentr import QuantumConditionalEntropy # noqa
54from .exp_quantentr import QuantumEntropy, NegativeQuantumEntropy # noqa
55from .exp_quantkeydist import QuantumKeyDistribution # noqa
56from .exp_renyientr import (RenyiEntropy, QuasiEntropy, # noqa
57 SandRenyiEntropy, SandQuasiEntropy)
58from .exp_specnorm import SpectralNorm # noqa
59from .exp_sqnorm import SquaredNorm # noqa
60from .exp_sumexp import SumExponentials # noqa
61from .exp_sumxtr import SumExtremes # noqa
62from .exp_wsum import WeightedSum # noqa
63from .expression import (Expression, ExpressionType, no_refinement, # noqa
64 NotValued, PredictedFailure)
65from .mutable import Mutable # noqa
66from .variables import (BaseVariable, BinaryVariable, ComplexVariable, # noqa
67 HermitianVariable, IntegerVariable,
68 LowerTriangularVariable, RealVariable,
69 SkewSymmetricVariable, SymmetricVariable,
70 UpperTriangularVariable, CONTINUOUS_VARTYPES)
71from .samples import Samples # noqa
72from .set import Set, SetType # noqa
73from .set_ball import Ball # noqa
74from .set_ellipsoid import Ellipsoid # noqa
75from .set_simplex import Simplex # noqa
76from .uncertain import * #noqa
79# --------------------------------------
80__all__ = api_end(_API_START, globals())