Quantum++  v1.0
A modern C++11 quantum computing library
qpp::exception::DimsMismatchRvector Class Reference

Dimension(s) mismatch row vector size exception. More...

#include <classes/exception.h>

Inheritance diagram for qpp::exception::DimsMismatchRvector:
Collaboration diagram for qpp::exception::DimsMismatchRvector:

Public Member Functions

std::string type_description () const override
 Exception type description. More...
 
- Public Member Functions inherited from qpp::exception::Exception
 Exception (const std::string &where)
 Constructs an exception. More...
 
virtual const char * what () const noexcept override
 Overrides std::exception::what() More...
 

Detailed Description

Dimension(s) mismatch row vector size exception.

Product of the elements of std::vector<idx> of dimensions is not equal to the number of elements of the Eigen::Matrix (assumed to be a row vector)

Member Function Documentation

◆ type_description()

std::string qpp::exception::DimsMismatchRvector::type_description ( ) const
inlineoverridevirtual

Exception type description.

Returns
Exception type description

Implements qpp::exception::Exception.


The documentation for this class was generated from the following file: