Mercurial > octave
comparison libinterp/dldfcn/chol.cc @ 21568:3d60ed163b70
maint: Eliminate bad spacing around '='.
* Figure.h, PopupMenuControl.cc, annotation-dialog.cc, gl-select.h,
files-dock-widget.cc, find-files-dialog.cc, history-dock-widget.cc,
file-editor.cc, main-window.cc, webinfo.cc, resource-manager.cc,
shortcut-manager.cc, workspace-view.cc, __ichol__.cc, __ilu__.cc,
__lin_interpn__.cc, bitfcns.cc, debug.cc, filter.cc, ft-text-renderer.cc,
graphics.cc, graphics.in.h, hex2num.cc, jit-typeinfo.cc, load-save.cc,
ls-mat5.cc, mxarray.in.h, oct-stream.cc, pr-output.cc, variables.cc,
__init_fltk__.cc, __magick_read__.cc, chol.cc, ov-struct.cc, op-scm-cs.cc,
pt-assign.cc, CollocWt.cc, randpoisson.c, inputParser.m, quadgk.m, waitbar.m,
imwrite.m, __imread__.m, textread.m, fileattrib.m, __xzip__.m, what.m,
fsolve.m, fix_depends.m, stemleaf.m, bicgstab.m, ichol.m, io.tst:
maint: Eliminate bad spacing around '='.
author | Rik <rik@octave.org> |
---|---|
date | Wed, 30 Mar 2016 22:09:26 -0700 |
parents | ad0599a0acc6 |
children | 54fa4dcba730 |
comparison
equal
deleted
inserted
replaced
21567:3d25f9f4a62b | 21568:3d60ed163b70 |
---|---|
916 %! cu = chol (triu (A), "upper"); | 916 %! cu = chol (triu (A), "upper"); |
917 %! cl = chol (tril (A), "lower"); | 917 %! cl = chol (tril (A), "lower"); |
918 %! assert (cu, cl', eps); | 918 %! assert (cu, cl', eps); |
919 | 919 |
920 %!test | 920 %!test |
921 %! cca = chol (Ac); | 921 %! cca = chol (Ac); |
922 %! | 922 %! |
923 %! ccal = chol (Ac, "lower"); | 923 %! ccal = chol (Ac, "lower"); |
924 %! ccal2 = chol (tril (Ac), "lower"); | 924 %! ccal2 = chol (tril (Ac), "lower"); |
925 %! | 925 %! |
926 %! ccau = chol (Ac, "upper"); | 926 %! ccau = chol (Ac, "upper"); |
934 %! assert (cca, ccau, eps); | 934 %! assert (cca, ccau, eps); |
935 %! assert (cca, ccal2', eps); | 935 %! assert (cca, ccal2', eps); |
936 %! assert (cca, ccau2, eps); | 936 %! assert (cca, ccau2, eps); |
937 | 937 |
938 %!test | 938 %!test |
939 %! cca = chol (single (Ac)); | 939 %! cca = chol (single (Ac)); |
940 %! | 940 %! |
941 %! ccal = chol (single (Ac), "lower"); | 941 %! ccal = chol (single (Ac), "lower"); |
942 %! ccal2 = chol (tril (single (Ac)), "lower"); | 942 %! ccal2 = chol (tril (single (Ac)), "lower"); |
943 %! | 943 %! |
944 %! ccau = chol (single (Ac), "upper"); | 944 %! ccau = chol (single (Ac), "upper"); |
964 %! -2, -1, 0, 1; | 964 %! -2, -1, 0, 1; |
965 %! -3, -2, -1, 0]; | 965 %! -3, -2, -1, 0]; |
966 %! | 966 %! |
967 %! ca = a + i*b; | 967 %! ca = a + i*b; |
968 %! | 968 %! |
969 %! cca = chol (ca); | 969 %! cca = chol (ca); |
970 %! | 970 %! |
971 %! ccal = chol (ca, "lower"); | 971 %! ccal = chol (ca, "lower"); |
972 %! ccal2 = chol (tril (ca), "lower"); | 972 %! ccal2 = chol (tril (ca), "lower"); |
973 %! | 973 %! |
974 %! ccau = chol (ca, "upper"); | 974 %! ccau = chol (ca, "upper"); |