This project has moved and is read-only. For the latest updates, please go here.

Dense Matrix Clone and operator=

Jun 13, 2012 at 6:03 PM



how can I do this:


D = gcnew DenseMatrix( Convert::ToInt32( N ), Convert::ToInt32( N ) ); 

DenseMatrix^ dummy_1 = D->Clone(); 


Your Linear Algebra has no Clone() ? and where is "operator="



Jul 14, 2012 at 9:33 AM

Actually DenseMatrix does have both Clone() and CopyTo() methods. Of course you can also access the inner array directly (.Data member and ctor overload).