Skip to content

StackExpression


final class StackExpression<Arg, Element> < Expression<Element[_]>(nil, false)

Special expression for stack() on an arbitrary number of arguments with pre-allocation of the final result.

  • Arg Argument type, e.g. Real or Expression<Real>.
  • Element Result element type, e.g. Real.

Member Variables

Name Description
m:Array<Arg> Arguments.

Member Functions

Name Description
push Add an argument.

Member Function Details

push

function push(arg:Arg)

Add an argument.

  • arg The argument.