
--- Semantic issues and flaws for system  app


!! (SEM): parameter N - 1 of Integer.subrange(0,N - 1) must have integer type

! (SEM): Condition _x >= 0 needed for
  (_x->sqrt())

!! (SEM): Type missing for MatrixLib.dotProduct(MatrixLib.elementwiseMult(MatrixLib.elementwiseApply(T,(lambda _x : double in (_x->sqrt()))),sigma),Z) in ( r - 0.5 * (sigma)->pow(2) ) * T + MatrixLib.dotProduct(MatrixLib.elementwiseMult(MatrixLib.elementwiseApply(T,(lambda _x : double in (_x->sqrt()))),sigma),Z) Should be numeric or String

!! (SEM): Types missing for ST - K Arguments should be both numeric, both String, both Collections or both Maps

! (SEM): Condition Set{ST - K,0}->notEmpty() needed for
  Set{ST - K,0}->max()

! (SEM): Condition payoffs /= null needed for
  payoffs->append((payoff))

! (SEM): Condition ( (payoffs) /= null ) needed for
  (payoffs)->average()

! There are 4 possible semantic issues in operation mc_plain

!! There are 3 semantic warnings in operation mc_plain


