view kr.m @ 533:06d1606d6977 feature/boundaryGroup

Factor out function for handling a single boundary condition
author Jonatan Werpers <jonatan@werpers.com>
date Thu, 03 Aug 2017 17:45:06 +0200
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