mxlib
c++ tools for analyzing astronomical data and other tasks by Jared R. Males. [git repo]
Loading...
Searching...
No Matches
gramSchmidt.hpp File Reference

Procedures to orthogonalize vector basis sets. More...

Procedures to orthogonalize vector basis sets.

Author
Jared R. Males (jared.nosp@m.male.nosp@m.s@gma.nosp@m.il.c.nosp@m.om)

Definition in file gramSchmidt.hpp.

#include <iostream>

Go to the source code of this file.

Namespaces

namespace  mx
 The mxlib c++ namespace.

Functions

template<int progress = 0, typename eigenTout, typename eigenTin>
void mx::sigproc::gramSchmidt (eigenTout &out, const eigenTin &in, bool normalize=true)
 Perform Gram-Schmidt ortogonalization of a basis set, and normalize the result.
template<int progress = 0, typename eigenTout, typename eigenTin, typename eigenTWin>
void mx::sigproc::gramSchmidt (eigenTout &out, const eigenTin &in, const eigenTWin &window)
 Perform Gram-Schmidt ortogonalization of a basis set on a window, and normalize the result.
template<int progress = 0, typename eigenTout, typename eigenTout2, typename eigenTin>
void mx::sigproc::gramSchmidtSpectrum (eigenTout &out, eigenTout2 &spect, const eigenTin &in, typename eigenTin::Scalar normPix=0.0)
 Perform Gram-Schmidt ortogonalization of a basis set, and normalize the result, while recording the spectrum.