Skip to content

Instantly share code, notes, and snippets.

View rpower's full-sized avatar

Rolfe J Power rpower

View GitHub Profile
@rpower
rpower / rowVersusColumnBenchmark.m
Created September 27, 2022 18:42
Row versus column benchmark
function [rowTime, colTime] = rowVersusColumnBenchmark(n, m)
massRatio = 0.012;
rng(10)
states = rand(n, 6);
tic()
for k = 1:m
pp = pseudopotentialRowStates(massRatio, states);
end