# C1.Framework.Mathematics.Vector

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Framework_Mathematics_Vector" data-uid="C1.Framework.Mathematics.Vector" class="text-break">Vector 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</span></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_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public class Vector : ICloneable</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Class Vector
    Implements ICloneable</code></pre>
  </div>
  <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__ctor" data-uid="C1.Framework.Mathematics.Vector.#ctor">
          <a class="xref" href="C1.Framework.Mathematics.Vector.-ctor.html#C1_Framework_Mathematics_Vector__ctor">Vector()</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Mathematics.Vector.html">Vector</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector__ctor_System_Double___" data-uid="C1.Framework.Mathematics.Vector.#ctor(System.Double[])">
          <a class="xref" href="C1.Framework.Mathematics.Vector.-ctor.html#C1_Framework_Mathematics_Vector__ctor_System_Double___">Vector(params double[])</a>
        </td>
        <td class="markdown level1 summary"><p>Initializes a new instance of the <a class="xref" href="C1.Framework.Mathematics.Vector.html">Vector</a> class.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector__ctor_System_Int32_" data-uid="C1.Framework.Mathematics.Vector.#ctor(System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.-ctor.html#C1_Framework_Mathematics_Vector__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.html">Vector</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__data" data-uid="C1.Framework.Mathematics.Vector._data">
          <a class="xref" href="C1.Framework.Mathematics.Vector._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_Dimension" data-uid="C1.Framework.Mathematics.Vector.Dimension">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Dimension.html#C1_Framework_Mathematics_Vector_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_Elements" data-uid="C1.Framework.Mathematics.Vector.Elements">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Elements.html#C1_Framework_Mathematics_Vector_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_IsIdentity" data-uid="C1.Framework.Mathematics.Vector.IsIdentity">
          <a class="xref" href="C1.Framework.Mathematics.Vector.IsIdentity.html#C1_Framework_Mathematics_Vector_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_IsZero" data-uid="C1.Framework.Mathematics.Vector.IsZero">
          <a class="xref" href="C1.Framework.Mathematics.Vector.IsZero.html#C1_Framework_Mathematics_Vector_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_Item_System_Int32_" data-uid="C1.Framework.Mathematics.Vector.Item(System.Int32)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Item.html#C1_Framework_Mathematics_Vector_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_Modul" data-uid="C1.Framework.Mathematics.Vector.Modul">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Modul.html#C1_Framework_Mathematics_Vector_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_Add_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.Add(C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Add.html#C1_Framework_Mathematics_Vector_Add_C1_Framework_Mathematics_Vector_">Add(Vector)</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_CalculateModul_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.CalculateModul(C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.CalculateModul.html#C1_Framework_Mathematics_Vector_CalculateModul_C1_Framework_Mathematics_Vector_">CalculateModul(Vector)</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_Clone" data-uid="C1.Framework.Mathematics.Vector.Clone">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Clone.html#C1_Framework_Mathematics_Vector_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_CrossMultiply_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.CrossMultiply(C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.CrossMultiply.html#C1_Framework_Mathematics_Vector_CrossMultiply_C1_Framework_Mathematics_Vector_">CrossMultiply(Vector)</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_CrossMultiply_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.CrossMultiply(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.CrossMultiply.html#C1_Framework_Mathematics_Vector_CrossMultiply_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">CrossMultiply(Vector, Vector)</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_DotMultiply_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.DotMultiply(C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.DotMultiply.html#C1_Framework_Mathematics_Vector_DotMultiply_C1_Framework_Mathematics_Vector_">DotMultiply(Vector)</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_Equals_System_Object_" data-uid="C1.Framework.Mathematics.Vector.Equals(System.Object)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.Equals.html#C1_Framework_Mathematics_Vector_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_GetHashCode" data-uid="C1.Framework.Mathematics.Vector.GetHashCode">
          <a class="xref" href="C1.Framework.Mathematics.Vector.GetHashCode.html#C1_Framework_Mathematics_Vector_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_ToString" data-uid="C1.Framework.Mathematics.Vector.ToString">
          <a class="xref" href="C1.Framework.Mathematics.Vector.ToString.html#C1_Framework_Mathematics_Vector_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_op_Addition_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_Addition(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_Addition.html#C1_Framework_Mathematics_Vector_op_Addition_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">operator +(Vector, Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the + operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_op_Equality_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_Equality(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_Equality.html#C1_Framework_Mathematics_Vector_op_Equality_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">operator ==(Vector, Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the == operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_op_Inequality_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_Inequality(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_Inequality.html#C1_Framework_Mathematics_Vector_op_Inequality_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">operator !=(Vector, Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the == operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_op_Multiply_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_Multiply(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_Multiply.html#C1_Framework_Mathematics_Vector_op_Multiply_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">operator *(Vector, Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the * operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_op_Subtraction_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_Subtraction(C1.Framework.Mathematics.Vector,C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_Subtraction.html#C1_Framework_Mathematics_Vector_op_Subtraction_C1_Framework_Mathematics_Vector_C1_Framework_Mathematics_Vector_">operator -(Vector, Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the binary - operator for vector.</p>
</td>
      </tr>
      <tr>
        <td id="C1_Framework_Mathematics_Vector_op_UnaryNegation_C1_Framework_Mathematics_Vector_" data-uid="C1.Framework.Mathematics.Vector.op_UnaryNegation(C1.Framework.Mathematics.Vector)">
          <a class="xref" href="C1.Framework.Mathematics.Vector.op_UnaryNegation.html#C1_Framework_Mathematics_Vector_op_UnaryNegation_C1_Framework_Mathematics_Vector_">operator -(Vector)</a>
        </td>
        <td class="markdown level1 summary"><p>Defines the unary - operator for vector.</p>
</td>
      </tr>
    </tbody>
  </table>

</div>
