Lines Matching refs:Matrix
20 // Constructs a random matrix from the unitary group U(size).
22 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixUnitary(int size)
25 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType;
34 // initialize random matrix
50 // the numerical orthogonality of the matrix
68 eigen_assert(false && "randMatrixUnitary: Could not construct unitary matrix!");
73 // Constructs a random matrix from the special unitary group SU(size).
75 Eigen::Matrix<T, Eigen::Dynamic, Eigen::Dynamic> randMatrixSpecialUnitary(int size)
79 typedef Eigen::Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixType;
81 // initialize unitary matrix
95 typedef Matrix<Scalar, Eigen::Dynamic, Eigen::Dynamic> MatrixX;
96 typedef Matrix<Scalar, Eigen::Dynamic, 1> VectorX;
110 src.row(dim) = Matrix<Scalar, 1, Dynamic>::Constant(num_elements, Scalar(1));
124 typedef Matrix<Scalar, Dimension+1, Dynamic> MatrixX;
125 typedef Matrix<Scalar, Dimension+1, Dimension+1> HomMatrix;
126 typedef Matrix<Scalar, Dimension, Dimension> FixedMatrix;
127 typedef Matrix<Scalar, Dimension, 1> FixedVector;
144 src.row(dim) = Matrix<Scalar, 1, Dynamic>::Constant(num_elements, Scalar(1));