Loading...
Searching...
No Matches
quadratic_variable.h File Reference

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"
Include dependency graph for quadratic_variable.h:
This graph shows which files directly or indirectly include this file:

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< Nndcurves::operator* (const linear_variable< N > &w1, const linear_variable< N > &w2)
 
template<typename N >
quadratic_variable< Nndcurves::operator+ (const quadratic_variable< N > &w1, const quadratic_variable< N > &w2)
 
template<typename N >
quadratic_variable< Nndcurves::operator- (const quadratic_variable< N > &w1, const quadratic_variable< N > &w2)
 
template<typename N >
quadratic_variable< Nndcurves::operator* (const double k, const quadratic_variable< N > &w)
 
template<typename N >
quadratic_variable< Nndcurves::operator* (const quadratic_variable< N > &w, const double k)
 
template<typename N >
quadratic_variable< Nndcurves::operator/ (const quadratic_variable< N > &w, const double k)
 

Detailed Description

storage for variable points of the form p_i = x' A_i x + B_i x + c_i

Author
Steve T.
Version
0.1
Date
07/02/2019