k to this function</span>
    </a>
    <h1 class="signature">basis(atom)</span>
        
      <div class="specs">
          <pre>basis(<a href="https://hexdocs.pm/elixir/typespecs.html#basic-types">atom</a>()) :: <a href="#t:vector/0">vector</a>()</pre>
      </div>
  </div>
  <section class="docstring">
<p>Returns the basis vector for the given axis</p>
<h2 id="basis/1-examples" class="section-heading">
  <a href="#basis/1-examples" class="hover-link"><span class="icon-link" aria-hidden="true"></span></a>