c# - converting type double[][] to float -


i have function signature like:

static public double[][] g2sweep(int row1, int row2, double[][] mtx) {     mtx = (float) mtx; } 

but need covert double[][] matrix float values. how done code can't explicitly convert it?

no, can't convert double float in place, arrays. need create copy correct type.


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -