vscfun#
- Mapdl.vscfun(parr='', func='', par1='', **kwargs)#
Determines properties of an array parameter.
APDL Command:
*VSCFUN- Parameters:
- parr
The name of the resulting scalar parameter. See
*SETfor name restrictions.- func
Functions:
MAXMaximum: the maximumPar1array element value.MINMinimum: the minimumPar1array element value.LMAXIndex location of the maximumPar1array element value. ArrayPar1is searched starting from its specified index.LMINIndex location of the minimumPar1array element value. ArrayPar1is searched starting from its specified index.FIRSTIndex location of the first nonzero value in arrayPar1. ArrayPar1is searched starting from its specified index.LASTIndex location of the last nonzero value in arrayPar1. ArrayPar1is searched starting from its specified index.SUMSum:Par1(the summation of thePar1array element values).MEDIMedian: value ofPar1at which there are an equal number of values above and below.MEANMean:(σ Par1)/NUM, whereNUMis the number of summed values.VARIVariance:(σ ((Par1-MEAN)**2))/NUM.STDVStandard deviation: square root ofVARI.RMSRoot-mean-square: square root of(σ (Par1**2))/NUM.NUMNumber: the number of summed values (masked values are not counted).
- par1
Array parameter vector in the operation.
Notes
Operates on one input array parameter vector and produces one output scalar parameter according to:
ParR = f(Par1)where the functions (f) are described below. The starting array element number must be defined for the array parameter vector. For example,
*VSCFUN,MU,MEAN,A(1)finds the mean of theAvector values, starting from the first value and stores the result as parameterMU. Operations use successive array elements[*VLEN, *VMASK]with the default being all successive array elements. Absolute values and scale factors may be applied to all parameters[*VABS, *VFACT]. Results may be cumulative[*VCUM]. See the*VOPERcommand for details.This command is valid in any processor.