Brockett.
More...
#include <unitary.h>
|
| Brockett (size_t N, unsigned long int seed=0) |
|
Brockett * | copy () const |
| Copy constructor.
|
|
double | cost_func (const arma::cx_mat &W) |
| Evaluate cost function.
|
|
arma::cx_mat | cost_der (const arma::cx_mat &W) |
| Evaluate derivative of cost function.
|
|
void | cost_func_der (const arma::cx_mat &W, double &f, arma::cx_mat &der) |
| Evaluate cost function and its derivative.
|
|
| UnitaryFunction (int q, bool max) |
| Constructor. More...
|
|
virtual | ~UnitaryFunction () |
| Destructor.
|
|
virtual void | setW (const arma::cx_mat &W) |
| Set matrix.
|
|
arma::cx_mat | getW () const |
| Get matrix.
|
|
int | getq () const |
| Get q.
|
|
double | getf () const |
| Get function value.
|
|
int | getsign () const |
| Get sign.
|
|
virtual bool | converged () |
| Check convergence. More...
|
|
|
std::string | legend () const |
| Print legend.
|
|
std::string | status (bool lfmt=false) |
| Print progress.
|
|
double | diagonality () const |
| Compute diagonality criterion.
|
|
double | unitarity () const |
| Compute unitarity criterion.
|
|
|
arma::cx_mat | sigma |
| Sigma matrix.
|
|
arma::mat | Nmat |
| N matrix.
|
|
|
arma::cx_mat | W |
| Present matrix.
|
|
double | f |
| Present value.
|
|
int | q |
| Order in W.
|
|
int | sign |
| Maximization or minimization?
|
|
The documentation for this class was generated from the following files: