Products of vectors (qics.point
)ΒΆ
This module contains classes which are used to represent vectors which lie in Cartesian products of vector spaces, including
Real vectors \(\mathbb{R}^n\)
Symmetric matrices \(\mathbb{S}^n\)
Hermitian matrices \(\mathbb{H}^n\)
These classes contain a vec
attribute which is the column vector
representation of variable (see Representing matrices), and we use
numpy.ndarray.view
to link different parts of vec
to different
variables. This allows us to perform efficient vectorized NumPy operations on
our vectors, while easily being able to access the different variables
contained within the vector.
|
Vector containing the variables involved in a homogeneous self-dual embedding of a primal-dual conic program |
|
Cartesian product of vectors corresponding to a list of cones |