26#ifndef CASA_MATRIXMATH_2_H
27#define CASA_MATRIXMATH_2_H
181#include "MatrixMath.tcc"
this file contains all the compiler specific defines
Vector< float > rproduct(const Matrix< std::complex< float > > &, const Vector< std::complex< float > > &)
The real part of a product of a std::complex<float> Matrix and a std::complex<float> Vector.
Matrix< double > adjoint(const Matrix< double > &A)
Vector< T > product(const Matrix< T > &A, const Vector< T > &x)
The vector/outer product of an MxN matrix and an N-length vector.
int norm(const Vector< int > &x)
The magnitude/norm of a vector.
Matrix< T > Rot3D(int axis, T angle)
Create a 3D rotation matrix (3x3).
T crossProduct2D(const Vector< T > &x, const Vector< T > &y)
Magnitude of cross product of two 2-space vectors, x[0]*y[1] - x[1]*y[0].
float norm1(const Matrix< std::complex< float > > &A)
Matrix< T > directProduct(const Matrix< T > &A, const Matrix< T > &B)
The direct product of two matrices.
float normI(const Matrix< std::complex< float > > &A)
Matrix< int > adjoint(const Matrix< int > &A)
define the adjoint operator as a plain old transpose when the Matrix is not complex valued.
Matrix< T > product(const Matrix< T > &A, const Matrix< T > &B)
The matrix multiplication or cayley product of an MxN matrix and an NxP matrix.
Matrix< std::complex< float > > adjoint(const Matrix< std::complex< float > > &A)
The conjugate/transpose or adjoint of the complex matrix A.
float norm1(const Matrix< float > &A)
double norm(const Vector< std::complex< double > > &x)
Matrix< std::complex< double > > adjoint(const Matrix< std::complex< double > > &A)
Matrix< T > product(const Vector< T > &x, const Matrix< T > &yT)
The matrix/outer product of a vector and a transposed vector.
double normI(const Matrix< double > &A)
std::complex< float > innerProduct(const Vector< std::complex< float > > &x, const Vector< std::complex< float > > &y)
int norm1(const Matrix< int > &A)
The one norm (or maximum value of the sum of the absolute values of the column members of a matrix)
float norm(const Vector< std::complex< float > > &x)
Vector< std::complex< float > > product(const Matrix< std::complex< float > > &, const Vector< float > &)
The product of a std::complex<float> Matrix and a Real Vector.
double norm1(const Matrix< double > &A)
Matrix< float > Rot3D(int axis, float angle)
Matrix< float > adjoint(const Matrix< float > &A)
std::complex< double > innerProduct(const Vector< std::complex< double > > &x, const Vector< std::complex< double > > &y)
Vector< T > crossProduct(const Vector< T > &x, const Vector< T > &y)
The vector/cross product of two 3-space vectors.
float normI(const Matrix< float > &A)
double norm1(const Matrix< std::complex< double > > &A)
Matrix< T > transpose(const Matrix< T > &A)
The NxM transpose of an MxN matrix.
T innerProduct(const Vector< T > &x, const Vector< T > &y)
The scalar/dot/inner product of two equal length vectors.
Vector< T > directProduct(const Vector< T > &x, const Vector< T > &y)
The direct product of two vectors.
float norm(const Vector< float > &x)
Matrix< double > Rot3D(int axis, double angle)
Matrix< float > rproduct(const Matrix< std::complex< float > > &, const Matrix< std::complex< float > > &)
The real part of a product of a std::complex<float> Matrix and a std::complex<float> Matrix.
double norm(const Vector< double > &x)
double normI(const Matrix< std::complex< double > > &A)
int normI(const Matrix< int > &A)
The infinity norm (or maximum value of the sum of the absolute values of the rows members of a matrix...