TouchPanels/Algorithms/LeastSquaresAdjustment.cs
/// <summary>
/// Creates an n x m matrix of doubles
/// </summary>
/// <param name="n">width of matrix</param>
/// <param name="m">height of matrix</param>
/// <returns>n*m matrix</returns>
Creates an n x m matrix of doubles
Creates an n x m matrix of doubles
private static double[][] CreateMatrix(int n, int m) 
		{
			double[][] N = new double[n][];
			for(int i=0;i<n;i++) 
			{
				N[i] = new double[m];
			}
			return N;
		}
private static double [ ] [ ] CreateMatrix ( int n , int m ) { double [ ] [ ] N = new double [ n ] [ ] ; for ( int i = 0 ; i < n ; i ++ ) { N [ i ] = new double [ m ] ; } return N ; }
Creates an n x m matrix of doubles
Creates an n x m matrix of doubles
None
n
int
width of matrix
width of matrix
m
int
height of matrix
height of matrix