00001
00002
00003
00004
00005
00006
00007
00008
00009
00010 static const char docstring[] =
00011 "znan zero out NaN's, or set to val\n"
00012 "\n"
00013 " y=znan(x,val,pattern)\n"
00014 " * Sets y = x, except where pattern = NaN. In these places, y is\n"
00015 " set to val. It is equavalent to:\n"
00016 " y = x;\n"
00017 " y(isnan(pattern)) = val;\n"
00018 " * If pattern is not given, it is taken to be x itself, which has\n"
00019 " the effect of zeroing out the NaN's in x.\n"
00020 "\n"
00021 " Inputs:\n"
00022 " real x(m,n);\n"
00023 " opt real val = 0.0;\n"
00024 " opt real pattern(m,n) = x;\n"
00025 "\n"
00026 " Outputs:\n"
00027 " real y(m,n);\n"
00028 "\n"
00029 " See Also: isnan\n"
00030 "\n"
00031 "";
00032
00033
00034