feat: add power scaling factor to plot generation in plot.py
The plot.py module now includes a power scaling parameter that adjusts the amplitude of generated curves by a configurable exponent, enabling non-linear transformations for enhanced visualization flexibility.
This commit is contained in:
@@ -17,11 +17,13 @@ typedef enum {
|
||||
RAVA_OP_LOAD_FIELD,
|
||||
RAVA_OP_LOAD_STATIC,
|
||||
RAVA_OP_LOAD_ARRAY,
|
||||
RAVA_OP_LOAD_ARRAY_UNCHECKED,
|
||||
|
||||
RAVA_OP_STORE_LOCAL,
|
||||
RAVA_OP_STORE_FIELD,
|
||||
RAVA_OP_STORE_STATIC,
|
||||
RAVA_OP_STORE_ARRAY,
|
||||
RAVA_OP_STORE_ARRAY_UNCHECKED,
|
||||
|
||||
RAVA_OP_ADD,
|
||||
RAVA_OP_SUB,
|
||||
@@ -54,6 +56,7 @@ typedef enum {
|
||||
RAVA_OP_CALL,
|
||||
RAVA_OP_CALL_STATIC,
|
||||
RAVA_OP_CALL_RECURSIVE,
|
||||
RAVA_OP_CALL_INLINE,
|
||||
RAVA_OP_CALL_VIRTUAL,
|
||||
RAVA_OP_CALL_SUPER,
|
||||
RAVA_OP_CALL_NATIVE,
|
||||
@@ -196,6 +199,8 @@ typedef struct {
|
||||
int max_stack;
|
||||
RavaInstructionList_t *instructions;
|
||||
struct LabelTable_s *label_table;
|
||||
bool is_leaf;
|
||||
bool is_simple;
|
||||
} RavaMethod_t;
|
||||
|
||||
#define RAVA_METHOD_HASH_SIZE 16
|
||||
|
||||
Reference in New Issue
Block a user