forked from denizdonmez/numethods
Update numethods/orthogonal.py
This commit is contained in:
@@ -5,7 +5,7 @@ from .exceptions import SingularMatrixError
|
|||||||
|
|
||||||
|
|
||||||
class QRGramSchmidt:
|
class QRGramSchmidt:
|
||||||
"""Classical Gram–Schmidt orthogonalization."""
|
"""Classical Gram-Schmidt orthogonalization."""
|
||||||
|
|
||||||
def __init__(self, A: Matrix):
|
def __init__(self, A: Matrix):
|
||||||
self.m, self.n = A.shape()
|
self.m, self.n = A.shape()
|
||||||
@@ -34,7 +34,7 @@ class QRGramSchmidt:
|
|||||||
|
|
||||||
|
|
||||||
class QRModifiedGramSchmidt:
|
class QRModifiedGramSchmidt:
|
||||||
"""Modified Gram–Schmidt orthogonalization."""
|
"""Modified Gram-Schmidt orthogonalization."""
|
||||||
|
|
||||||
def __init__(self, A: Matrix):
|
def __init__(self, A: Matrix):
|
||||||
self.m, self.n = A.shape()
|
self.m, self.n = A.shape()
|
||||||
|
Reference in New Issue
Block a user