Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_setbitvalue - specify the value of a bit in a fingerprint

Generic Prototype

dt_fp_setbitvalue(dt_Handle, dt_Integer, dt_Boolean) => dt_Boolean

C Prototype

#include "dt_finger.h"

dt_Boolean dt_fp_setbitvalue(dt_Handle object, dt_Integer bitno, dt_Boolean value)

FORTRAN Prototype

include 'dt_f_finger.inc'

logical dt_f_fp_setbitvalue(object, bitno, value)

integer*4 object
integer*4 bitno
logical value

Description

Sets the given bit in the fingerprint to the value.

Return Value

Returns the success or failure of the operation. Fails for non-fingerprint objects and for values of bitno out of the range of the number of bits in the fingerprint. The range of bit indices starts with zero (0).

Related Topics

dt_fp_allocfp(3) dt_fp_bitcount(3) dt_fp_bitvalue(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_setobitcount(3) dt_fp_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3) dt_fp_tversky(3)