LinearConstraintCollection Class |
Namespace: Accord.Math.Optimization
The LinearConstraintCollection type exposes the following members.
Name | Description | |
---|---|---|
LinearConstraintCollection |
Initializes a new instance of the LinearConstraintCollection class.
| |
LinearConstraintCollection(IEnumerableLinearConstraint) |
Initializes a new instance of the LinearConstraintCollection class.
| |
LinearConstraintCollection(IListLinearConstraint) |
Initializes a new instance of the LinearConstraintCollection class.
|
Name | Description | |
---|---|---|
Count | Gets the number of elements actually contained in the CollectionT. (Inherited from CollectionLinearConstraint.) | |
Item | Gets or sets the element at the specified index. (Inherited from CollectionLinearConstraint.) | |
Items | Gets a IListT wrapper around the CollectionT. (Inherited from CollectionLinearConstraint.) |
Name | Description | |
---|---|---|
Add | Adds an object to the end of the CollectionT. (Inherited from CollectionLinearConstraint.) | |
Clear | Removes all elements from the CollectionT. (Inherited from CollectionLinearConstraint.) | |
ClearItems | Removes all elements from the CollectionT. (Inherited from CollectionLinearConstraint.) | |
Contains | Determines whether an element is in the CollectionT. (Inherited from CollectionLinearConstraint.) | |
CopyTo | Copies the entire CollectionT to a compatible one-dimensional Array, starting at the specified index of the target array. (Inherited from CollectionLinearConstraint.) | |
Create |
Creates a LinearConstraintCollection from a matrix
specifying the constraint variables and a vector specifying their
expected value.
| |
CreateMatrix(Int32, Double, Int32) |
Creates a matrix of linear constraints in canonical form.
| |
CreateMatrix(Int32, Double, Double, Int32) |
Creates a matrix of linear constraints in canonical form.
| |
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.) | |
FromMatrix | Obsolete.
Creates a LinearConstraintCollection from a matrix
specifying the constraint variables and a vector specifying their
expected value.
| |
GetEnumerator | Returns an enumerator that iterates through the CollectionT. (Inherited from CollectionLinearConstraint.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOf | Searches for the specified object and returns the zero-based index of the first occurrence within the entire CollectionT. (Inherited from CollectionLinearConstraint.) | |
Insert | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionLinearConstraint.) | |
InsertItem | Inserts an element into the CollectionT at the specified index. (Inherited from CollectionLinearConstraint.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Remove | Removes the first occurrence of a specific object from the CollectionT. (Inherited from CollectionLinearConstraint.) | |
RemoveAt | Removes the element at the specified index of the CollectionT. (Inherited from CollectionLinearConstraint.) | |
RemoveItem | Removes the element at the specified index of the CollectionT. (Inherited from CollectionLinearConstraint.) | |
SetItem | Replaces the element at the specified index. (Inherited from CollectionLinearConstraint.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Name | Description | |
---|---|---|
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.) | |
SetEqualsLinearConstraint |
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.) | |
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.) |