Package gmisclib :: Module sbd_array
[frames] | no frames]

Module sbd_array

source code

Classes
  sbd
  NoSolutionError
Functions
 
symmetrize(matrix, direction) source code
 
solve(a, b0)
solves a*x = b, where a is class sbd: symmetric, positive definite, and band-diagonal.
source code
 
multiply(a, x)
Calculates a*x, where a is class sbd: symmetric, positive definite, and band-diagonal.
source code
 
test1() source code
 
err(a, b) source code
 
test2() source code
 
testm() source code
 
testa() source code
 
testbdi() source code
Variables
  __package__ = 'gmisclib'

Imports: string, Num, inttype


Function Details

solve(a, b0)

source code 

solves a*x = b, where a is class sbd: symmetric, positive definite, and band-diagonal. Note that this destroys the contents of a.