Click or drag to resize
Accord.NET (logo)

LinearConstraintCollection Class

Linear Constraint Collection.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionLinearConstraint
    Accord.Math.OptimizationLinearConstraintCollection

Namespace:  Accord.Math.Optimization
Assembly:  Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax
public class LinearConstraintCollection : Collection<LinearConstraint>, 
	IEnumerable
Request Example View Source

The LinearConstraintCollection type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCount
Gets the number of elements actually contained in the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionLinearConstraint.)
Protected propertyItems
Gets a IListT wrapper around the CollectionT.
(Inherited from CollectionLinearConstraint.)
Top
Methods
  NameDescription
Public methodAdd
Adds an object to the end of the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodClear
Removes all elements from the CollectionT.
(Inherited from CollectionLinearConstraint.)
Protected methodClearItems
Removes all elements from the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodContains
Determines whether an element is in the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodCopyTo
Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array.
(Inherited from CollectionLinearConstraint.)
Public methodStatic memberCreate
Creates a LinearConstraintCollection from a matrix specifying the constraint variables and a vector specifying their expected value.
Public methodCreateMatrix(Int32, Double, Int32)
Creates a matrix of linear constraints in canonical form.
Public methodCreateMatrix(Int32, Double, Double, Int32)
Creates a matrix of linear constraints in canonical form.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodStatic memberFromMatrix Obsolete.
Creates a LinearConstraintCollection from a matrix specifying the constraint variables and a vector specifying their expected value.
Public methodGetEnumerator
Returns an enumerator that iterates through the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodInsert
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionLinearConstraint.)
Protected methodInsertItem
Inserts an element into the CollectionT at the specified index.
(Inherited from CollectionLinearConstraint.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove
Removes the first occurrence of a specific object from the CollectionT.
(Inherited from CollectionLinearConstraint.)
Public methodRemoveAt
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionLinearConstraint.)
Protected methodRemoveItem
Removes the element at the specified index of the CollectionT.
(Inherited from CollectionLinearConstraint.)
Protected methodSetItem
Replaces the element at the specified index.
(Inherited from CollectionLinearConstraint.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodHasMethod
Checks whether an object implements a method with the given name.
(Defined by ExtensionMethods.)
Public Extension MethodIsEqual
Compares two objects for equality, performing an elementwise comparison if the elements are vectors or matrices.
(Defined by Matrix.)
Public Extension MethodSetEqualsLinearConstraint
Compares two enumerables for set equality. Two enumerables are set equal if they contain the same elements, but not necessarily in the same order.
(Defined by Matrix.)
Public Extension MethodTo(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.)
Public Extension MethodToTOverloaded.
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.)
Top
See Also