In this chapter, we will cover the following recipes:
This chapter is about special arrays and universal functions. These are topics that you may not encounter every day, but they are still important enough to mention here. Universal functions (Ufuncs) work on arrays element by element, or on scalars. Ufuncs accept a set of scalars as the input and produce a set of scalars as the output. Universal functions can typically be mapped onto their mathematical counterparts such as addition, ...