The left most dimension of an array, matrix, ... , does not need to be specified in a function, so you could use:
double innerProduct(double vectorA[], double vectorB[], int dim)
{
/* ... */...
Type: Posts; User: rcgldr
The left most dimension of an array, matrix, ... , does not need to be specified in a function, so you could use:
double innerProduct(double vectorA[], double vectorB[], int dim)
{
/* ... */...