Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_bitvalue - retrieve the value of a bit in a fingerprint

Generic Prototype

dt_fp_bitvalue(dt_Handle, dt_Integer) => dt_Integer

C Prototype

#include "dt_finger.h"

dt_Integer dt_fp_bitvalue(dt_Handle object, dt_Integer bitno)

FORTRAN Prototype

include 'dt_f_finger.inc'

integer*4 dt_f_fp_bitvalue(object, bitno)

integer*4 object
integer*4 bitno

Description

Gets the value of the specified bit in a fingerprint.

Return Value

Returns the value of the bit in the fingerprint (0 or 1). Returns -1 for any object other than a fingerprint and for 'bitno' values outside of the valid range of bits for a given fingerprint. The range of bit indices starts with zero (0).

Related Topics

dt_fp_allocfp(3) dt_fp_bitcount(3) dt_fp_euclid(3) dt_fp_fingertest(3) dt_fp_foldfp(3) dt_fp_generatefp(3) dt_fp_nbits(3) dt_fp_obitcount(3) dt_fp_obits(3) dt_fp_range(3) dt_fp_setbitvalue(3) dt_fp_setobitcount(3) dt_fp_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3) dt_fp_tversky(3)