view kr.m @ 856:ee4cfb37534d feature/poroelastic

Merge with feature/d1_staggered to get RK timestepper for discrete data.
author Martin Almquist <malmquist@stanford.edu>
date Tue, 02 Oct 2018 13:39:10 -0700
parents 48b6fb693025
children
line wrap: on
line source

function A = kr(varargin)
    n = nargin;

    A = 1;

    for i = 1:n
        A = kron(A,varargin{i});
    end
end