Go to the documentation of this file.
28 #ifndef CASA_MATRIXMATH_H
29 #define CASA_MATRIXMATH_H
32 #include <casacore/casa/aips.h>
33 #include <casacore/casa/Arrays/Vector.h>
34 #include <casacore/casa/Arrays/Matrix.h>
35 #include <casacore/casa/BasicSL/Complex.h>
197 #ifndef CASACORE_NO_AUTO_TEMPLATES
198 #include <casacore/casa/Arrays/MatrixMath.tcc>
199 #endif //# CASACORE_NO_AUTO_TEMPLATES
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)
Matrix< T > Rot3D(Int axis, T angle)
Create a 3D rotation matrix (3x3).
A 2-D Specialization of the Array class.
std::complex< Double > DComplex
Double normI(const Matrix< Double > &A)
Double norm1(const Matrix< Double > &A)
Double normI(const Matrix< DComplex > &A)
Float norm(const Vector< Float > &x)
DComplex innerProduct(const Vector< DComplex > &x, const Vector< DComplex > &y)
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...
Matrix< Double > Rot3D(Int axis, Double angle)
Int norm(const Vector< Int > &x)
The magnitude/norm of a vector.
Matrix< Float > adjoint(const Matrix< Float > &A)
Float norm1(const Matrix< Float > &A)
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 normI(const Matrix< Float > &A)
Matrix< T > directProduct(const Matrix< T > &A, const Matrix< T > &B)
The direct product of two matrices.
Matrix< DComplex > adjoint(const Matrix< DComplex > &A)
Vector< Float > rproduct(const Matrix< Complex > &, const Vector< Complex > &)
The real part of a product of a Complex Matrix and a Complex Vector.
Matrix< Double > adjoint(const Matrix< Double > &A)
Matrix< Float > Rot3D(Int axis, Float angle)
Vector< T > directProduct(const Vector< T > &x, const Vector< T > &y)
The direct product of two vectors.
this file contains all the compiler specific defines
Matrix< DComplex > conjugate(const Matrix< DComplex > &A)
The complex conjugate of the double precision complex matrix A.
Matrix< T > product(const Vector< T > &x, const Matrix< T > &yT)
The matrix/outer product of a vector and a transposed vector.
Vector< Complex > product(const Matrix< Complex > &, const Vector< Float > &)
The product of a Complex Matrix and a Real Vector.
Matrix< Float > rproduct(const Matrix< Complex > &, const Matrix< Complex > &)
The real part of a product of a Complex Matrix and a Complex Matrix.
Complex innerProduct(const Vector< Complex > &x, const Vector< Complex > &y)
Matrix< Complex > conjugate(const Matrix< Complex > &A)
The complex conjugate of the complex matrix A.
Float norm1(const Matrix< Complex > &A)
T innerProduct(const Vector< T > &x, const Vector< T > &y)
The scalar/dot/inner product of two equal length vectors.
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.
Float normI(const Matrix< Complex > &A)
Matrix< Int > adjoint(const Matrix< Int > &A)
define the adjoint operator as a plain old transpose when the Matrix is not complex valued.
Double norm1(const Matrix< DComplex > &A)
Vector< T > crossProduct(const Vector< T > &x, const Vector< T > &y)
The vector/cross product of two 3-space vectors.
Matrix< T > transpose(const Matrix< T > &A)
The NxM transpose of an MxN matrix.
std::complex< Float > Complex
A 1-D Specialization of the Array class.
Double norm(const Vector< Double > &x)
Linear algebra functions on Vectors and Matrices.
Float norm(const Vector< Complex > &x)
Matrix< Complex > adjoint(const Matrix< Complex > &A)
The conjugate/transpose or adjoint of the complex matrix A.
Double norm(const Vector< DComplex > &x)
Vector< T > product(const Matrix< T > &A, const Vector< T > &x)
The vector/outer product of an MxN matrix and an N-length vector.