Github user Leemoonsoo commented on the pull request:
https://github.com/apache/incubator-zeppelin/pull/133#issuecomment-118099387
Tested with following case and Looks good to me.
```
val wbIPR=Array(8.40, 8.09, 7.56, 6.83, 5.88,
4.72, 3.36, 1.78, 0.0)
val
pressureIPR=Array(0.00,10000000.00,20000000.00,30000000.00,40000000.00,50000000.00,60000000.00,70000000.00,80000000.00)
case class IPR (w:Array[Double],p:Array[Double])
val iprInit=IPR(wbIPR,pressureIPR)
val iprList=sc.parallelize((1.0 to 0.9 by -0.001).map(k =>
IPR(iprInit.w.map(_ * k), iprInit.p)).zipWithIndex,5)
iprList.count()
```
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---