# C1.Framework.Mathematics.Vector-1.op_UnaryNegation

## Content

<div class="doc-site-dotnet-api-container">



<h1 id="C1_Framework_Mathematics_Vector_1_op_UnaryNegation_" data-uid="C1.Framework.Mathematics.Vector`1.op_UnaryNegation*">operator - Operator
</h1>
<div class="markdown level0 summary"></div>
<div class="markdown level0 conceptual"></div>



<a id="C1_Framework_Mathematics_Vector_1_op_UnaryNegation_" data-uid="C1.Framework.Mathematics.Vector`1.op_UnaryNegation*"></a>
<h4 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})">operator -(Vector&lt;T&gt;)</h4>
<div class="markdown level1 summary"><p>Defines the unary - operator for vector.</p>
</div>
<div class="markdown level1 conceptual"></div>
<h5 class="declaration">Declaration</h5>
<div class="codewrapper">
  <pre><code class="lang-csharp hljs">public static Vector&lt;T&gt; operator -(Vector&lt;T&gt; value)</code></pre>
</div>
<div class="codewrapper">
  <pre><code class="lang-vbnet hljs">Public Shared Operator -(value As Vector(Of T)) As Vector(Of T)</code></pre>
</div>
<h5 class="parameters">Parameters</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Name</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.Mathematics.Vector-1.html">Vector</a>&lt;T&gt;</td>
      <td><span class="parametername">value</span></td>
      <td><p>A <a class="xref" href="C1.Framework.Mathematics.Vector.html">Vector</a> indicates the operand.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 class="returns">Returns</h5>
<table class="table table-bordered table-condensed">
  <thead>
    <tr>
      <th>Type</th>
      <th>Description</th>
    </tr>
  </thead>
  <tbody>
    <tr>
      <td><a class="xref" href="C1.Framework.Mathematics.Vector-1.html">Vector</a>&lt;T&gt;</td>
      <td><p>A <a class="xref" href="C1.Framework.Mathematics.Vector.html">Vector</a> that is the unary minus result of the operands.</p>
</td>
    </tr>
  </tbody>
</table>
<h5 id="C1_Framework_Mathematics_Vector_1_op_UnaryNegation_C1_Framework_Mathematics_Vector__0___remarks">Remarks</h5>
<div class="markdown level1 remarks"><p>-(n1, n2, n3) = (-n1, -n2, -n3)</p>
</div>
</div>
