diff libinterp/corefcn/sparse-xdiv.cc @ 23433:c9fab0bc983e

maint: Use convention 'int& x' for naming references. * ButtonGroup.cc, Canvas.cc, Canvas.h, annotation-dialog.cc, annotation-dialog.h, dialog.h, documentation-dock-widget.cc, files-dock-widget.cc, files-dock-widget.h, find-files-dialog.cc, find-files-dialog.h, find-files-model.cc, find-files-model.h, history-dock-widget.cc, history-dock-widget.h, file-editor-tab.cc, file-editor-tab.h, file-editor.cc, file-editor.h, main-window.cc, main-window.h, octave-qt-link.h, parser.cc, parser.h, webinfo.cc, webinfo.h, settings-dialog.cc, bsxfun.cc, call-stack.cc, call-stack.h, fft.cc, fft2.cc, fftn.cc, gl-render.cc, graphics.cc, graphics.in.h, input.cc, load-save.cc, ls-hdf5.cc, ls-hdf5.h, octave-link.h, pr-output.cc, regexp.cc, sparse-xdiv.cc, sparse-xdiv.h, symtab.cc, xdiv.cc, xdiv.h, zfstream.h, __eigs__.cc, __ode15__.cc, ov-base.h, ov-builtin.cc, ov-cx-sparse.h, ov-fcn-handle.cc, ov-fcn-handle.h, ov.cc, ov.h, jit-ir.h, jit-typeinfo.cc, jit-typeinfo.h, pt-jit.cc, pt-jit.h, CMatrix.cc, CMatrix.h, CSparse.cc, CSparse.h, MatrixType.cc, MatrixType.h, dDiagMatrix.cc, dMatrix.cc, dMatrix.h, dSparse.cc, dSparse.h, fCMatrix.cc, fCMatrix.h, fDiagMatrix.cc, fMatrix.cc, fMatrix.h, eigs-base.cc, oct-fftw.cc, oct-rand.h, sparse-dmsolve.cc, kpse.cc, lo-regexp.h: Use convention 'int& x' for naming references.
author Rik <rik@octave.org>
date Mon, 24 Apr 2017 17:20:37 -0700
parents 092078913d54
children 8057d3f0673d
line wrap: on
line diff
--- a/libinterp/corefcn/sparse-xdiv.cc	Mon Apr 24 14:38:34 2017 -0700
+++ b/libinterp/corefcn/sparse-xdiv.cc	Mon Apr 24 17:20:37 2017 -0700
@@ -130,7 +130,7 @@
 
 // -*- 1 -*-
 Matrix
-xdiv (const Matrix& a, const SparseMatrix& b, MatrixType &typ)
+xdiv (const Matrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return Matrix ();
@@ -150,7 +150,7 @@
 
 // -*- 2 -*-
 ComplexMatrix
-xdiv (const Matrix& a, const SparseComplexMatrix& b, MatrixType &typ)
+xdiv (const Matrix& a, const SparseComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return ComplexMatrix ();
@@ -170,7 +170,7 @@
 
 // -*- 3 -*-
 ComplexMatrix
-xdiv (const ComplexMatrix& a, const SparseMatrix& b, MatrixType &typ)
+xdiv (const ComplexMatrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return ComplexMatrix ();
@@ -190,7 +190,7 @@
 
 // -*- 4 -*-
 ComplexMatrix
-xdiv (const ComplexMatrix& a, const SparseComplexMatrix& b, MatrixType &typ)
+xdiv (const ComplexMatrix& a, const SparseComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return ComplexMatrix ();
@@ -210,7 +210,7 @@
 
 // -*- 5 -*-
 SparseMatrix
-xdiv (const SparseMatrix& a, const SparseMatrix& b, MatrixType &typ)
+xdiv (const SparseMatrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return SparseMatrix ();
@@ -230,7 +230,7 @@
 
 // -*- 6 -*-
 SparseComplexMatrix
-xdiv (const SparseMatrix& a, const SparseComplexMatrix& b, MatrixType &typ)
+xdiv (const SparseMatrix& a, const SparseComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return SparseComplexMatrix ();
@@ -250,7 +250,7 @@
 
 // -*- 7 -*-
 SparseComplexMatrix
-xdiv (const SparseComplexMatrix& a, const SparseMatrix& b, MatrixType &typ)
+xdiv (const SparseComplexMatrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return SparseComplexMatrix ();
@@ -271,7 +271,7 @@
 // -*- 8 -*-
 SparseComplexMatrix
 xdiv (const SparseComplexMatrix& a, const SparseComplexMatrix& b,
-      MatrixType &typ)
+      MatrixType& typ)
 {
   if (! mx_div_conform (a, b))
     return SparseComplexMatrix ();
@@ -461,7 +461,7 @@
 
 // -*- 1 -*-
 Matrix
-xleftdiv (const SparseMatrix& a, const Matrix& b, MatrixType &typ)
+xleftdiv (const SparseMatrix& a, const Matrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return Matrix ();
@@ -473,7 +473,7 @@
 
 // -*- 2 -*-
 ComplexMatrix
-xleftdiv (const SparseMatrix& a, const ComplexMatrix& b, MatrixType &typ)
+xleftdiv (const SparseMatrix& a, const ComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return ComplexMatrix ();
@@ -485,7 +485,7 @@
 
 // -*- 3 -*-
 SparseMatrix
-xleftdiv (const SparseMatrix& a, const SparseMatrix& b, MatrixType &typ)
+xleftdiv (const SparseMatrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return SparseMatrix ();
@@ -497,7 +497,7 @@
 
 // -*- 4 -*-
 SparseComplexMatrix
-xleftdiv (const SparseMatrix& a, const SparseComplexMatrix& b, MatrixType &typ)
+xleftdiv (const SparseMatrix& a, const SparseComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return SparseComplexMatrix ();
@@ -509,7 +509,7 @@
 
 // -*- 5 -*-
 ComplexMatrix
-xleftdiv (const SparseComplexMatrix& a, const Matrix& b, MatrixType &typ)
+xleftdiv (const SparseComplexMatrix& a, const Matrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return ComplexMatrix ();
@@ -521,7 +521,7 @@
 
 // -*- 6 -*-
 ComplexMatrix
-xleftdiv (const SparseComplexMatrix& a, const ComplexMatrix& b, MatrixType &typ)
+xleftdiv (const SparseComplexMatrix& a, const ComplexMatrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return ComplexMatrix ();
@@ -533,7 +533,7 @@
 
 // -*- 7 -*-
 SparseComplexMatrix
-xleftdiv (const SparseComplexMatrix& a, const SparseMatrix& b, MatrixType &typ)
+xleftdiv (const SparseComplexMatrix& a, const SparseMatrix& b, MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return SparseComplexMatrix ();
@@ -546,7 +546,7 @@
 // -*- 8 -*-
 SparseComplexMatrix
 xleftdiv (const SparseComplexMatrix& a, const SparseComplexMatrix& b,
-          MatrixType &typ)
+          MatrixType& typ)
 {
   if (! mx_leftdiv_conform (a, b))
     return SparseComplexMatrix ();