Daylight v4.9
Release Date: 1 February 2008

Name

dt_fp_allocfp - allocate a new fingerprint

Generic Prototype

dt_fp_allocfp(dt_Integer) => dt_Handle

C Prototype

#include "dt_finger.h"

dt_Handle dt_fp_allocfp(dt_Integer size)

FORTRAN Prototype

include 'dt_f_finger.inc'

integer*4 dt_f_fp_allocfp(size)

integer*4 size

Description

Allocates a new, empty fingerprint. The fingerprint's size will be set to the value of 'size'. Legal values of 'size' are 32 to 1073741824 (2^30). If not a power of two, 'size' will be rounded to the next highest power of two. The object initially has no bits set (all bits are zero). Note that a 1Gbit fingerprint consumes significant system memory (128MB).

Return Value

Returns a new fingerprint object.

Related Topics

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_setbitvalue(3) dt_fp_setobitcount(3) dt_fp_setobits(3) dt_fp_setrange(3) dt_fp_tanimoto(3) dt_fp_tversky(3)