Écode_histogramme / Histogrammes
Vue de l’ensemble
’encode_histogram_Histogram’ est une classe dans Aspose.Font FOSS pour Python.
Cette classe fournit 6 méthodes pour travailler avec les objets encode_histogram_Histogram dans les programmes Python. Les méthodologies disponibles comprennent: Add1, Ad2 , AddHistorogram ; ‘Clear; Removeetinit. Tous les membres publics sont accessibles à n'importe quelle application Pythone après l'installation de l’Aspoe.Font FOSS pour le package PyThone. Propriétés : bit_cost_,, data_’, kDataSize., `total_count_’.
Propriétés
| Name | Type | Access | Description |
|---|---|---|---|
bit_cost_ | `` | Read | Gets the bit cost . |
total_count_ | `` | Read | Gets the total count . |
kDataSize | `` | Read | Gets the k data size. |
data_ | `` | Read | Gets the data . |
méthodes
| Signature | Description |
|---|---|
__init__(kDataSize) | Calls init on this encode_histogram_Histogram instance. |
Clear() | Resets the histogram to an empty state |
Add1(val) | Increments the count for the given value by one |
Remove(val) | Decrements or deletes the entry for the specified value |
Add2(p, p_off, n) | Adds a count n for value p with offset p_off |
AddHistogram(v) | Merges another histogram v into this one |
Voir aussi
- Aspose.Font — référence API d’entreprise