Define the vector cVec:
(all the numbers from 5 to -5 in increments of -0.2)
Using elementwise operations, calculate xVec:
copy and paste from test suite
Too bad the test suite doesn't provide some tolerance for testers wanting to precalculate the constant scalar values (e.g. 1/sqrt(...)) as 0.159576912160573.
Back to basics 11 - Max Integer
611 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
380 Solvers
243 Solvers
construct matrix with identical rows
137 Solvers
187 Solvers