You can use `list(math.sin(x * math.pi / 2) for x in index)` or use `numpy`, which supports array math. -- https://mail.python.org/mailman/listinfo/python-list
- What is the simplest method to get a vector result? fl
- Re: What is the simplest method to get a vector resul... Alan
- Re: What is the simplest method to get a vector resul... Vlastimil Brom
- Re: What is the simplest method to get a vector resul... Steven D'Aprano
- Re: What is the simplest method to get a vector resul... Marko Rauhamaa
- Re: What is the simplest method to get a vector resul... fl