MCPcopy Create free account
hub / github.com/FEniCS/dolfinx / orthonormalize

Function orthonormalize

python/dolfinx/la/__init__.py:373–375  ·  view source on GitHub ↗

Orthogonalise set of vectors in-place.

(basis: list[Vector[_T]])

Source from the content-addressed store, hash-verified

371
372
373def orthonormalize(basis: list[Vector[_T]]) -> None:
374 """Orthogonalise set of vectors in-place."""
375 _cpp.la.orthonormalize([x._cpp_object for x in basis])
376
377
378def is_orthonormal(basis: list[Vector[_T]], eps: float = 1.0e-12) -> bool:

Callers 1

declare_la_functionsFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected