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
Post a Comment