'Returns the gradient array.'

@property
def grad_array(self):

    if (self._tmp_grad_array is None):
        if (self.array is None):
            raise ValueError('Parameter    not    setup')
        self._tmp_grad_array = ca.zeros_like(self.array)
    return self._tmp_grad_array
