comparison scripts/general/bitcmp.m @ 5307:4c8a2e4e0717

[project @ 2005-04-26 19:24:27 by jwe]
author jwe
date Tue, 26 Apr 2005 19:24:47 +0000
parents c08cb1098afc
children 2618a0750ae6
comparison
equal deleted inserted replaced
5306:63cf9851f55c 5307:4c8a2e4e0717
10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 10 ## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 ## GNU General Public License for more details. 11 ## GNU General Public License for more details.
12 ## 12 ##
13 ## You should have received a copy of the GNU General Public License 13 ## You should have received a copy of the GNU General Public License
14 ## along with this program; if not, write to the Free Software 14 ## along with this program; if not, write to the Free Software
15 ## Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 15 ## Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
16 ## 02110-1301 USA
16 17
17 ## -*- texinfo -*- 18 ## -*- texinfo -*-
18 ## @deftypefn {Function File} {@var{X} =} bitcmp (@var{a},@var{k}) 19 ## @deftypefn {Function File} {@var{X} =} bitcmp (@var{a},@var{k})
19 ## Return the @var{k}-bit complement of integers in @var{a}. If 20 ## Return the @var{k}-bit complement of integers in @var{a}. If
20 ## @var{k} is omitted @code{k = log2(bitmax) + 1} is assumed. 21 ## @var{k} is omitted @code{k = log2(bitmax) + 1} is assumed.