view examples/helloworld.cc @ 18904:9addb5ad9426

bandwidth.m: Add new function. * NEWS: Announce new function. * scripts/linear-algebra/module.mk: New function added to the build system. * scripts/help/__unimplemented__.m: New function removed from unimplemented. * scripts/linear-algebra/isbanded.m: New function added as documentation reference. * scripts/linear-algebra/isdiag.m: New function added as documentation reference. * scripts/linear-algebra/istril.m: New function added as documentation reference. * scripts/linear-algebra/istriu.m: New function added as documentation reference. * scripts/linear-algebra/bandwidth.m: New function. * linalg.txi: Add bandwidth function to manual.
author Massimiliano Fasi <massimiliano.fasi@gmail.com>
date Tue, 08 Jul 2014 12:19:37 +0200
parents 224e76250443
children
line wrap: on
line source

#include <octave/oct.h>

DEFUN_DLD (helloworld, args, nargout,
           "Hello World Help String")
{
  int nargin = args.length ();

  octave_stdout << "Hello World has "
                << nargin << " input arguments and "
                << nargout << " output arguments.\n";

  return octave_value_list ();
}