Mercurial > repos > public > sbplib
view mononomial.m @ 761:8ed102db8e9c feature/d1_staggered
Add discont interface in 1D acoustics staggered, using the hat variable interface coupling.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Mon, 18 Jun 2018 16:36:24 -0700 |
parents | 184833fe4c0e |
children | 0090a86d8b72 |
line wrap: on
line source
function y = mononomial(x, k) if k < 0 y = x*0; return end y = x.^k/factorial(k); end