#include <math.h>
#include <complex.h>
#include "specmat.h"
#include "binary.h"
Include dependency graph for specmat.cpp:
Namespaces | |
namespace | SPUC |
Defines | |
#define | M_PI 3.14 |
Functions | |
ivec | SPUC::find (const bvec &invector) |
Return a integer vector with indicies where bvec == 1. | |
vec | SPUC::impulse (int size) |
Impulse vector. | |
vec | SPUC::linspace (double from, double to, int length=100) |
Linspace (works in the same way as the matlab version). | |
vec | SPUC::hamming (int size) |
A length size hamming window. | |
vec | SPUC::hanning (int size) |
A length size hamming window. | |
vec | SPUC::triang (int size) |
A length size triangular window. | |
vec | SPUC::sqrt_win (int size) |
A length size square root window (=sqrt(triang(size))). | |
imat | SPUC::hadamard (int size) |
A 2^size by 2^size Hadamard matrix. | |
imat | SPUC::jacobsthal (int p) |
Jacobsthal matrix. | |
imat | SPUC::conference (int n) |
Conference matrix. | |
mat | SPUC::rotation_matrix (int dim, int plane1, int plane2, double angle) |
Create a rotation matrix that rotates the given plane angle radians. Note that the order of the planes are important! | |
void | SPUC::house (const vec &x, vec &v, double &beta) |
Calcualte the Householder vector. | |
void | SPUC::givens (double a, double b, double &c, double &s) |
Calculate the Givens rotation values. | |
void | SPUC::givens (double a, double b, mat &m) |
Calculate the Givens rotation matrix. | |
mat | SPUC::givens (double a, double b) |
Calculate the Givens rotation matrix. | |
void | SPUC::givens_t (double a, double b, mat &m) |
Calculate the transposed Givens rotation matrix. | |
mat | SPUC::givens_t (double a, double b) |
Calculate the transposed Givens rotation matrix. | |
template void | SPUC::eye (int, mat &) |
Template instantiation of eye. | |
template void | SPUC::eye (int, bmat &) |
Template instantiation of eye. | |
template void | SPUC::eye (int, imat &) |
Template instantiation of eye. | |
template void | SPUC::eye (int, cmat &) |
Template instantiation of eye. |
2002/12/19 23:56:46
|
|