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.
T norm(const TableVector< T > &tv)
std::complex< Double > DComplex
TableExprNode transpose(const TableExprNode &array)
Transpose all axes of a (masked) array.
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...
Int norm(const Vector< Int > &x)
The magnitude/norm of a vector.
TableVector< T > crossProduct(const TableVector< T > &l, const TableVector< T > &r)
T product(const TableVector< T > &tv)
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].
Vector< Float > rproduct(const Matrix< Complex > &, const Vector< Complex > &)
The real part of a product of a Complex Matrix and a Complex Vector.
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< T > product(const Vector< T > &x, const Matrix< T > &yT)
The matrix/outer product of a vector and a transposed vector.
Matrix< Complex > conjugate(const Matrix< Complex > &A)
The complex conjugate of the complex matrix A.
T innerProduct(const Vector< T > &x, const Vector< T > &y)
The scalar/dot/inner product of two equal length vectors.
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.
Linear algebra functions on Vectors and Matrices.
Matrix< Complex > adjoint(const Matrix< Complex > &A)
The conjugate/transpose or adjoint of the complex matrix A.
T innerProduct(const TableVector< T > &l, const TableVector< T > &r)