info.py 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. """Defines a multi-dimensional array and useful procedures for Numerical computation.
  2. Functions
  3. - array - NumPy Array construction
  4. - zeros - Return an array of all zeros
  5. - empty - Return an uninitialized array
  6. - shape - Return shape of sequence or array
  7. - rank - Return number of dimensions
  8. - size - Return number of elements in entire array or a
  9. certain dimension
  10. - fromstring - Construct array from (byte) string
  11. - take - Select sub-arrays using sequence of indices
  12. - put - Set sub-arrays using sequence of 1-D indices
  13. - putmask - Set portion of arrays using a mask
  14. - reshape - Return array with new shape
  15. - repeat - Repeat elements of array
  16. - choose - Construct new array from indexed array tuple
  17. - correlate - Correlate two 1-d arrays
  18. - searchsorted - Search for element in 1-d array
  19. - sum - Total sum over a specified dimension
  20. - average - Average, possibly weighted, over axis or array.
  21. - cumsum - Cumulative sum over a specified dimension
  22. - product - Total product over a specified dimension
  23. - cumproduct - Cumulative product over a specified dimension
  24. - alltrue - Logical and over an entire axis
  25. - sometrue - Logical or over an entire axis
  26. - allclose - Tests if sequences are essentially equal
  27. More Functions:
  28. - arange - Return regularly spaced array
  29. - asarray - Guarantee NumPy array
  30. - convolve - Convolve two 1-d arrays
  31. - swapaxes - Exchange axes
  32. - concatenate - Join arrays together
  33. - transpose - Permute axes
  34. - sort - Sort elements of array
  35. - argsort - Indices of sorted array
  36. - argmax - Index of largest value
  37. - argmin - Index of smallest value
  38. - inner - Innerproduct of two arrays
  39. - dot - Dot product (matrix multiplication)
  40. - outer - Outerproduct of two arrays
  41. - resize - Return array with arbitrary new shape
  42. - indices - Tuple of indices
  43. - fromfunction - Construct array from universal function
  44. - diagonal - Return diagonal array
  45. - trace - Trace of array
  46. - dump - Dump array to file object (pickle)
  47. - dumps - Return pickled string representing data
  48. - load - Return array stored in file object
  49. - loads - Return array from pickled string
  50. - ravel - Return array as 1-D
  51. - nonzero - Indices of nonzero elements for 1-D array
  52. - shape - Shape of array
  53. - where - Construct array from binary result
  54. - compress - Elements of array where condition is true
  55. - clip - Clip array between two values
  56. - ones - Array of all ones
  57. - identity - 2-D identity array (matrix)
  58. (Universal) Math Functions
  59. add logical_or exp
  60. subtract logical_xor log
  61. multiply logical_not log10
  62. divide maximum sin
  63. divide_safe minimum sinh
  64. conjugate bitwise_and sqrt
  65. power bitwise_or tan
  66. absolute bitwise_xor tanh
  67. negative invert ceil
  68. greater left_shift fabs
  69. greater_equal right_shift floor
  70. less arccos arctan2
  71. less_equal arcsin fmod
  72. equal arctan hypot
  73. not_equal cos around
  74. logical_and cosh sign
  75. arccosh arcsinh arctanh
  76. """
  77. from __future__ import division, absolute_import, print_function
  78. depends = ['testing']
  79. global_symbols = ['*']