Matrix3By3DiagonalMatrix Method (UnitCartesian) |
Forms a diagonal matrix from the input unit vector.
Namespace:
AGI.Foundation.Coordinates
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public static Matrix3By3 DiagonalMatrix(
UnitCartesian vector
)
Public Shared Function DiagonalMatrix (
vector As UnitCartesian
) As Matrix3By3
public:
static Matrix3By3 DiagonalMatrix(
UnitCartesian vector
)
static member DiagonalMatrix :
vector : UnitCartesian -> Matrix3By3
Parameters
- vector
- Type: AGI.Foundation.CoordinatesUnitCartesian
The vector.
Return Value
Type:
Matrix3By3The diagonal matrix.
See Also