QuadraticForm(n, K)ΒΆ
clifford.spad line 18 [edit on github]
K: Field
This domain provides modest support for quadratic forms.
- 0: %
from AbelianMonoid
- *: (Integer, %) -> %
from AbelianGroup
- *: (NonNegativeInteger, %) -> %
from AbelianMonoid
- *: (PositiveInteger, %) -> %
from AbelianSemiGroup
- +: (%, %) -> %
from AbelianSemiGroup
- -: % -> %
from AbelianGroup
- -: (%, %) -> %
from AbelianGroup
- coerce: % -> OutputForm
from CoercibleTo OutputForm
- convert: % -> InputForm if SquareMatrix(n, K) has ConvertibleTo InputForm
from ConvertibleTo InputForm
- elt: (%, DirectProduct(n, K)) -> K
elt(qf, v)
evaluates the quadratic formqf
on the vectorv
, producing a scalar.
- latex: % -> String
from SetCategory
- matrix: % -> SquareMatrix(n, K)
matrix(qf)
creates a square matrix from the quadratic formqf
.
- opposite?: (%, %) -> Boolean
from AbelianMonoid
- quadraticForm: SquareMatrix(n, K) -> %
quadraticForm(m)
creates a quadratic form from a symmetric, square matrixm
.
- sample: %
from AbelianMonoid
- subtractIfCan: (%, %) -> Union(%, failed)
- zero?: % -> Boolean
from AbelianMonoid
ConvertibleTo InputForm if SquareMatrix(n, K) has ConvertibleTo InputForm