Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
// You can combine these two ...

calcTraj = MAP( {
	expressions = [[ ’ Trajectory ( tempSpatialPoint , PredictionTimes ) ’ , ’ traj ’]],
	keepinput = true
} , predTime )

MAP({
	expressions = [[’SpatialLength(traj)’,’len’]],
	keepinput = true
} , calcTraj )

// ... into this mixed expression
calcTraj = MAP( { 
	expressions = [[ ’ SpatialLength ( Trajectory ( tempSpatialPoint , PredictionTimes ) ) ’ , ’traj ’]], 
	keepinput = true
 } , predTime )

...