public static Vector3D_F64 convert ( DMatrixRMaj m ) { Vector3D_F64 v = new Vector3D_F64 ( ) ; v . x = ( double ) m . data [ 0 ] ; v . y = ( double ) m . data [ 1 ] ; v . z = ( double ) m . data [ 2 ] ; return v ; }
Converts matrices into vectors . All matrices must be vectors with 3 elements .