X-Git-Url: http://gitweb.michael.orlitzky.com/?p=octave.git;a=blobdiff_plain;f=c_norm.m;h=5a4fdc16419f0acb02b07357f3fc9b5b6010eb85;hp=865ff8b472a566b0dfd3f5237939b575206352ea;hb=b12c6c2a4bf4cef29b2e08b743c92889505c7ed9;hpb=e1b71b4ca7cfa08ac76744a17a3778d4ccfaa7e2 diff --git a/c_norm.m b/c_norm.m index 865ff8b..5a4fdc1 100644 --- a/c_norm.m +++ b/c_norm.m @@ -1,20 +1,20 @@ function c_norm = c_norm(w, a, b, v) - ## - ## The norm on C[a,b] induced by c_inner_product. - ## - ## INPUT: - ## - ## * ``w`` -- The weight function. - ## - ## * ``a`` -- The left endpoint of the interval. - ## - ## * ``b`` -- The right endpoint of the interval. - ## - ## * ``v`` -- The vector. - ## - ## OUTPUT: - ## - ## The norm of `v`; that is, the inner product sqrt(). - ## + % + % The norm on C[a,b] induced by c_inner_product. + % + % INPUT: + % + % * ``w`` -- The weight function. + % + % * ``a`` -- The left endpoint of the interval. + % + % * ``b`` -- The right endpoint of the interval. + % + % * ``v`` -- The vector. + % + % OUTPUT: + % + % The norm of `v`; that is, the inner product sqrt(). + % c_norm = sqrt(c_inner_product(w, a, b, v, v)); end