Documentation
¶
Index ¶
- func VectorEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
- func VectorEquals16(dstMask []byte, b uint16, rows []uint16)
- func VectorEquals32(dstMask []byte, b uint32, rows []uint32)
- func VectorEquals64(dstMask []byte, b uint64, rows []uint64)
- func VectorEquals8(dstMask []byte, b uint8, rows []uint8)
- func VectorEqualsFloat32(dstMask []byte, b float32, rows []float32)
- func VectorEqualsFloat64(dstMask []byte, b float64, rows []float64)
- func VectorGreaterEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
- func VectorGreaterEquals16(dstMask []byte, b uint16, rows []uint16)
- func VectorGreaterEquals32(dstMask []byte, b uint32, rows []uint32)
- func VectorGreaterEquals64(dstMask []byte, b uint64, rows []uint64)
- func VectorGreaterEquals8(dstMask []byte, b uint8, rows []uint8)
- func VectorGreaterEqualsFloat32(dstMask []byte, b float32, rows []float32)
- func VectorGreaterEqualsFloat64(dstMask []byte, b float64, rows []float64)
- func VectorGreaterThan[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
- func VectorGreaterThan16(dstMask []byte, b uint16, rows []uint16)
- func VectorGreaterThan32(dstMask []byte, b uint32, rows []uint32)
- func VectorGreaterThan64(dstMask []byte, b uint64, rows []uint64)
- func VectorGreaterThan8(dstMask []byte, b uint8, rows []uint8)
- func VectorGreaterThanFloat32(dstMask []byte, b float32, rows []float32)
- func VectorGreaterThanFloat64(dstMask []byte, b float64, rows []float64)
- func VectorIsNaNFloat32(dstMask []byte, rows []float32)
- func VectorIsNaNFloat64(dstMask []byte, rows []float64)
- func VectorLessThan[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
- func VectorLessThan16(dstMask []byte, b uint16, rows []uint16)
- func VectorLessThan32(dstMask []byte, b uint32, rows []uint32)
- func VectorLessThan64(dstMask []byte, b uint64, rows []uint64)
- func VectorLessThan8(dstMask []byte, b uint8, rows []uint8)
- func VectorLessThanFloat32(dstMask []byte, b float32, rows []float32)
- func VectorLessThanFloat64(dstMask []byte, b float64, rows []float64)
- func VectorLesserEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
- func VectorLesserEquals16(dstMask []byte, b uint16, rows []uint16)
- func VectorLesserEquals32(dstMask []byte, b uint32, rows []uint32)
- func VectorLesserEquals64(dstMask []byte, b uint64, rows []uint64)
- func VectorLesserEquals8(dstMask []byte, b uint8, rows []uint8)
- func VectorLesserEqualsFloat32(dstMask []byte, b float32, rows []float32)
- func VectorLesserEqualsFloat64(dstMask []byte, b float64, rows []float64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func VectorEquals ¶
func VectorEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
VectorEquals compares each entry in rows to search and enables the corresponding bit in dst if equal. Prefer calling VectorEquals8/16/32/64 directly.
clear(dst) for i, v := range rows { if search == v { dst[i/8] |= 1 << (i % 8) } }
func VectorEquals16 ¶
func VectorEquals32 ¶
func VectorEquals64 ¶
func VectorEquals8 ¶
func VectorEqualsFloat32 ¶ added in v1.2.0
func VectorEqualsFloat64 ¶ added in v1.2.0
func VectorGreaterEquals ¶
func VectorGreaterEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
VectorGreaterEquals compares each entry in rows to search and enables the corresponding bit in dst if search >= rows[i]. Prefer calling VectorGreaterEquals8/16/32/64 directly.
clear(dst) for i, v := range rows { if search >= v { dst[i/8] |= 1 << (i % 8) } }
func VectorGreaterEquals16 ¶
func VectorGreaterEquals32 ¶
func VectorGreaterEquals64 ¶
func VectorGreaterEquals8 ¶
func VectorGreaterEqualsFloat32 ¶ added in v1.2.0
func VectorGreaterEqualsFloat64 ¶ added in v1.2.0
func VectorGreaterThan ¶
func VectorGreaterThan[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
VectorGreaterThan compares each entry in rows to search and enables the corresponding bit in dst if search > rows[i]. Prefer calling VectorGreaterThan8/16/32/64 directly.
clear(dst) for i, v := range rows { if search > v { dst[i/8] |= 1 << (i % 8) } }
func VectorGreaterThan16 ¶
func VectorGreaterThan32 ¶
func VectorGreaterThan64 ¶
func VectorGreaterThan8 ¶
func VectorGreaterThanFloat32 ¶ added in v1.2.0
func VectorGreaterThanFloat64 ¶ added in v1.2.0
func VectorIsNaNFloat32 ¶ added in v1.3.0
func VectorIsNaNFloat64 ¶ added in v1.3.0
func VectorLessThan ¶
func VectorLessThan[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
VectorLessThan compares each entry in rows to search and enables the corresponding bit in dst if search < rows[i]. Prefer calling VectorLessThan8/16/32/64 directly.
clear(dst) for i, v := range rows { if search < v { dst[i/8] |= 1 << (i % 8) } }
func VectorLessThan16 ¶
func VectorLessThan32 ¶
func VectorLessThan64 ¶
func VectorLessThan8 ¶
func VectorLessThanFloat32 ¶ added in v1.2.0
func VectorLessThanFloat64 ¶ added in v1.2.0
func VectorLesserEquals ¶
func VectorLesserEquals[T uint8 | uint16 | uint32 | uint64 | float32 | float64](dst []byte, search T, rows []T)
VectorLesserEquals compares each entry in rows to search and enables the corresponding bit in dst if search <= rows[i]. Prefer calling VectorLesserEquals8/16/32/64 directly.
clear(dst) for i, v := range rows { if search <= v { dst[i/8] |= 1 << (i % 8) } }
func VectorLesserEquals16 ¶
func VectorLesserEquals32 ¶
func VectorLesserEquals64 ¶
func VectorLesserEquals8 ¶
func VectorLesserEqualsFloat32 ¶ added in v1.2.0
func VectorLesserEqualsFloat64 ¶ added in v1.2.0
Types ¶
This section is empty.