storage for variable points of the form p_i = x' A_i x + B_i x + c_i More...
#include <math.h>#include <Eigen/Core>#include <stdexcept>#include <vector>#include "MathDefs.h"#include "ndcurves/curve_abc.h"#include "ndcurves/linear_variable.h"

Go to the source code of this file.
Classes | |
| struct | ndcurves::quadratic_variable< Numeric > |
Namespaces | |
| namespace | ndcurves |
Functions | |
| template<typename N > | |
| Eigen::Matrix< N, Eigen::Dynamic, Eigen::Dynamic > | ndcurves::to_diagonal (const Eigen::Ref< const Eigen::Matrix< N, Eigen::Dynamic, 1 > > vec) |
| Transforms a vector into a diagonal matrix. | |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator* (const linear_variable< N > &w1, const linear_variable< N > &w2) |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator+ (const quadratic_variable< N > &w1, const quadratic_variable< N > &w2) |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator- (const quadratic_variable< N > &w1, const quadratic_variable< N > &w2) |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator* (const double k, const quadratic_variable< N > &w) |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator* (const quadratic_variable< N > &w, const double k) |
| template<typename N > | |
| quadratic_variable< N > | ndcurves::operator/ (const quadratic_variable< N > &w, const double k) |
storage for variable points of the form p_i = x' A_i x + B_i x + c_i