# C1.Framework.Mathematics.Vector-1

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Mathematics_Vector_1" data-uid="C1.Framework.Mathematics.Vector`1" class="text-break">Vector&lt;T&gt; Class
</h1>
  <div class="markdown level0 summary"><p>Define a Vector class that represents the mathematic vector.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <div class="inheritance">
    <h5>Inheritance</h5>
    <div class="level0"><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
    <div class="level1"><span class="xref">Vector&lt;T&gt;</span></div>
      <div class="level2"><a class="xref" href="C1.Framework.Drawing.Gdi.Coordinate.html">Coordinate</a></div>
  </div>
  <div class="implements">
    <h5>Implements</h5>
    <div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.icloneable">ICloneable</a></div>
  </div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Framework.Mathematics.html">C1.Framework.Mathematics</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.C1Input.4.8.dll</h6>
  <h5 id="C1_Framework_Mathematics_Vector_1_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Vector&lt;T&gt; : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Vector(Of T)
    Implements ICloneable</code></pre>
  </div>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1__ctor" data-uid="C1.Framework.Mathematics.Vector`1.#ctor">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.-ctor.html#C1_Framework_Mathematics_Vector_1__ctor">Vector()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Mathematics.Vector-1.html">Vector&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1__ctor_System_Int32_" data-uid="C1.Framework.Mathematics.Vector`1.#ctor(System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.-ctor.html#C1_Framework_Mathematics_Vector_1__ctor_System_Int32_">Vector(int)</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Mathematics.Vector-1.html">Vector&lt;T&gt;</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1__ctor__0___" data-uid="C1.Framework.Mathematics.Vector`1.#ctor(`0[])">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.-ctor.html#C1_Framework_Mathematics_Vector_1__ctor__0___">Vector(params T[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Mathematics.Vector-1.html">Vector&lt;T&gt;</a> class.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="fields">Fields
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1__T" data-uid="C1.Framework.Mathematics.Vector`1._T">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1._T.html">_T</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the type of <b>T</b>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1__data" data-uid="C1.Framework.Mathematics.Vector`1._data">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1._data.html">_data</a>
        </td>
        <td class="markdown level1 summary"><p>Saves the data of this vector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="properties">Properties
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Dimension" data-uid="C1.Framework.Mathematics.Vector`1.Dimension">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Dimension.html#C1_Framework_Mathematics_Vector_1_Dimension">Dimension</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the dimension of the vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Elements" data-uid="C1.Framework.Mathematics.Vector`1.Elements">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Elements.html#C1_Framework_Mathematics_Vector_1_Elements">Elements</a>
        </td>
        <td class="markdown level1 summary"><p>Gets the all elements in the vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_IsIdentity" data-uid="C1.Framework.Mathematics.Vector`1.IsIdentity">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.IsIdentity.html#C1_Framework_Mathematics_Vector_1_IsIdentity">IsIdentity</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this Vector object is indentity vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_IsZero" data-uid="C1.Framework.Mathematics.Vector`1.IsZero">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.IsZero.html#C1_Framework_Mathematics_Vector_1_IsZero">IsZero</a>
        </td>
        <td class="markdown level1 summary"><p>Gets a value indicating whether this Vector object is zero vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Item_System_Int32_" data-uid="C1.Framework.Mathematics.Vector`1.Item(System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Item.html#C1_Framework_Mathematics_Vector_1_Item_System_Int32_">this[int]</a>
        </td>
        <td class="markdown level1 summary"><p>Gets or sets the value of element at special index.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Modul" data-uid="C1.Framework.Mathematics.Vector`1.Modul">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Modul.html#C1_Framework_Mathematics_Vector_1_Modul">Modul</a>
        </td>
        <td class="markdown level1 summary"><p>Get the modul of the this vector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Add_C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.Add(C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Add.html#C1_Framework_Mathematics_Vector_1_Add_C1_Framework_Mathematics_Vector__0__">Add(Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Add a special vector to this vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_CalculateModul_C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.CalculateModul(C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.CalculateModul.html#C1_Framework_Mathematics_Vector_1_CalculateModul_C1_Framework_Mathematics_Vector__0__">CalculateModul(Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Get the modul of the special vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Clone" data-uid="C1.Framework.Mathematics.Vector`1.Clone">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Clone.html#C1_Framework_Mathematics_Vector_1_Clone">Clone()</a>
        </td>
        <td class="markdown level1 summary"><p>Create a new object that is a copy of this <a class="xref" href="C1.Framework.Mathematics.Vector.html">Vector</a>.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_CrossMultiply_C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.CrossMultiply(C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.CrossMultiply.html#C1_Framework_Mathematics_Vector_1_CrossMultiply_C1_Framework_Mathematics_Vector__0__">CrossMultiply(Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Cross multiply a speical vector to this vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_CrossMultiply_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.CrossMultiply(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.CrossMultiply.html#C1_Framework_Mathematics_Vector_1_CrossMultiply_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">CrossMultiply(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the descarts multiplication operation for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_DotMultiply_C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.DotMultiply(C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.DotMultiply.html#C1_Framework_Mathematics_Vector_1_DotMultiply_C1_Framework_Mathematics_Vector__0__">DotMultiply(Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Dot multiply a speical vector to this vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_Equals_System_Object_" data-uid="C1.Framework.Mathematics.Vector`1.Equals(System.Object)">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.Equals.html#C1_Framework_Mathematics_Vector_1_Equals_System_Object_">Equals(object)</a>
        </td>
        <td class="markdown level1 summary"><p>Determines whether the specified System.Object is equal to the current
System.Object.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_GetHashCode" data-uid="C1.Framework.Mathematics.Vector`1.GetHashCode">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.GetHashCode.html#C1_Framework_Mathematics_Vector_1_GetHashCode">GetHashCode()</a>
        </td>
        <td class="markdown level1 summary"><p>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.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_ToString" data-uid="C1.Framework.Mathematics.Vector`1.ToString">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.ToString.html#C1_Framework_Mathematics_Vector_1_ToString">ToString()</a>
        </td>
        <td class="markdown level1 summary"><p>Returns a string that represents the current vector.</p>
</td>
      </tr>
    </tbody>
  </table>
  <h3 id="operators">Operators
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_Addition_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_Addition(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_Addition.html#C1_Framework_Mathematics_Vector_1_op_Addition_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">operator +(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the + operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_Equality_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_Equality(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_Equality.html#C1_Framework_Mathematics_Vector_1_op_Equality_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">operator ==(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the == operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_Inequality_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_Inequality(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_Inequality.html#C1_Framework_Mathematics_Vector_1_op_Inequality_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">operator !=(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the == operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_Multiply_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_Multiply(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_Multiply.html#C1_Framework_Mathematics_Vector_1_op_Multiply_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">operator *(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the * operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_Subtraction_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_Subtraction(C1.Framework.Mathematics.Vector{`0},C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_Subtraction.html#C1_Framework_Mathematics_Vector_1_op_Subtraction_C1_Framework_Mathematics_Vector__0__C1_Framework_Mathematics_Vector__0__">operator -(Vector&lt;T&gt;, Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the binary - operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_1_op_UnaryNegation_C1_Framework_Mathematics_Vector__0__" data-uid="C1.Framework.Mathematics.Vector`1.op_UnaryNegation(C1.Framework.Mathematics.Vector{`0})">
          <a class="xref" href="C1.Framework.Mathematics.Vector-1.op_UnaryNegation.html#C1_Framework_Mathematics_Vector_1_op_UnaryNegation_C1_Framework_Mathematics_Vector__0__">operator -(Vector&lt;T&gt;)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the unary - operator for vector.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
