rebaseValue¶
This function is used for rebasing. It designates the variable that contains this function as a destination variable for the rebase operation.
Signature¶
rebaseValue(
sourceVariableName
)
Arguments¶
sourceVariableName- The name of the variable from which to get the rebased values.
Limitations¶
- This function may not have any parents. I.e., it must be the outermost function in a formula.
- ✅
rebaseValue(...) - ❌
func(rebaseValue(...)) - ❌
rebaseValue(...) + 1
- ✅
- This function may only be used inside a projection node variable.
- This function may be called at most once per projection node.
- The source variable and destination variable must have the same dimensionality.
- If
rebaseValueis used in a projection node,rebaseIndexmust also be used in the same projection node to fully define the rebase operation.
Examples¶
Say the following formula is used in variable VarOne:
rebaseValue("VarTwo")
This defined VarOne as a destination variable and VarTwo as a source variable for the rebase operation in the
current projection node.