Skip to content

operators

bigint_detail
@brief Core foundation operators (Phase 1) Implements fundamental operators: - Arithmetic: +, -, *, /, **, %, floor, ceil, round, abs, min, max - Comparison: =, !=, <, >, <=, >= - Logic: &&, ||, ! - List: list - I/O: print All implementations are header-only for compiler optimization.

Types

Name Description
AggregationOperators @brief Aggregation/statistical operators Implements aggregation functions: - sum, product - numeric aggregation - mean - average value - min-val, max-val - extreme values
ArrayOperators @brief Array/List manipulation operators Implements advanced list operations: - array-ref - get element at index - array-set - set element at index (returns new list) - slice - extract sublist - flatten - flatten nested lists - sort - sort list - reverse - already in list_operators but included for completeness - unique - remove duplicates - take - take first n elements - drop - skip first n elements - nth - get nth element
BitwiseOperators @brief Bitwise operators Implements bitwise operations on integers: - band (bitwise AND) - bor (bitwise OR) - bxor (bitwise XOR) - lshift (left shift <<) - rshift (right shift >>) - bnot (bitwise NOT ~)
ComparisonOperators @brief Comparison and constraint operators Implements comparison and range operations: - between - Check if value is in range - clamp - Constrain value to range - in? - Check membership in list
CoreMathOperators
DataExportOperators DataExportOperators - Serialization and data format conversion Operators: to-json, from-json, to-csv, from-csv, matrix-transpose, json-array
HammingOperators @brief Hamming distance and weight operators Implements operators for analyzing signal transitions and bit patterns: - hamming-weight-all-signals-all-timestamps - Calculate Hamming weight across all signals - hamming-distance-all-signals-all-timestamps - Calculate Hamming distance between consecutive timestamps
ListOperators @brief List manipulation operators Implements list operations: - first (car) - get first element - rest (cdr) - get rest of list - extend - concatenate lists (upstream's append adds one element) - length - get list length - reverse - reverse a list - map - apply function to each element - fold - reduce list to single value - filter - select matching elements - zip - combine multiple lists - range - generate sequence
MathOperators @brief Advanced mathematical operators Implements trigonometric and mathematical functions: - sin, cos, tan, asin, acos, atan - sqrt, log, log10, exp - abs, min, max
SignalOperators @brief Signal processing operators Implements signal analysis: - moving-average - Smooth signal - zero-crossings - Detect sign changes - rms, peak-to-peak, crest-factor - edges - Detect rising/falling edges - autocorrelation - Correlation analysis - duty-cycle - Estimate duty cycle
SignalProcessingOperators SignalProcessingOperators - Filtering and signal manipulation Operators: gaussian-blur, median-filter, derivative, integral, rise-time, fall-time, pulse-width, thd
SpectrumAnalysisOperators SpectrumAnalysisOperators - FFT and frequency domain analysis Operators: frequency-spectrum, magnitude-spectrum, phase-spectrum, peak-frequency
StatisticalAnalysisOperators StatisticalAnalysisOperators - Statistical and distribution analysis Operators: variance, stddev, median, quartiles, skewness, kurtosis, histogram
StringOperators @brief String manipulation operators Implements string operations: - string-length, substring, concat, split, join - uppercase, lowercase, trim - startswith, endswith, replace - string-index, contains
TraceManagementOperators @brief Trace file management operators (Phase 8) Operators for loading, managing, and querying waveform trace files: - Load/unload trace files (VCD, FST, CSV formats) - Navigate traces (step, set-index, get-index) - Query signal values and metadata - Multi-trace management Operators (10 total): - load: Load a trace file (VCD, FST, or CSV) - unload: Unload a loaded trace - step: Move all traces forward/backward in time - signal?: Check if a signal exists in current traces - get-signal: Get value of a signal at current or offset index - signal-width: Get bit width of a signal - set-index: Set the current time index - get-index: Get current time index - get-traces: Get list of loaded trace IDs - signal-names: Get all signal names in loaded traces All implementations are header-only for compiler optimization.
TypeOperators @brief Type checking and conversion operators Implements type introspection: - type - get type of value - is-int, is-float, is-string, is-list, is-bool, is-symbol, is-nil - convert-int, convert-float, convert-string
VisualizationOperators VisualizationOperators - Plotting and visualization utilities Operators: ascii-plot, gnuplot-script, export-tsv, html-plot
WalCompatOperators @brief Operators that upstream WAL (ics-jku/wal) has and WAL++ lacked.
WalRemainingOperators @brief The last of upstream WAL's operators.