Difference between revisions of "Array Indices and XY Functions"

From ZCubes Wiki
Jump to navigation Jump to search
Line 6: Line 6:
  
 
[[Array.indices()]]
 
[[Array.indices()]]
 +
 +
Parameters: Function,SubtractByArray,ScaleByArray,DoNotShowIndices,RowArray
 +
 +
Function is applied to array indices at each array location scaled by Scale Array, with SubtractByArray subtracted. Indices can be avoided in output with DoNotShowIndices parameter. RowArray can filter the output.
  
 
[[Array.xy()]]
 
[[Array.xy()]]
 +
 +
Parameters: (Function, OffsetArray, ScaleArray,GiveIndicesAlso,DoCentering)
 +
Similar to .indices but gives the indices only if GiveIndicesAlso is asked for.
 +
  
 
[[Array.xypanel()]]
 
[[Array.xypanel()]]
 +
 +
Similar to .xy but with DoCentering as default.
  
 
[[Array.at()]]
 
[[Array.at()]]
 +
 +
Similar to .indices but uses the value at the cell location.
  
 
[[Array.atnode()]]
 
[[Array.atnode()]]

Revision as of 22:54, 1 February 2020

These functions operate on array locations and values to create contours and other interesting operations.

Array.indices()

Parameters: Function,SubtractByArray,ScaleByArray,DoNotShowIndices,RowArray

Function is applied to array indices at each array location scaled by Scale Array, with SubtractByArray subtracted. Indices can be avoided in output with DoNotShowIndices parameter. RowArray can filter the output.

Array.xy()

Parameters: (Function, OffsetArray, ScaleArray,GiveIndicesAlso,DoCentering) Similar to .indices but gives the indices only if GiveIndicesAlso is asked for.


Array.xypanel()

Similar to .xy but with DoCentering as default.

Array.at()

Similar to .indices but uses the value at the cell location.

Array.atnode()

Array.atindex()

Array.nodeindex()

Array.indicesCore()