Mercurial > repos > public > sbplib
view mononomial.m @ 758:0ef96fcdc028 feature/d1_staggered
Merge with feature grids.
author | Martin Almquist <malmquist@stanford.edu> |
---|---|
date | Sun, 17 Jun 2018 15:29:46 -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