abc-master
|
#include <stdio.h>
Go to the source code of this file.
Data Structures | |
struct | Vec_Flt_t_ |
Macros | |
#define | Vec_FltForEachEntry(vVec, Entry, i) for ( i = 0; (i < Vec_FltSize(vVec)) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
MACRO DEFINITIONS ///. More... | |
#define | Vec_FltForEachEntryStart(vVec, Entry, i, Start) for ( i = Start; (i < Vec_FltSize(vVec)) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
#define | Vec_FltForEachEntryStartStop(vVec, Entry, i, Start, Stop) for ( i = Start; (i < Stop) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
#define | Vec_FltForEachEntryReverse(vVec, pEntry, i) for ( i = Vec_FltSize(vVec) - 1; (i >= 0) && (((pEntry) = Vec_FltEntry(vVec, i)), 1); i-- ) |
Typedefs | |
typedef typedefABC_NAMESPACE_HEADER_START struct Vec_Flt_t_ | Vec_Flt_t |
INCLUDES ///. More... | |
Functions | |
static Vec_Flt_t * | Vec_FltAlloc (int nCap) |
FUNCTION DEFINITIONS ///. More... | |
static Vec_Flt_t * | Vec_FltStart (int nSize) |
static Vec_Flt_t * | Vec_FltStartFull (int nSize) |
static Vec_Flt_t * | Vec_FltAllocArray (float *pArray, int nSize) |
static Vec_Flt_t * | Vec_FltAllocArrayCopy (float *pArray, int nSize) |
static Vec_Flt_t * | Vec_FltDup (Vec_Flt_t *pVec) |
static Vec_Flt_t * | Vec_FltDupArray (Vec_Flt_t *pVec) |
static void | Vec_FltFree (Vec_Flt_t *p) |
static void | Vec_FltFreeP (Vec_Flt_t **p) |
static float * | Vec_FltReleaseArray (Vec_Flt_t *p) |
static float * | Vec_FltArray (Vec_Flt_t *p) |
static float ** | Vec_FltArrayP (Vec_Flt_t *p) |
static int | Vec_FltSize (Vec_Flt_t *p) |
static int | Vec_FltCap (Vec_Flt_t *p) |
static double | Vec_FltMemory (Vec_Flt_t *p) |
static float | Vec_FltEntry (Vec_Flt_t *p, int i) |
static float * | Vec_FltEntryP (Vec_Flt_t *p, int i) |
static void | Vec_FltWriteEntry (Vec_Flt_t *p, int i, float Entry) |
static void | Vec_FltAddToEntry (Vec_Flt_t *p, int i, float Addition) |
static void | Vec_FltUpdateEntry (Vec_Flt_t *p, int i, float Value) |
static float | Vec_FltEntryLast (Vec_Flt_t *p) |
static void | Vec_FltGrow (Vec_Flt_t *p, int nCapMin) |
static void | Vec_FltFill (Vec_Flt_t *p, int nSize, float Entry) |
static void | Vec_FltFillExtra (Vec_Flt_t *p, int nSize, float Fill) |
static void | Vec_FltShrink (Vec_Flt_t *p, int nSizeNew) |
static void | Vec_FltClear (Vec_Flt_t *p) |
static void | Vec_FltPush (Vec_Flt_t *p, float Entry) |
static void | Vec_FltPushOrder (Vec_Flt_t *p, float Entry) |
static int | Vec_FltPushUnique (Vec_Flt_t *p, float Entry) |
static float | Vec_FltPop (Vec_Flt_t *p) |
static int | Vec_FltFind (Vec_Flt_t *p, float Entry) |
static int | Vec_FltRemove (Vec_Flt_t *p, float Entry) |
static float | Vec_FltFindMax (Vec_Flt_t *p) |
static float | Vec_FltFindMin (Vec_Flt_t *p) |
static int | Vec_FltEqual (Vec_Flt_t *p1, Vec_Flt_t *p2) |
static void | Vec_FltPrint (Vec_Flt_t *vVec) |
static int | Vec_FltSortCompare1 (float *pp1, float *pp2) |
static int | Vec_FltSortCompare2 (float *pp1, float *pp2) |
static void | Vec_FltSort (Vec_Flt_t *p, int fReverse) |
#define Vec_FltForEachEntry | ( | vVec, | |
Entry, | |||
i | |||
) | for ( i = 0; (i < Vec_FltSize(vVec)) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
#define Vec_FltForEachEntryReverse | ( | vVec, | |
pEntry, | |||
i | |||
) | for ( i = Vec_FltSize(vVec) - 1; (i >= 0) && (((pEntry) = Vec_FltEntry(vVec, i)), 1); i-- ) |
#define Vec_FltForEachEntryStart | ( | vVec, | |
Entry, | |||
i, | |||
Start | |||
) | for ( i = Start; (i < Vec_FltSize(vVec)) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
#define Vec_FltForEachEntryStartStop | ( | vVec, | |
Entry, | |||
i, | |||
Start, | |||
Stop | |||
) | for ( i = Start; (i < Stop) && (((Entry) = Vec_FltEntry(vVec, i)), 1); i++ ) |
typedef typedefABC_NAMESPACE_HEADER_START struct Vec_Flt_t_ Vec_Flt_t |
INCLUDES ///.
CFile****************************************************************
FileName [vecFlt.h]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Resizable arrays.]
Synopsis [Resizable arrays of floats.]
Author [Aaron P. Hurst]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [
]PARAMETERS ///BASIC TYPES ///
|
inlinestatic |
|
inlinestatic |
FUNCTION DEFINITIONS ///.
Function*************************************************************
Synopsis [Allocates a vector with the given capacity.]
Description []
SideEffects []
SeeAlso []
Definition at line 78 of file vecFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates the vector from a float array of the given size.]
Description []
SideEffects []
SeeAlso []
Definition at line 129 of file vecFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis [Creates the vector from a float array of the given size.]
Description []
SideEffects []
SeeAlso []
Definition at line 150 of file vecFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Function*************************************************************
Synopsis [Duplicates the float array.]
Description []
SideEffects []
SeeAlso []
Definition at line 172 of file vecFlt.h.
Function*************************************************************
Synopsis [Transfers the array into another vector.]
Description []
SideEffects []
SeeAlso []
Definition at line 194 of file vecFlt.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Checks if two vectors are equal.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis [Find entry.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 326 of file vecFlt.h.
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 723 of file vecFlt.h.
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
|
static |
Function*************************************************************
Synopsis [Comparison procedure for two floats.]
Description []
SideEffects []
SeeAlso []
|
static |
Function*************************************************************
Synopsis [Comparison procedure for two floats.]
Description []
SideEffects []
SeeAlso []
|
inlinestatic |
Function*************************************************************
Synopsis [Allocates a vector with the given size and cleans it.]
Description []
SideEffects []
SeeAlso []
Definition at line 101 of file vecFlt.h.
|
inlinestatic |
Definition at line 109 of file vecFlt.h.
|
inlinestatic |
Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
Definition at line 398 of file vecFlt.h.