Functions | |
| def | cmplx |
| create a complex vector from real and imaginary parts | |
| def | cat |
| Concatenate datasets. | |
| def | clnorm |
| norm of coloums of fdct2 | |
| def | scalar_max |
| return max element | |
| def | scalar_min |
| return min element | |
| def | real_if_close |
| returns a real valued scalar if imaginary part of scal is close to 0 | |
| def | scalar_mean |
| mean value of a sequence of scalars | |
| def | equal |
| Test if two vectors are equal per element. | |
| def | not_equal |
| Test if two vectors are not equal per element. | |
| def | less_than |
| Test if elements of vec1 are less than vec2. | |
| def | less_than_eq |
| Test if elements of vec1 are less than or equal to vec2. | |
| def | greater_than |
| Test if elements of vec1 are greater than vec2. | |
| def | greater_than_eq |
| Test if elements of vec1 are greater than or equal to vec2. | |
| def | or_ |
| Test if elements of either vec1 or vec2 are non-zero. | |
| def | and_ |
| Test if elements of both vec1 or vec2 are non-zero. | |
| def | inner_product |
| inner product of two vectors | |
| def | outer_product |
| Outer product of two vectors. | |
| def | shelp |
| interactive help for SLIMpy | |
| def slimpy_base.api.functions.spboolean.and_ | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of both vec1 or vec2 are non-zero.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 189 of file spboolean.py.
| def slimpy_base.api.functions.functions.cat | ( | catlist, | ||
| axis | ||||
| ) |
Concatenate datasets.
| catlist | a list that contains the vectors to be concatonated | |
| axis | Axis being merged |
Definition at line 69 of file functions.py.
| def slimpy_base.api.functions.functions.clnorm | ( | A, | ||
mode = "norm", |
||||
angconstr = [0 | ||||
| ) |
norm of coloums of fdct2
| A | the fdct2 linear operator | |
| mode | todo | |
| angconstr | todo |
Definition at line 99 of file functions.py.
| def slimpy_base.api.functions.functions.cmplx | ( | real, | ||
| imag | ||||
| ) |
create a complex vector from real and imaginary parts
| real | a vector that contains real numers | |
| imag | a vector that contains real numers |
Definition at line 50 of file functions.py.
| def slimpy_base.api.functions.spboolean.equal | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if two vectors are equal per element.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 44 of file spboolean.py.
| def slimpy_base.api.functions.spboolean.greater_than | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of vec1 are greater than vec2.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 129 of file spboolean.py.
| def slimpy_base.api.functions.spboolean.greater_than_eq | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of vec1 are greater than or equal to vec2.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 149 of file spboolean.py.
| def slimpy_base.api.functions.vector_product.inner_product | ( | vec1, | ||
| vec2 | ||||
| ) |
inner product of two vectors
| vec1 | a vector | |
| vec2 | a vector |
Definition at line 38 of file vector_product.py.
| def slimpy_base.api.functions.spboolean.less_than | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of vec1 are less than vec2.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 87 of file spboolean.py.
| def slimpy_base.api.functions.spboolean.less_than_eq | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of vec1 are less than or equal to vec2.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 108 of file spboolean.py.
| def slimpy_base.api.functions.spboolean.not_equal | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if two vectors are not equal per element.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 66 of file spboolean.py.
| def slimpy_base.api.functions.spboolean.or_ | ( | vec1, | ||
| vec2, | ||||
eps = 0 | ||||
| ) |
Test if elements of either vec1 or vec2 are non-zero.
| vec1 | a vector | |
| vec2 | a vector | |
| eps | a number |
Definition at line 169 of file spboolean.py.
| def slimpy_base.api.functions.vector_product.outer_product | ( | vec1, | ||
| vec2 | ||||
| ) |
Outer product of two vectors.
| vec1 | a vector | |
| vec2 | a vector |
Definition at line 64 of file vector_product.py.
| def slimpy_base.api.functions.scalar_functions.real_if_close | ( | scal | ) |
returns a real valued scalar if imaginary part of scal is close to 0
| scal | a saclar object |
Definition at line 175 of file scalar_functions.py.
| def slimpy_base.api.functions.scalar_functions.scalar_max | ( | sequence | ) |
return max element
| sequence | a sequence of scalars |
Definition at line 129 of file scalar_functions.py.
| def slimpy_base.api.functions.scalar_functions.scalar_mean | ( | sequence | ) |
mean value of a sequence of scalars
| sequence | a sequence of numbers |
Definition at line 188 of file scalar_functions.py.
| def slimpy_base.api.functions.scalar_functions.scalar_min | ( | sequence | ) |
return min element
| sequence | a sequence of scalars |
Definition at line 156 of file scalar_functions.py.
| def slimpy_base.shelp.shelp | ( | names | ) |
interactive help for SLIMpy
| names | get help for objects |
1.5.6