Navigation

Operators and Keywords

Function List:

C++ API

 Sparse operator shifting a field in a given dimension.

 function S = sparse_shift(sz1,m,cyclic)

 Sparse operator shifting a field in the dimension m. The field is a 
 "collapsed" matrix of the size sz1.

 Input:
   sz1: size of rhs
   m: dimension to shift
   cyclic: true if domain is cyclic along dimension m. False is the
     default value

Package: divand