compute an orthogonal set of Vectors
GramSchmidt(V, c, n, options)
list or set of Vector(s)
(optional) equation of the form conjugate=true or false
(optional) equation of the form normalized=true or false
(optional); constructor options for the result object
The GramSchmidt(V) function computes a list or set of orthogonal Vectors by using the Gram-Schmidt orthogonalization process. If V is an empty list or set, GramSchmidt(V) returns an empty list or set, respectively.
The number of Vectors returned is the dimension of the vector space spanned by V. In particular, if the Vectors in V are not linearly independent, fewer Vectors than the number in V are returned.
The dimension and orientation of all Vectors in V must be the same.
The conjugate option (c) is true by default. If conjugate=false is included in the calling sequence, the elements of the second Vector are not conjugated in the dot product calculations.
The condition conjugate=true can be abbreviated to conjugate.
The normalized option (n) is false by default. If normalized=true is included in the calling sequence, this function returns an orthonormal list or set of Vectors.
The condition normalized=true can be abbreviated to normalized.
The constructor options provide additional information (readonly, shape, storage, order, datatype, and attributes) to the Vector constructor that builds the result. These options may also be provided in the form outputoptions=[...], where [...] represents a Maple list. If a constructor option is provided in both the calling sequence directly and in an outputoptions option, the latter takes precedence (regardless of the order). If constructor options are specified in the calling sequence, each resulting Vector has the same specified options.
This function is part of the LinearAlgebra package, and so it can be used in the form GramSchmidt(..) only after executing the command with(LinearAlgebra). However, it can always be accessed through the long form of the command by using LinearAlgebra[GramSchmidt](..).
Download Help Document
What kind of issue would you like to report? (Optional)