Mercurial > repos > public > sbplib
comparison +time/Cdiff.m @ 179:8ca4f80fcdd3 feature/grids
Merge with default.
author | Jonatan Werpers <jonatan@werpers.com> |
---|---|
date | Mon, 29 Feb 2016 15:01:58 +0100 |
parents | 484b48e95c83 |
children | 151ab2b5a686 b5e5b195da1e |
comparison
equal
deleted
inserted
replaced
178:77e9f0a85862 | 179:8ca4f80fcdd3 |
---|---|
11 end | 11 end |
12 | 12 |
13 | 13 |
14 methods | 14 methods |
15 function obj = Cdiff(D, E, S, k, t0, n0, v, v_prev) | 15 function obj = Cdiff(D, E, S, k, t0, n0, v, v_prev) |
16 % Cdiff(D, E, S, k, t0, n0, v, v_prev) | |
16 m = size(D,1); | 17 m = size(D,1); |
17 default_arg('E',sparse(m,m)); | 18 default_arg('E',sparse(m,m)); |
18 default_arg('S',sparse(m,1)); | 19 default_arg('S',sparse(m,1)); |
19 | 20 |
20 if ~(issparse(D) && issparse(E) && issparse(S)) | 21 if ~(issparse(D) && issparse(E) && issparse(S)) |