Click or drag to resize

Basis Class

Represents a basis for finite dimensional real vector spaces.
Inheritance Hierarchy
SystemObject
  Novacta.Analytics.AdvancedBasis

Namespace:  Novacta.Analytics.Advanced
Assembly:  Novacta.Analytics (in Novacta.Analytics.dll) Version: 2.0.0
Syntax
public class Basis

The Basis type exposes the following members.

Constructors
  NameDescription
Public methodBasis
Initializes a new instance of the Basis class.
Top
Properties
  NameDescription
Public propertyDimension
Gets the dimension of the Basis.
Top
Methods
  NameDescription
Public methodStatic memberChangeCoordinates
Gets coordinates of vectors with respect to a new basis given the coordinates with respect to another basis.
Public methodDistance
Computes the distance between vectors having the specified coordinates.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetBasisMatrix
Gets the matrix representation of the Basis.
Public methodGetCoordinates
Gets the coordinates of the given vectors with respect to the Basis.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodGetVectors
Gets the vectors represented by the specified coordinates with respect to the Basis.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodNorm
Returns the norm of the vector having the specified coordinates.
Public methodScalarProduct
Return the scalar product of the vectors having the specified coordinates.
Public methodStatic memberStandard
Returns the standard basis of the specified dimension.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Remarks

In a finite vector space having dimension LaTeX equation, a collection LaTeX equation of LaTeX equation linearly independent vectors LaTeX equation is a basis of that space. Each basis can be represented by a matrix whose columns are given by the vectors in the basis:

LaTeX equation

The identity matrix LaTeX equation represents the standard basis of the vector space, a kind of basis which can be instantiated by calling the static method Standard. Or, given a matrix representation LaTeX equation, the corresponding Basis can be instantiated by calling its constructor. The matrix representation of an instance is returned by method GetBasisMatrix.

Vectors and coordinates

Each vector can be represented by its coordinates with respect to the Basis. You can evaluate the coordinates of a given set of vectors by calling GetCoordinates, or determine the vectors corresponding to given coordinates by calling GetVectors.

If both the coordinates of a vector and the corresponding basis representation are known, then the vector coordinates with respect to a new basis can be computed by calling the static method ChangeCoordinates.

Scalar products, norms, distances

A Basis endows a vector space with a scalar product, which in turn induces the definition of a norm for a vector and that of a distance between vectors. Such quantities can be computed by calling methods ScalarProduct, Distance, and Norm, respectively. All such functions require, as arguments, the coordinates of the vectors under study.
See Also