gramSchmidt#

swordfish.function.gramSchmidt()#

This function converts a matrix of full column rank into an orthogonal matrix.

Parameters:
  • X (Constant) – A matrix where each column (as a vector) is linearly independent, i.e., the matrix has column full rank. It cannot contain any null values.

  • normalize (Constant, optional) – A Boolean value indicating whether to output a normalized orthogonal matrix. The default value is false.

Returns:

A matrix of DOUBLE type.

Return type:

Constant