Free Electron
Public Member Functions | Private Attributes | List of all members
fe::ext::MatrixSqrt< MATRIX > Class Template Reference

solve A=B*B for B, given A More...

#include <MatrixSqrt.h>

Inheritance diagram for fe::ext::MatrixSqrt< MATRIX >:
Inheritance graph
[legend]

Public Member Functions

void solve (MATRIX &B, const MATRIX &A) const
 
void setIterations (U32 iterations)
 

Private Attributes

U32 m_iterations
 

Detailed Description

template<typename MATRIX>
class fe::ext::MatrixSqrt< MATRIX >

solve A=B*B for B, given A

Uses Denman-Beavers square root iteration.

B will be set with best result even with a convergence exception, so the exception could be caught and ignored.


The documentation for this class was generated from the following file: