[]
Define a Vector class that represents the mathematic vector.
public class Vector : ICloneable
Name | Description |
---|---|
Vector() | Initializes a new instance of the Vector class. |
Vector(params double[]) | Initializes a new instance of the Vector class. |
Vector(int) | Initializes a new instance of the Vector class. |
Name | Description |
---|---|
_data | Saves the data of this vector. |
Name | Description |
---|---|
Dimension | Gets or sets the dimension of the vector. |
Elements | Gets the all elements in the vector. |
IsIdentity | Gets a value indicating whether this Vector object is indentity vector. |
IsZero | Gets a value indicating whether this Vector object is zero vector. |
this[int] | Gets or sets the value of element at special index. |
Modul | Get the modul of the this vector. |
Name | Description |
---|---|
Add(Vector) | Add a special vector to this vector. |
CalculateModul(Vector) | Get the modul of the special vector. |
Clone() | Create a new object that is a copy of this Vector. |
CrossMultiply(Vector) | Cross multiply a speical vector to this vector. |
CrossMultiply(Vector, Vector) | Defines the descarts multiplication operation for vector. |
DotMultiply(Vector) | Dot multiply a speical vector to this vector. |
Equals(object) | Determines whether the specified System.Object is equal to the current System.Object. |
GetHashCode() | Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. |
ToString() | Returns a string that represents the current vector. |
Name | Description |
---|---|
operator +(Vector, Vector) | Defines the + operator for vector. |
operator ==(Vector, Vector) | Defines the == operator for vector. |
operator !=(Vector, Vector) | Defines the == operator for vector. |
operator *(Vector, Vector) | Defines the * operator for vector. |
operator -(Vector, Vector) | Defines the binary - operator for vector. |
operator -(Vector) | Defines the unary - operator for vector. |