Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
lis_array_matvec(3)	      Lis Library Functions	     lis_array_matvec(3)

NAME
     lis_array_matvec - calculate the matrix vector product

SYNOPSIS
     #include "lis.h"

     LIS_INT   lis_array_matvec(LIS_INT   n,  LIS_SCALAR  a[],	LIS_SCALAR  x[],
     LIS_SCALAR y[], LIS_INT op);

DESCRIPTION
     Calculate the matrix-vector product Ax.

INPUT
     n	    The size of the matrix and vectors

     a	    The array that stores matrix A of size n * n

     x	    The array that stores vector x of size n

     y	    The array that stores vector y of size n

     op

	    LIS_INS_VALUE
		   y = Ax

	    LIS_SUB_VALUE
		   y = y - Ax

OUTPUT
     y	    y

EXIT STATUS
     The following exit values are returned:

     0	    The process is normally terminated

     unspecified
	    An error occurred

SEE ALSO
     lis(3)

     http://www.ssisc.org/lis/

Man Page			   3 Dec 2014		     lis_array_matvec(3)

Want to link to this manual page? Use this URL:
<https://man.freebsd.org/cgi/man.cgi?query=lis_array_matvec&sektion=3&manpath=FreeBSD+Ports+15.1.quarterly>

home | help