public class SampleArrayFunctions extends Object
| Constructor and Description | 
|---|
SampleArrayFunctions(org.apache.commons.jexl2.JexlContext context)
The context will be populated by jexl prior to expression execution 
 | 
| Modifier and Type | Method and Description | 
|---|---|
Double | 
arrayFirst(String sampleName,
          int n)
Returns prior sample value of attribute 'sampleName' y = sample[i - n]
 If selected sample is before start of retrieved samples return first sample value sample[0] 
 | 
Double | 
arrayNaN(String sampleName,
        int n)
Returns prior sample value of attribute 'sampleName' y = sample[i - n]
 If selected sample is before start of retrieved samples return Not a Number (NaN) 
 | 
Double | 
arrayStart(String sampleName,
          int n,
          double start)
Returns prior sample value of attribute 'sampleName' y = sample[i - n]
 If selected sample is before start of retrieved samples return substitute sample value 
 | 
Double | 
arrayZero(String sampleName,
         Integer n)
Returns prior sample value of attribute 'sampleName' y = sample[i - n]
 If selected sample is before start of retrieved samples return zero (0) 
 | 
public SampleArrayFunctions(org.apache.commons.jexl2.JexlContext context)
context - public Double arrayZero(String sampleName, Integer n)
sampleName - name of attributei - number of samples prior to returnpublic Double arrayFirst(String sampleName, int n)
sampleName - name of attributei - number of samples prior to returnpublic Double arrayNaN(String sampleName, int n)
sampleName - name of attributei - number of samples prior to returnpublic Double arrayStart(String sampleName, int n, double start)
sampleName - name of attributei - number of samples prior to returnstart - replace references before start of samples with this valueCopyright © 2021. All rights reserved.