28 #ifndef CASA_MATRIXMATH_2_H
29 #define CASA_MATRIXMATH_2_H
183 #include "MatrixMath.tcc"
this file contains all the compiler specific defines
Matrix< T > product(const Vector< T > &x, const Matrix< T > &yT)
The matrix/outer product of a vector and a transposed vector.
Matrix< float > Rot3D(int axis, float angle)
Matrix< double > Rot3D(int axis, double angle)
double norm(const Vector< std::complex< double >> &x)
std::complex< double > innerProduct(const Vector< std::complex< double >> &x, const Vector< std::complex< double >> &y)
int norm(const Vector< int > &x)
The magnitude/norm of a vector.
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].
double norm1(const Matrix< std::complex< double >> &A)
double normI(const Matrix< std::complex< double >> &A)
std::complex< float > innerProduct(const Vector< std::complex< float >> &x, const Vector< std::complex< float >> &y)
Matrix< float > adjoint(const Matrix< float > &A)
float norm1(const Matrix< float > &A)
Matrix< std::complex< double > > adjoint(const Matrix< std::complex< double >> &A)
Vector< T > directProduct(const Vector< T > &x, const Vector< T > &y)
The direct product of two vectors.
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.
float normI(const Matrix< std::complex< float >> &A)
double normI(const Matrix< double > &A)
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.
float norm(const Vector< std::complex< float >> &x)
float norm1(const Matrix< std::complex< float >> &A)
Matrix< double > adjoint(const Matrix< double > &A)
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)
Vector< T > crossProduct(const Vector< T > &x, const Vector< T > &y)
The vector/cross product of two 3-space vectors.
Matrix< int > adjoint(const Matrix< int > &A)
define the adjoint operator as a plain old transpose when the Matrix is not complex valued.
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< T > Rot3D(int axis, T angle)
Create a 3D rotation matrix (3x3).
double norm1(const Matrix< double > &A)
Matrix< T > directProduct(const Matrix< T > &A, const Matrix< T > &B)
The direct product of two matrices.
Matrix< std::complex< float > > adjoint(const Matrix< std::complex< float >> &A)
The conjugate/transpose or adjoint of the complex matrix A.
float normI(const Matrix< float > &A)
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.
T innerProduct(const Vector< T > &x, const Vector< T > &y)
The scalar/dot/inner product of two equal length vectors.
float norm(const Vector< float > &x)
double norm(const Vector< double > &x)
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...
Vector< T > product(const Matrix< T > &A, const Vector< T > &x)
The vector/outer product of an MxN matrix and an N-length vector.
Matrix< T > transpose(const Matrix< T > &A)
The NxM transpose of an MxN matrix.