|
Matrix3x3CreateDiagonal Method
|
Creates a diagonal matrix using the specified vector as diagonal elements.
Namespace:
Accord.Math
Assembly:
Accord.Math (in Accord.Math.dll) Version: 3.8.0
Syntax public static Matrix3x3 CreateDiagonal(
Vector3 vector
)
Public Shared Function CreateDiagonal (
vector As Vector3
) As Matrix3x3
Request Example
View SourceParameters
- vector
- Type: Accord.MathVector3
Vector to use for diagonal elements of the matrix.
Return Value
Type:
Matrix3x3Returns a diagonal matrix.
See Also