Home | Trees | Indices | Help |
---|
|
Miscellaneous helper facilities.
Copyright: Copyright (C) 2007 Andreas Kloeckner
License: This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program. If not, see U{http://www.gnu.org/licenses/}.
|
|||
Rotation | |||
Reflection | |||
SubsettableCrossProduct A cross product that can operate on an arbitrary subsets of its two operands and return an arbitrary subset of its result. |
|||
EOCRecorder | |||
Closable | |||
BlockMatrix A block matrix is the sum of different smaller matrices positioned within one big matrix. |
|||
IndexListRegistry | |||
Future An abstract interface definition for futures. |
|||
ImmediateFuture A non-future that immediately has a value available. |
|||
NestedFuture A future that combines two sub-futures into one. |
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
cross = SubsettableCrossProduct()
|
|
cyl_bessel_j( (object)arg1, (object)arg2, (object)arg3) -> float : C++ signature : double cyl_bessel_j(int,double,boost::math::policies::policy<boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>) |
cyl_neumann( (object)arg1, (object)arg2, (object)arg3) -> float : C++ signature : double cyl_neumann(int,double,boost::math::policies::policy<boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy, boost::math::policies::default_policy>) |
Returns the "logical shape" of the array. The "logical shape" is the shape that's left when the node-depending dimension has been eliminated. |
Compute an entry of the Levi-Civita tensor for the indices
Only three-tuples are supported for now. |
Takes a sequence of bools and turns it into an array of indices to be used to extract the subset from the full set. Example: >>> full_to_subset_indices([False, True, True]) array([1 2]) |
Takes a sequence of bools and generates it into an array of indices to be used to extract the subset from the full set. Example: >>> list(full_to_all_subset_indices([[False, True, True], [True,False,True]])) [array([1 2]), array([3 5] |
Takes a sequence of bools and generates it into an array of indices to be used to insert the subset into the full set. Example: >>> list(partial_to_all_subset_indices([[False, True, True], [True,False,True]])) [array([0 1]), array([2 3] |
Carry out a modified [1] Gram-Schmidt orthonormalization on vectors. If, during orthonormalization, the 2-norm of a vector drops below
[1] http://en.wikipedia.org/wiki/Gram%E2%80%93Schmidt_process |
Return a permutation matrix. If to_indices is specified, the resulting permutation matrix P satisfies the condition P * e[i] = e[to_indices[i]] for i=1,...,len(to_indices) where e[i] is the i-th unit vector. The height of P is determined either implicitly by the maximum of to_indices or explicitly by the parameter h. If from_indices is specified, the resulting permutation matrix P satisfies the condition P * e[from_indices[i]] = e[i] for i=1,...,len(from_indices) where e[i] is the i-th unit vector. The width of P is determined either implicitly by the maximum of from_indices of explicitly by the parameter w. If both to_indices and from_indices is specified, a ValueError exception is raised. |
Assuming that abscissae and errors are connected by a law of the form error = constant * abscissa ^ (-order), this function finds, in a least-squares sense, the best approximation of constant and order for the given data set. It returns a tuple (constant, order). Both inputs must be PyLinear vectors. |
Return a Cuthill-McKee ordering for the given graph. See (for example) Y. Saad, Iterative Methods for Sparse Linear System, 2nd edition, p. 76. `graph' is given as an adjacency mapping, i.e. each node is mapped to a list of its neighbors. |
Home | Trees | Indices | Help |
---|
Generated by Epydoc 3.0.1 on Sat Aug 29 14:33:13 2009 | http://epydoc.sourceforge.net |