Student[LinearAlgebra]
BilinearForm
compute the general bilinear form of two Vectors relative to a Matrix
Calling Sequence
Parameters
Description
Examples
BilinearForm(U, V, A, options)
U, V
-
Vectors
A
(optional) Matrix; defines the bilinear form
options
(optional) parameters; for a complete list, see LinearAlgebra[BilinearForm]
The BilinearForm(U, V, A) command computes the product U'⁢.A.V', where U' is either U or its transpose, UT, and V' is either V or its transpose, VT, according to the following rules:
Orientation of U
Orientation of V
Result
column
UT·A·V
row
U·A·V
U·AT·VT
UT·AT·VT
Note: The orientation of V solely determines whether the Matrix A is transposed.
If the conjugate option is specified, or globally set through the SetDefault command, the rules are slightly different. See LinearAlgebra[BilinearForm] for details.
If A is omitted, then it defaults to the identity Matrix, and the bilinear form is the dot product.
The dimensions of U, V, and A must be such that the product can be formed. In particular, if A is not included in the calling sequence for bilinear form, U and V must have the same dimension.
By default in the Student[LinearAlgebra] package, complex conjugates are not used when forming dot products, including when computing bilinear forms. This behavior can be modified with the SetDefault command.
with⁡StudentLinearAlgebra:
U≔4|3|2
U≔432
V≔1,2,3,4
V≔1234
A≔1,5,w|2,6,x|3,7,y|4,8,z
A≔12345678wxyz
BilinearForm⁡U,V,A
330+2⁢w+4⁢x+6⁢y+8⁢z
See Also
LinearAlgebra[BilinearForm]
Student[LinearAlgebra][Operators]
Student[LinearAlgebra][SetDefault]
Download Help Document