Accord.Math.Matrix3x3.CreateFromRows C# (CSharp) Method

CreateFromRows() public static method

Creates a matrix from 3 rows specified as vectors.
public static CreateFromRows ( Vector3 row0, Vector3 row1, Vector3 row2 ) : Matrix3x3
row0 Vector3 First row of the matrix to create.
row1 Vector3 Second row of the matrix to create.
row2 Vector3 Third row of the matrix to create.
return Matrix3x3
        public static Matrix3x3 CreateFromRows( Vector3 row0, Vector3 row1, Vector3 row2 )
        {
            Matrix3x3 m = new Matrix3x3( );

            m.V00 = row0.X;
            m.V01 = row0.Y;
            m.V02 = row0.Z;

            m.V10 = row1.X;
            m.V11 = row1.Y;
            m.V12 = row1.Z;

            m.V20 = row2.X;
            m.V21 = row2.Y;
            m.V22 = row2.Z;

            return m;
        }