view pointIndex.m @ 983:b89379fb0814 feature/timesteppers

Convert Rungekutta4 to take F(t,y) instead of a matrix
author Jonatan Werpers <jonatan@werpers.com>
date Tue, 08 Jan 2019 12:07:57 +0100
parents bb079b39a7bb
children
line wrap: on
line source

% Get the index of the points p within the tall array of points ps
function [I, ok] = pointIndex(p, ps)
    [ok, I] = ismember(p,  ps, 'rows');
end