GeneralBrokenLines V03-01-02
gblpy3
Classes | Functions | Variables
gblpy3.gblnum Namespace Reference

Classes

class  BorderedBandMatrix
 (Symmetric) Bordered Band Matrix. More...
 

Functions

def decomposeBand ()
 
def solveBand (aRightHandSide)
 Solve linear equation system for band part. More...
 
def invertBand ()
 Invert band part. More...
 
def bandOfAVAT (anArray, aSymArray)
 Calculate band part of A*V*A^T. More...
 

Variables

 nBorder = self.__numBorder
 
 nCol = self.__numCol
 
 aSolution = np.empty(nBorder + nCol)
 
 auxMat = np.empty((nBorder, nCol))
 
 auxMatT = auxMat.T
 
 auxVec = aRightHandSide[:nBorder] - np.dot(auxMat, aRightHandSide[nBorder:])
 
 invBorder = np.linalg.inv(self.__border - np.dot(self.__mixed, auxMatT))
 
 __border
 
 __mixed
 
 __band
 

Detailed Description

Algebra for linear equation system with bordered band matrix.  

Created on Jul 27, 2011

@author: kleinwrt

Function Documentation

◆ bandOfAVAT()

def gblpy3.gblnum.bandOfAVAT (   anArray,
  aSymArray 
)

Calculate band part of A*V*A^T.

Parameters
anArraymatrix A; matrix(float)
aSymArraysymmetric matrix V; matrix(float)
Returns
band part; matrix(float)

Definition at line 236 of file gblnum.py.

◆ decomposeBand()

def gblpy3.gblnum.decomposeBand ( )

from Dbandmatrix.F (MillePede-II by V. Blobel, Univ. Hamburg)

(root free) Cholesky decomposition of band part: C=LDL^T

Note
band part (C) is replaced by its decomposition (D,L)

Definition at line 179 of file gblnum.py.

◆ invertBand()

def gblpy3.gblnum.invertBand ( )

Invert band part.

Returns
band part; matrix(float)

Definition at line 217 of file gblnum.py.

◆ solveBand()

def gblpy3.gblnum.solveBand (   aRightHandSide)

Solve linear equation system for band part.

Parameters
aRightHandSideright hand side; aRightHandSide vector(float)
Returns
solution; vector(float)

Definition at line 199 of file gblnum.py.

Variable Documentation

◆ __band

gblpy3.gblnum.__band
private

Definition at line 271 of file gblnum.py.

◆ __border

gblpy3.gblnum.__border
private

Definition at line 269 of file gblnum.py.

◆ __mixed

gblpy3.gblnum.__mixed
private

Definition at line 270 of file gblnum.py.

◆ aSolution

def gblpy3.gblnum.aSolution = np.empty(nBorder + nCol)

Definition at line 249 of file gblnum.py.

◆ auxMat

gblpy3.gblnum.auxMat = np.empty((nBorder, nCol))

Definition at line 256 of file gblnum.py.

◆ auxMatT

gblpy3.gblnum.auxMatT = auxMat.T

Definition at line 260 of file gblnum.py.

◆ auxVec

gblpy3.gblnum.auxVec = aRightHandSide[:nBorder] - np.dot(auxMat, aRightHandSide[nBorder:])

Definition at line 262 of file gblnum.py.

◆ invBorder

gblpy3.gblnum.invBorder = np.linalg.inv(self.__border - np.dot(self.__mixed, auxMatT))

Definition at line 263 of file gblnum.py.

◆ nBorder

gblpy3.gblnum.nBorder = self.__numBorder

Definition at line 246 of file gblnum.py.

◆ nCol

gblpy3.gblnum.nCol = self.__numCol

Definition at line 248 of file gblnum.py.