« MongoDB\BSON\Binary::__toString
MongoDB\BSON\Decimal128 »

The MongoDB\BSON\VectorType enum

(mongodb >=2.2.0)

はじめに

The MongoDB\BSON\VectorType enum is used to specify the type of vector data stored in a MongoDB\BSON\Binary with subtype MongoDB\BSON\Binary::TYPE_VECTOR.

列挙型概要

enum MongoDB\BSON\VectorType
{
case Float32 ; // Each element in the vector is a 32-bit floating point value.

case Int8 ; // Each element in the vector is an 8-bit integer value.

case PackedBit ; // Each element in the vector is a 1-bit value. When creating vectors of this type, you may pass either bool or 1-bit int values, i.e. 0 or 1.

}
関連キーワード:
MongoDB   VectorType   enum   vector   Binary   case   element   type   toString   Decimal   mongodb   used   specify   stored   subtype   列挙型   概要   Float   floating   point   integer   PackedBit   creating   vectors   pass
関連する関数・ページ:
mongodb-bson-binary.fromvector   mongodb-bson-binary.getvectortype   mongodb-bson-binary.toarray   mongodb-bson-binary.tostring   mongodb-bson-binary.gettype   mongodb.bson