<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/mongodb.bson.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'de',
  ),
  'this' => 
  array (
    0 => 'enum.mongodb-bson-vectortype.php',
    1 => 'MongoDB\\BSON\\VectorType',
    2 => 'The MongoDB\\BSON\\VectorType enum',
  ),
  'up' => 
  array (
    0 => 'mongodb.bson.php',
    1 => 'MongoDB\\BSON',
  ),
  'prev' => 
  array (
    0 => 'mongodb-bson-binary.tostring.php',
    1 => 'MongoDB\\BSON\\Binary::__toString',
  ),
  'next' => 
  array (
    0 => 'class.mongodb-bson-decimal128.php',
    1 => 'MongoDB\\BSON\\Decimal128',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/mongodb/bson/vectortype.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="enum.mongodb-bson-vectortype" class="reference">

 <h1 class="title">The MongoDB\BSON\VectorType enum</h1>
 

 <div class="partintro"><p class="verinfo">(mongodb &gt;=2.2.0)</p>
  <div class="section" id="mongodb-bson-vectortype.intro">
   <h2 class="title">Einführung</h2>
   <p class="simpara">
    The <span class="enumname"><strong class="enumname">MongoDB\BSON\VectorType</strong></span> enum is used to specify the type of
    vector data stored in a <span class="classname"><a href="class.mongodb-bson-binary.php" class="classname">MongoDB\BSON\Binary</a></span> with
    subtype <strong><code><a href="class.mongodb-bson-binary.php#mongodb-bson-binary.constants.type-vector">MongoDB\BSON\Binary::TYPE_VECTOR</a></code></strong>.
   </p>
  </div>

  <div class="section" id="mongodb-bson-vectortype.synopsis">
   <h2 class="title">Übersicht über Aufzählungen</h2>

   <div class="classsynopsis"><div class="classsynopsisinfo">
    <span class="modifier">enum</span> <strong class="classname"><strong class="enumname">MongoDB\BSON\VectorType</strong></strong><br/>{</div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">Float32</span>
     ; //
      Each element in the vector is a 32-bit floating point value.
     <br><br>
    </div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">Int8</span>
     ; //
      Each element in the vector is an 8-bit integer value.
     <br><br>
    </div>

    <div class="fieldsynopsis">
         <span class="modifier">case</span>  <span class="classname">PackedBit</span>
     ; //
      Each element in the vector is a 1-bit value. When creating vectors of this
      type, you may pass either <span class="type"><a href="language.types.boolean.php" class="type bool">bool</a></span> or 1-bit <span class="type"><a href="language.types.integer.php" class="type int">int</a></span> values, i.e. <code class="literal">0</code> or <code class="literal">1</code>.
     <br><br>
    </div>
   }</div>
  </div>
 </div>
</div>
<?php manual_footer($setup); ?>