IntroductionInterfacesroot/ root/utils Data structuresExamples | CommonFunctionsCopyright (C) 2009-2015 Peter Rakyta, Ph.D. 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 http://www.gnu.org/licenses/. Description Provides an interface for common functions. Syntax interface = CommonFunctions() Attributes Methods inv_SVDCommonFunctions::inv_SVDCalculates the inverse of a badly conditioned matrix with SVD regularization. Syntax invA = interface.inv_SVD( A )
egesz_resz CommonFunctions::egesz_reszCalculates the integer part of a real number. Syntax y = interface.egesz_resz( x )
atom_megkulonbozteto CommonFunctions::atom_megkulonboztetoMakes a difference between A and B type sites. (Can be used in hexagonal lattices.) --- Obsolete Syntax ret = interface.atom_megkulonbozteto( resz_index_mtx,index_koord )
atom_tipus CommonFunctions::atom_tipusMakes a difference between A and B type sites. (Can be used in hexagonal lattices.) --- Obsolete Syntax ret = interface.atom_tipus( idx_i,idx_j )
paritas CommonFunctions::paritasDetermine the parity of a number. Syntax p = interface.paritas( x )
|