clen method

int clen(
  1. List<int> cf,
  2. List<int> cl
)

Implementation

int clen(List<int> cf, List<int> cl) {
  int l = 0;
  for (int i = 0; i < cl.length; ++i){
    l += cf[i] * cl[i];
  }
  return l;
}