QuadraticConstraint Class 
Namespace: Accord.Math.Optimization
The QuadraticConstraint type exposes the following members.
Name  Description  

QuadraticConstraint 
Constructs a new quadratic constraint in the form x'Ax + x'b.

Name  Description  

LinearTerms 
Gets the vector b of linear terms
for the constraint x'Ax + x'b.
 
NumberOfVariables 
Gets the number of variables in the constraint.
(Inherited from NonlinearConstraint.)  
QuadraticTerms 
Gets the matrix of A quadratic terms
for the constraint x'Ax + x'b.
 
ShouldBe 
Gets the type of the constraint.
(Inherited from NonlinearConstraint.)  
Tolerance 
Gets the violation tolerance for the constraint. Equality
constraints should set this to a small positive value.
Default is 1e8.
(Inherited from NonlinearConstraint.)  
Value 
Gets the value in the right hand side of
the constraint equation. Default is 0.
(Inherited from NonlinearConstraint.) 
Name  Description  

Create 
Creates a nonlinear constraint.
(Inherited from NonlinearConstraint.)  
Equals  Determines whether the specified object is equal to the current object. (Inherited from Object.)  
Finalize  Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)  
Function 
Calculates the left hand side of the constraint
equation given a vector x.
(Inherited from NonlinearConstraint.)  
GetHashCode  Serves as the default hash function. (Inherited from Object.)  
GetType  Gets the Type of the current instance. (Inherited from Object.)  
Gradient 
Calculates the gradient of the constraint
equation given a vector x
(Inherited from NonlinearConstraint.)  
MemberwiseClone  Creates a shallow copy of the current Object. (Inherited from Object.)  
ToString 
Returns a String that represents this instance.
(Inherited from NonlinearConstraint.)  
ToString(String, IFormatProvider) 
Returns a String that represents this instance.
(Inherited from NonlinearConstraint.) 
Name  Description  

GetViolation 
Gets how much the constraint is being violated.
(Defined by ConstraintExtensions.)  
HasMethod 
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)  
IsEqual 
Compares two objects for equality, performing an elementwise
comparison if the elements are vectors or matrices.
(Defined by Matrix.)  
IsViolated 
Gets whether this constraint is being violated
(within the current tolerance threshold).
(Defined by ConstraintExtensions.)  
To(Type)  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.)  
ToT  Overloaded.
Converts an object into another type, irrespective of whether
the conversion can be done at compile time or not. This can be
used to convert generic types to numeric types during runtime.
(Defined by ExtensionMethods.) 